Avoid automation from running

How can I formulate an execution condition that prevents an automation from running between midnight and 0:15 a.m.?

Will this work?

condition: time
after: '00:15'
before: '00:00'

Drop the before, home assistant works from midnight to midnight when it comes to time, so simply stating after 00:15 covers your needs.

1 Like