[MODERATOR NOTE]: moved to the appropriate forum.
---------------------
Hi All!
Working on a python script. I have my z-wave lights organized by folders. I would like to be able to select all devices in a folder and say, turn them off.
What is the best way to find all devices in a folder?
I guess I can get the folder ID this way? indigo.devices.folders.getId("Some Folder Name")
Now do I have to loop through every device in my system to check if it's in the folder? That doesn't seem like it will be very performant. Is there no way to ask a folder what devices it has in it?
Thanks,
Darren