I’d like to add a condition to prevent automation run over and over again on a specific time frame.
Something like - if this automation wasn’t triggered for x time.
is this possible?
My current automation:
automation:
alias: Notify me when I arrive home
trigger:
platform: state
entity_id: device_tracker.nexus
from: 'not_home'
to: 'home'
condition:
condition: time
after: '16:00:00'
before: '22:00:00'
action:
- service: tts.google_say
data:
message: 'Welcome Home'