mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix climate more-info aux toggle. (#265)
This commit is contained in:
parent
3fdba35986
commit
1ef050e76d
@ -226,9 +226,8 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
stateObjChanged: function (newVal, oldVal) {
|
stateObjChanged: function (newVal, oldVal) {
|
||||||
this.targetTemperatureSliderValue = newVal.attributes.temperature;
|
|
||||||
this.awayToggleChecked = newVal.attributes.away_mode === 'on';
|
this.awayToggleChecked = newVal.attributes.away_mode === 'on';
|
||||||
this.auxheatToggleChecked = newVal.attributes.aux_heat === 'on';
|
this.auxToggleChecked = newVal.attributes.aux_heat === 'on';
|
||||||
|
|
||||||
if (newVal.attributes.fan_list) {
|
if (newVal.attributes.fan_list) {
|
||||||
this.fanIndex = newVal.attributes.fan_list.indexOf(
|
this.fanIndex = newVal.attributes.fan_list.indexOf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user