+
[[stateObj.stateDisplay]]
-
-
-
-
- {{stateObj.stateDisplay}}
-
-
-
- Currently: {{stateObj.attributes.current_temperature}} {{stateObj.attributes.unit_of_measurement}}
+
+ Currently:
+ [[stateObj.attributes.current_temperature]]
+
+ [[stateObj.attributes.unit_of_measurement]]
+
-
-
+
+
+
-
diff --git a/homeassistant/components/frontend/www_static/polymer/cards/state-card-toggle.html b/homeassistant/components/frontend/www_static/polymer/cards/state-card-toggle.html
index fc4eb895e23..44635db0d8c 100755
--- a/homeassistant/components/frontend/www_static/polymer/cards/state-card-toggle.html
+++ b/homeassistant/components/frontend/www_static/polymer/cards/state-card-toggle.html
@@ -1,36 +1,45 @@
-
-
+
-
+
+
-
-
-
+})();
+
diff --git a/homeassistant/components/frontend/www_static/polymer/layouts/partial-states.html b/homeassistant/components/frontend/www_static/polymer/layouts/partial-states.html
index 5bc632dc981..6f937b5ed59 100644
--- a/homeassistant/components/frontend/www_static/polymer/layouts/partial-states.html
+++ b/homeassistant/components/frontend/www_static/polymer/layouts/partial-states.html
@@ -34,8 +34,6 @@
-
-
{{headerTitle}}
@@ -207,7 +205,7 @@
return !(state.domain in uiConstants.STATE_FILTERS);
});
}
-
+
this.states = states.toArray().filter(
function (el) {return !el.attributes.hidden;});
},
diff --git a/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-js.html b/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-js.html
index b44d49f14f5..e12d46ecb6d 100644
--- a/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-js.html
+++ b/homeassistant/components/frontend/www_static/polymer/resources/home-assistant-js.html
@@ -12,7 +12,7 @@
// how to render the card for this state
cardType: {
get: function() {
- console.warning('Deprecated method. Please use hass.uiUtil.stateCardType');
+ console.warn('Deprecated method. Please use hass.uiUtil.stateCardType');
return window.hass.uiUtil.stateCardType(this);
}
},
@@ -20,7 +20,7 @@
// how to render the more info of this state
moreInfoType: {
get: function() {
- console.warning('Deprecated method. Please use hass.uiUtil.stateMoreInfoType');
+ console.warn('Deprecated method. Please use hass.uiUtil.stateMoreInfoType');
return window.hass.uiUtil.stateMoreInfoType(this);
}
},