Hi,
I have set up a scheduler Helper for my heating and tried to get it to trigger in an Automation. My heating has various preset modes, including ‘comfort’ and ‘eco’. Below is the automation I have, but it doesn’t trigger on the schedule. Can anyone offer me any advise of what I have got wrong please?
alias: Heating Schedule
description: ""
triggers:
- trigger: state
entity_id:
- schedule.heating
conditions: []
actions:
- action: climate.set_preset_mode
metadata: {}
data:
preset_mode: "{{ 'comfort' if trigger.to_state.state == 'on' else 'eco' }}"
mode: single