From 5f9f36a60f6d25b25e5c5a19cafdd07e9288fc88 Mon Sep 17 00:00:00 2001 From: andreas Date: Fri, 5 Dec 2025 12:28:39 +0100 Subject: [PATCH] Update ha-smart-thermostat-control.yaml --- ha-smart-thermostat-control.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ha-smart-thermostat-control.yaml b/ha-smart-thermostat-control.yaml index 26d17b2..fde938b 100644 --- a/ha-smart-thermostat-control.yaml +++ b/ha-smart-thermostat-control.yaml @@ -171,7 +171,8 @@ variables: away_calendar_id: !input away_calendar # --- REVISED VARIABLE: Get state value from helper --- - day_temp_input: "{{ states(!input day_temp_helper) | float(21) }}" + day_temp_id: !input day_temp_helper + day_temp_input: "{{ states(day_temp_id) | float(1) }}" # --- END REVISED VARIABLE --- night_temp_input: !input night_temp @@ -255,7 +256,7 @@ action: entity_id: !input thermostat data: # --- REVISED ACTION: Use the variable which holds the helper state --- - temperature: "{{ day_temp_input }}" + temperature: !input day_temp_helper # --- END REVISED ACTION --- hvac_mode: heat - service: logbook.log