This commit is contained in:
Paulus Schoutsen 2017-01-29 22:57:12 -08:00
parent 07357bcca8
commit 993f136934

View File

@ -159,7 +159,7 @@ Polymer({
var disconnected = function () { var disconnected = function () {
this.hass = Object.assign({}, this.hass, { connected: false }); this.hass = Object.assign({}, this.hass, { connected: false });
}.bind(this) }.bind(this);
conn.addEventListener('disconnected', disconnected); conn.addEventListener('disconnected', disconnected);
@ -184,7 +184,7 @@ Polymer({
conn.removeEventListener('disconnected', disconnected); conn.removeEventListener('disconnected', disconnected);
unsubEntities(); unsubEntities();
unsubConfig(); unsubConfig();
} };
}, },
handleConnectionPromise: function (prom) { handleConnectionPromise: function (prom) {