Bump frontend to 20180710.0
This commit is contained in:
parent
dbdd0a1f56
commit
2ee62b10bc
3 changed files with 6 additions and 4 deletions
|
@ -26,7 +26,7 @@ from homeassistant.helpers.translation import async_get_translations
|
||||||
from homeassistant.loader import bind_hass
|
from homeassistant.loader import bind_hass
|
||||||
from homeassistant.util.yaml import load_yaml
|
from homeassistant.util.yaml import load_yaml
|
||||||
|
|
||||||
REQUIREMENTS = ['home-assistant-frontend==20180709.0']
|
REQUIREMENTS = ['home-assistant-frontend==20180710.0']
|
||||||
|
|
||||||
DOMAIN = 'frontend'
|
DOMAIN = 'frontend'
|
||||||
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log']
|
DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log']
|
||||||
|
@ -382,6 +382,8 @@ class IndexView(HomeAssistantView):
|
||||||
# do not try to auto connect on load
|
# do not try to auto connect on load
|
||||||
no_auth = '0'
|
no_auth = '0'
|
||||||
|
|
||||||
|
use_oauth = '1' if self.auth_active else '0'
|
||||||
|
|
||||||
template = await hass.async_add_job(self.get_template, latest)
|
template = await hass.async_add_job(self.get_template, latest)
|
||||||
|
|
||||||
extra_key = DATA_EXTRA_HTML_URL if latest else DATA_EXTRA_HTML_URL_ES5
|
extra_key = DATA_EXTRA_HTML_URL if latest else DATA_EXTRA_HTML_URL_ES5
|
||||||
|
@ -390,7 +392,7 @@ class IndexView(HomeAssistantView):
|
||||||
no_auth=no_auth,
|
no_auth=no_auth,
|
||||||
theme_color=MANIFEST_JSON['theme_color'],
|
theme_color=MANIFEST_JSON['theme_color'],
|
||||||
extra_urls=hass.data[extra_key],
|
extra_urls=hass.data[extra_key],
|
||||||
client_id=self.auth_active
|
use_oauth=use_oauth
|
||||||
)
|
)
|
||||||
|
|
||||||
return web.Response(text=template.render(**template_params),
|
return web.Response(text=template.render(**template_params),
|
||||||
|
|
|
@ -415,7 +415,7 @@ hole==0.3.0
|
||||||
holidays==0.9.5
|
holidays==0.9.5
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20180709.0
|
home-assistant-frontend==20180710.0
|
||||||
|
|
||||||
# homeassistant.components.homekit_controller
|
# homeassistant.components.homekit_controller
|
||||||
# homekit==0.6
|
# homekit==0.6
|
||||||
|
|
|
@ -81,7 +81,7 @@ hbmqtt==0.9.2
|
||||||
holidays==0.9.5
|
holidays==0.9.5
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20180709.0
|
home-assistant-frontend==20180710.0
|
||||||
|
|
||||||
# homeassistant.components.homematicip_cloud
|
# homeassistant.components.homematicip_cloud
|
||||||
homematicip==0.9.6
|
homematicip==0.9.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue