Two lights cant be on same time

Hello, is there a easy way to do this?
my daughter room have leds and light, i want to make a rule that both cant be turn on at the same time
this is my solution, but is there a easy way of programming this? (asking just to know and learn)

It looks ok.
You might be able to just skip the “if” node in the middle, if the lights do not use a toggle command, but instead an off command.
Sending an off command to a device that is already off should do nothing.

1 Like