mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Merge pull request #3718 from DB-CL/dev
Update slider's min/max when thermostat gets updated
This commit is contained in:
commit
1109d18576
@ -222,6 +222,8 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
|
|||||||
sliderType,
|
sliderType,
|
||||||
value: sliderValue,
|
value: sliderValue,
|
||||||
disabled: sliderValue === null,
|
disabled: sliderValue === null,
|
||||||
|
min: stateObj.attributes.min_temp,
|
||||||
|
max: stateObj.attributes.max_temp,
|
||||||
});
|
});
|
||||||
this._updateSetTemp(uiValue);
|
this._updateSetTemp(uiValue);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user