From 3e4c0261b14065a7d186400a23ead036bc3ab5cc Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 14 Jan 2015 23:10:56 -0800 Subject: [PATCH] Conditionally show widgets on light more info --- homeassistant/components/http/frontend.py | 2 +- .../components/http/www_static/frontend.html | 10 +++--- .../polymer/dialogs/more-info-dialog.html | 22 +++++++++++- .../polymer/more-infos/more-info-content.html | 18 ++++++++-- .../polymer/more-infos/more-info-light.html | 34 +++++++++++++++---- 5 files changed, 70 insertions(+), 16 deletions(-) diff --git a/homeassistant/components/http/frontend.py b/homeassistant/components/http/frontend.py index a7e66f2c3ea..eed82d53213 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 = "b32ea78a1157b29555410384fe251dc9" +VERSION = "1da0ea4a1fbd7b74cf749841b86bbb2d" diff --git a/homeassistant/components/http/www_static/frontend.html b/homeassistant/components/http/www_static/frontend.html index 5bcdce08fea..d13ca98fcde 100644 --- a/homeassistant/components/http/www_static/frontend.html +++ b/homeassistant/components/http/www_static/frontend.html @@ -60,15 +60,17 @@ 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}} -
+ +