mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Add min/max changes on thermostat update
This commit is contained in:
parent
a2c2f6a1e2
commit
3e98b8e4f1
@ -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