Add min/max changes on thermostat update

This commit is contained in:
DBCL 2019-09-13 22:58:43 +02:00 committed by GitHub
parent a2c2f6a1e2
commit 3e98b8e4f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,6 +222,8 @@ export class HuiThermostatCard extends LitElement implements LovelaceCard {
sliderType,
value: sliderValue,
disabled: sliderValue === null,
min: stateObj.attributes.min_temp,
max: stateObj.attributes.max_temp
});
this._updateSetTemp(uiValue);
}