Update ha-smart-thermostat-control.yaml
This commit is contained in:
parent
fc3a572171
commit
5f9f36a60f
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue