diff --git a/src/more-infos/more-info-climate.html b/src/more-infos/more-info-climate.html index 58aeb34c4b..73304537d4 100644 --- a/src/more-infos/more-info-climate.html +++ b/src/more-infos/more-info-climate.html @@ -294,7 +294,7 @@ Polymer({ this.hass.serviceActions.callService('climate', service, data) .then(function () { this.stateObjChanged(this.stateObj); - }); + }.bind(this)); }, }); diff --git a/src/more-infos/more-info-hvac.html b/src/more-infos/more-info-hvac.html index 6647443b96..7827e21083 100644 --- a/src/more-infos/more-info-hvac.html +++ b/src/more-infos/more-info-hvac.html @@ -293,7 +293,7 @@ Polymer({ this.hass.serviceActions.callService('hvac', service, data) .then(function () { this.stateObjChanged(this.stateObj); - }); + }.bind(this)); }, });