I was wondering what the best way it to switch on multiple lights at the same time in an automation.
I noticed that the automation stops if one of the lights, for whatever reason, doesn’t respond in a timely fashion, causing the steps after this to not be executed.
I tried to use parallel execution, but that also seems to fail.
Is switching on a group the better and more reliable way to go? Or a scene? Or a separate automation for each light?
I did find an old thread about Appdaemon or NodeRed, but I would like to stay in HA for this.
Not that I necessarily have your answers, but I think it would be best to go to your automation, display it in YAML mode, copy it, then past it here using Preformatted text (see above, the </> icon). Also share what integration your bulbs utilize (ZHA (zigbee), Z2MQTT, IP, Z-Wave, etc.)
That would help anyone able to help you, on the automation failing issue.
Also look into creating a HELPER Group or few (Settings/Devices/Helpers) that you can assign lights to. I think HA can only send one Zha command per second (someone please fact check me), so it can be difficult to have lights come on as if they’re dumb lights on dumb switches. But mainly, a working group of lights should be as easy to toggle on/off as a single light.
I feel so stupid
Already found the issue. I changed something some time ago, which caused one condition to not be true, causing the lights to not turn on, sometimes.