diff --git a/homeassistant/components/frontend/version.py b/homeassistant/components/frontend/version.py index 2af8235ef1b..db16a04a72b 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 = "3822abfa5abb0a8d60ddf434a2f341d5" +VERSION = "f580c3369e5a44f71d3304dc0939ddd1" diff --git a/homeassistant/components/frontend/www_static/frontend.html b/homeassistant/components/frontend/www_static/frontend.html index 5bf36a46a7b..579967008f6 100644 --- a/homeassistant/components/frontend/www_static/frontend.html +++ b/homeassistant/components/frontend/www_static/frontend.html @@ -193,7 +193,7 @@ return pickBy("isBefore",args)};moment.max=function(){var args=[].slice.call(arg {{stateObj.attributes.errors}}
It looks like we have nothing to show you right now. It could be that we have not yet discovered all your devices but it is more likely that you have not configured Home Assistant yet. diff --git a/homeassistant/components/frontend/www_static/polymer/dialogs/more-info-dialog.html b/homeassistant/components/frontend/www_static/polymer/dialogs/more-info-dialog.html index 085a83c7a9b..4e8b2de4700 100644 --- a/homeassistant/components/frontend/www_static/polymer/dialogs/more-info-dialog.html +++ b/homeassistant/components/frontend/www_static/polymer/dialogs/more-info-dialog.html @@ -40,7 +40,7 @@ Polymer(Polymer.mixin({ }, ready: function() { - this.listenToStores(); + this.listenToStores(true); }, detached: function() { @@ -52,18 +52,9 @@ Polymer(Polymer.mixin({ }, stateStoreChanged: function() { - var newState; - - if (!this.entityId) { - newState = null; - } else { - newState = stateStore.get(this.entityId); - } - - console.log('state store changed'); + var newState = this.entityId ? stateStore.get(this.entityId) : null; if (newState !== this.stateObj) { - console.log("Setting new stateobj"); this.stateObj = newState; } }, @@ -85,12 +76,6 @@ Polymer(Polymer.mixin({ changeEntityId: function(entityId) { this.entityId = entityId; - if (!entityId) { - this.stateObj = null; - this.stateHistory = null; - return; - } - this.stateStoreChanged(); this.stateHistoryStoreChanged();