I have tried searching for any code samples that show how to work with multiple devices (like multiple switches) and so far all I have found is that you can set “multiple:true”. Specifically, I am looking for how to check the switch statuses, set the switches and how to set the level of dimmers.
If the resulting variable is an array, how do I enumerate the array?