From 2ee62b10bc3c51e642cb8ec2fe5e044b23c0fa46 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 10 Jul 2018 12:01:52 +0200 Subject: [PATCH] Bump frontend to 20180710.0 --- homeassistant/components/frontend/__init__.py | 6 ++++-- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 3080177ba38c4b..0fa9f90805d0d9 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -26,7 +26,7 @@ from homeassistant.loader import bind_hass from homeassistant.util.yaml import load_yaml -REQUIREMENTS = ['home-assistant-frontend==20180709.0'] +REQUIREMENTS = ['home-assistant-frontend==20180710.0'] DOMAIN = 'frontend' DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log'] @@ -382,6 +382,8 @@ async def get(self, request, extra=None): # do not try to auto connect on load no_auth = '0' + use_oauth = '1' if self.auth_active else '0' + template = await hass.async_add_job(self.get_template, latest) extra_key = DATA_EXTRA_HTML_URL if latest else DATA_EXTRA_HTML_URL_ES5 @@ -390,7 +392,7 @@ async def get(self, request, extra=None): no_auth=no_auth, theme_color=MANIFEST_JSON['theme_color'], extra_urls=hass.data[extra_key], - client_id=self.auth_active + use_oauth=use_oauth ) return web.Response(text=template.render(**template_params), diff --git a/requirements_all.txt b/requirements_all.txt index 0e221c436cd78f..3f0d3f8314ab29 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -415,7 +415,7 @@ hole==0.3.0 holidays==0.9.5 # homeassistant.components.frontend -home-assistant-frontend==20180709.0 +home-assistant-frontend==20180710.0 # homeassistant.components.homekit_controller # homekit==0.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 6f88c4b26ed4ba..1daaa106e99549 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -81,7 +81,7 @@ hbmqtt==0.9.2 holidays==0.9.5 # homeassistant.components.frontend -home-assistant-frontend==20180709.0 +home-assistant-frontend==20180710.0 # homeassistant.components.homematicip_cloud homematicip==0.9.6