From 3e98b8e4f166e93b49a6675a41333fc195d1d870 Mon Sep 17 00:00:00 2001 From: DBCL Date: Fri, 13 Sep 2019 22:58:43 +0200 Subject: [PATCH] Add min/max changes on thermostat update --- src/panels/lovelace/cards/hui-thermostat-card.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panels/lovelace/cards/hui-thermostat-card.ts b/src/panels/lovelace/cards/hui-thermostat-card.ts index 0070de8d0d..5ec56a3d5a 100644 --- a/src/panels/lovelace/cards/hui-thermostat-card.ts +++ b/src/panels/lovelace/cards/hui-thermostat-card.ts @@ -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); }