04-12-2024 07:08 PM
Is there a way to use one starter to initiate multiple condition evaluations/actions? Something like:
automation
starter
condition
action
condition
action
condition
action
condition
action
What I am trying to do is, after on starter, evaluate each of 14 lights and turn off if on.
04-14-2024 11:47 AM
When the goal is to turn all 14 lights, just use device.command.OnOff for all 14 lights. No need to check if they are on. Something like this.
actions:
- type: device.command.OnOff
devices:
- light1
- light2
- etc
on: false