Hello,
The logic to execute this trigger works fine, my issue is with the snapshot (I think). I have several comfort settings for my ecobee. When the doors were shut, scene.climate_snapshot was executed at the end of the automation, the temperature was set to 78, which is not what is listed in the comfort setting (73) when the snapshot was taken.
Do you have any ideas?
- alias: Climate - Doors/Windows Open - Stop HVAC
trigger:
- platform: state
entity_id: group.doors_windows
to: 'on'
for: '00:05:00'
condition:
condition: not
conditions:
- condition: state
entity_id: climate.ecobee
state: 'off'
action:
- service: scene.create
data:
scene_id: climate_snapshot
snapshot_entities: climate.ecobee
- service: climate.set_hvac_mode
data:
entity_id: climate.ecobee
hvac_mode: 'off'
- wait_for_trigger:
- platform: state
entity_id: group.doors_windows
from: 'on'
to: 'off'
for: '00:00:30'
continue_on_timeout: false
- scene: scene.climate_snapshot