Are the following all equivalent? Back in 2020 there was - platform: time, but now I think that has been simplified as shown, and the docs have a little of all of them. What is the current preferred?
automation:
triggers:
- trigger: time
at: "08:00"
automation:
trigger: time
at: "08:00"
automation:
trigger:
- platform: time
at: "08:00"
I'm trying to create a simple automation to turn of a light between 800 and 1600 and turn it off between 1601 and 0759, every day, one that will survive restarts, reloads, etc, and not get confused. Maybe I'm over thinking it and the following should suffice for turn on, but it doesn't seem to be working.
mode: restart
trigger: time
at: "08:00"
action:
- service: switch.turn_on
entity_id: switch.zooz_zen15_power_cord_110_switch
Any advice would be appreciated.