I’ve tried on and off for half a year getting automations to work. Updated to the latest docker image yesterday, but still no luck. I have tried using the web interface to make automations and I have made them manually in yaml.
It looks like the automations are triggered, but nothing happens.
Here is mine which uses an LDR to check the light level and the sunset. I also have multiple lights, 1 uses 433Mhz RF and the others using Sonoff basics hence the group.lights and switch.light
You have a condition that ALL devices have to be ‘home’. Any device that is ‘not turned on’ but on the network, will register as ‘not home’. You can see the states in the <> page (dev-state). I would simplify this to a few devices.
Sunrise occurs around 3-4PM in your timezone? That doesn’t seem right.
I’m guessing you are showing the logs from a different time of day?
Just as an FYI, your trigger will ONLY OCCUR 2 hours after sunrise. It will not continuously occur throughout the day. So you need to verify that it’s occurring at the correct time of day, not a random time in the day.
Nah… sunrise does not occur then. I was thinking a restart of the server after sunrise would retrigger automations that should have happened at sunrise.
Nope. My guess is that your automation works. Just press the button in the UI, should ignore the trigger and perform the action based on the condition (which you aren’t using).