From 7a3c3bcf8eeb9954a8b6f0bc38d6856dc215c6ae Mon Sep 17 00:00:00 2001 From: andrey-git Date: Wed, 29 Nov 2017 19:35:19 +0200 Subject: [PATCH] Serve latest extra_html in dev mode --- homeassistant/components/frontend/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 74090c7810723c..00e7e0827089bc 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -476,7 +476,8 @@ def get_template(self, latest): def get(self, request, extra=None): """Serve the index view.""" hass = request.app['hass'] - latest = _is_latest(self.js_option, request) + latest = self.repo_path is not None or \ + _is_latest(self.js_option, request) if request.path == '/': panel = 'states'