I am new to HA so my apologies if my automation logic is not spot on. The automation triggers, however not all light turn on and off. Some do and some do not. When I manually trigger the automation they all work as expected.
My goal is this:
Turn Landscape lights and porch dimmer on 15 min after sunset
Turn Landscape lights and porch dimmer off at 12:15am
Turn Flood Lights on at 12:15am
Turn Flood Lights off 90 min before sunrise
Turn Landscape lights and porch dimmer on 90 min before sunrise
Turn Landscape lights and porch dimmer off 30 min before sunrise
But, when I manually trigger the automation all the lights turn on and off. It’s only when the automation is triggered automatically that not all turn on and off. Would that space cause this issue?
Which lights/switches don’t turn on/off? I don’t think the spaces between automations matter I always have at least one newline between all my automations.
@keithh666 alright so my automation that is set to turn on 15 minutes after sunset kicked off and the only light that turned on was the first one in the list. switch.backyard_landscape_lights_switch
How do you talk to your lights and switches? zwave? Using a USB stick or a hub?
To me this seems like a communication issue.
I have some issues with outdoor lights due to distance. Lately it’s been well behaved with some additional switches added to expand my network mesh but this is my old code to deal with it:
@jwelter I am using the Aeon USB Stick, but have lots of other Z-Wave switches, so my mesh should be decent. The other strange thing is that when I manually trigger the automation from the state menu, all the switches and lights turn on.
I will give your suggestion a shot and report back. Thanks for your help!
Thinking out of the box here, are you positive the automation you are manually testing is the one that is actually being automatically triggered? Maybe check the log right after it’s automatically triggered to verify the right automation is going off. Or if another automation is going off at the same time that conflicts with this one.
Those two things are all I can think of that could cause this…
@azeroth12 confirmed it is the correct automation. working manually and triggers all lights to turn on and off. But when automatic only one light. Going to try adding some delays like others have suggested hereto see if it changes anything for me.
I know its an old thread, just replying if someone happens to be in the same situation. When i have multiple entity_ids i want to turn on/off in an action i always group them like this and it works every time.