diff --git a/src/more-infos/more-info-thermostat.html b/src/more-infos/more-info-thermostat.html index 21da6548e5..199284b1ca 100644 --- a/src/more-infos/more-info-thermostat.html +++ b/src/more-infos/more-info-thermostat.html @@ -22,7 +22,7 @@
Target Temperature
diff --git a/src/more-infos/more-info-thermostat.js b/src/more-infos/more-info-thermostat.js index f3ffd08907..3a186e6071 100644 --- a/src/more-infos/more-info-thermostat.js +++ b/src/more-infos/more-info-thermostat.js @@ -44,13 +44,9 @@ export default new Polymer({ }, targetTemperatureSliderChanged(ev) { - const temp = parseInt(ev.target.value, 10); - - if (isNaN(temp)) return; - serviceActions.callService('thermostat', 'set_temperature', { entity_id: this.stateObj.entityId, - temperature: temp, + temperature: ev.target.value, }); },