From 4233c0bc66475417bd2d3602b9f255a8a6d04ad6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 25 Jan 2016 22:47:13 -0800 Subject: [PATCH] Update frontend with view url sync --- homeassistant/components/frontend/__init__.py | 4 +++- homeassistant/components/frontend/version.py | 2 +- .../frontend/www_static/frontend.html | 18 +++++++++--------- .../frontend/www_static/home-assistant-polymer | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 98f0435e9f3..06438c02140 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,7 +21,9 @@ _LOGGER = logging.getLogger(__name__) FRONTEND_URLS = [ URL_ROOT, '/logbook', '/history', '/map', '/devService', '/devState', - '/devEvent', '/devInfo', '/devTemplate', '/states'] + '/devEvent', '/devInfo', '/devTemplate', + re.compile(r'/states(/([a-zA-Z\._\-0-9/]+)|)'), +] _FINGERPRINT = re.compile(r'^(\w+)-[a-z0-9]{32}\.(\w+)$', re.IGNORECASE) diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py index 7915475d79c..3174ac3b113 100644 --- a/homeassistant/components/frontend/version.py +++ b/homeassistant/components/frontend/version.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "faf06b8c623bb70b632da9b3282a228f" +VERSION = "d3490eb2c77bfe127e09c8c1ad148580" diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html index 701f2ae3bd9..1328c5aae56 100644 --- a/homeassistant/components/frontend/www_static/frontend.html +++ b/homeassistant/components/frontend/www_static/frontend.html @@ -6268,16 +6268,16 @@ case"touchend":return this.addPointerListenerEnd(t,e,i,n);case"touchmove":return .dev-tools { padding: 0 8px; - } \ No newline at end of file + } \ No newline at end of file diff --git a/homeassistant/components/frontend/www_static/home-assistant-polymer b/homeassistant/components/frontend/www_static/home-assistant-polymer index 917f9d8519c..8524390ae5b 160000 --- a/homeassistant/components/frontend/www_static/home-assistant-polymer +++ b/homeassistant/components/frontend/www_static/home-assistant-polymer @@ -1 +1 @@ -Subproject commit 917f9d8519c8510febe4fec28fa706c9b1a7754a +Subproject commit 8524390ae5b6a28f9bf3472cd9643765de7a3425