Is there a way to randomly select 3 devices from a list of 20? I know to list the eligible lights and switches in a device variable. I would then choose 2 or 3 lights at random and save them in another variable. But I don’t know how to do that step.
I am trying to make a vacation lighting piston that will select 2 or 3 lights at random from a list of all of my lights to turn on. I plan to run the piston every few minutes to make it look like my home is occupied.
Thanks in advance!