I seem to be getting confused with the automation conditions. I have a scripts setup that get called 2 hours before me or the girlfriend have work. I still tend to get up with her when i’m on a later start so i don’t need mine to run. How do i set the condition so it doesn’t trigger for that day?
- alias: 'time to get up gruff'
trigger:
platform: state
entity_id: sensor.my_event_offset
to: 'on'
condition:
condition: state
entity_id: person.gruffdris
state: 'home'
action:
service: script.turn_on
entity_id: script.im_awake
- alias: 'time to get up rhiddz'
trigger:
platform: state
entity_id: sensor.rhiddz_event_offset
to: 'on'
condition:
condition: state
entity_id: person.rhiddz
state: 'home'
action:
service: script.turn_on
entity_id: script.rhiddz_awake
What about a simple template conditoin for the one automation “Name 1” which should run if the automation “Name 2” has not run within the last 3600 seconds