Curious how I can make this simpe procedure a little more robust.
I have a plug I want on at 0100 and off at 2300. As is, it works.
But lets say its 0800 when I create, save, and enable this config. It wont turn on the outlet. Same if I make other changes or reboot hass for some reason it wont turn the outlet on.
Is there a way to set it so instead of exact βonβ times its something like 0100 AND AFTER?
- alias: Outlet ON
trigger:
platform: time
at: 01:00:00
action:
service: switch.turn_on
entity_id: switch.tasmota_4
id: 2d41d5145b3e45f382027496c8e9101b
- alias: Outlet OFF
trigger:
platform: time
at: '23:00:00'
action:
service: switch.turn_off
entity_id: switch.tasmota_4
id: 0789a6ba6c5b426db9de4cad77bdf95a