From 59627864944a93538858ed0930de92891b4bfe66 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 20 Aug 2016 23:42:42 -0700 Subject: [PATCH] fix climate/hvac update --- src/more-infos/more-info-climate.html | 2 +- src/more-infos/more-info-hvac.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); }, });