From dd386213526afdfe1360d57d1dc5f95de1f05793 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 17 Jan 2015 23:29:46 -0800 Subject: [PATCH] Frontend: show message if no states --- homeassistant/components/http/frontend.py | 2 +- .../components/http/www_static/frontend.html | 6 +++++- .../http/www_static/polymer/cards/state-card.html | 1 - .../polymer/components/state-cards.html | 15 +++++++++++++++ .../www_static/polymer/home-assistant-main.html | 10 +++++++++- 5 files changed, 30 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index f2c3eaafad7..48100f97ac7 100644 --- a/homeassistant/components/http/frontend.py +++ b/homeassistant/components/http/frontend.py @@ -1,2 +1,2 @@ """ DO NOT MODIFY. Auto-generated by build_frontend script """ -VERSION = "a82c6e4bf6b91042a6e891d46464275d" +VERSION = "951c0a4e0adb70ec1f0f7e4c76955ed9" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index 5bf747f031e..273f01f46bb 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -60,7 +60,11 @@ if(this.removeAttribute(a),d)return j(this,a,c);var e=c,f=m(this,a,e);return j(t {{stateObj.stateDisplay}}
Currently: {{stateObj.attributes.current_temperature}} {{stateObj.attributes.unit_of_measurement}} -
+