fix climate/hvac update

This commit is contained in:
Paulus Schoutsen 2016-08-20 23:42:42 -07:00
parent 533ac9fade
commit 5962786494
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ Polymer({
this.hass.serviceActions.callService('climate', service, data) this.hass.serviceActions.callService('climate', service, data)
.then(function () { .then(function () {
this.stateObjChanged(this.stateObj); this.stateObjChanged(this.stateObj);
}); }.bind(this));
}, },
}); });
</script> </script>

View File

@ -293,7 +293,7 @@ Polymer({
this.hass.serviceActions.callService('hvac', service, data) this.hass.serviceActions.callService('hvac', service, data)
.then(function () { .then(function () {
this.stateObjChanged(this.stateObj); this.stateObjChanged(this.stateObj);
}); }.bind(this));
}, },
}); });
</script> </script>