Update ha-smart-thermostat-control.yaml

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-12-05 12:28:39 +01:00
parent fc3a572171
commit 5f9f36a60f

View file

@ -171,7 +171,8 @@ variables:
away_calendar_id: !input away_calendar away_calendar_id: !input away_calendar
# --- REVISED VARIABLE: Get state value from helper --- # --- 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 --- # --- END REVISED VARIABLE ---
night_temp_input: !input night_temp night_temp_input: !input night_temp
@ -255,7 +256,7 @@ action:
entity_id: !input thermostat entity_id: !input thermostat
data: data:
# --- REVISED ACTION: Use the variable which holds the helper state --- # --- REVISED ACTION: Use the variable which holds the helper state ---
temperature: "{{ day_temp_input }}" temperature: !input day_temp_helper
# --- END REVISED ACTION --- # --- END REVISED ACTION ---
hvac_mode: heat hvac_mode: heat
- service: logbook.log - service: logbook.log