I love that Hubitat Rooms are available in Webcore! I have tons of new logic ideas I want to work on, but how do I parse this $rooms Dynamic variable in an expression? I’ve tried a few things with RegEx, but I feel it should be easier and I’m missing something.
An example would be like I want to send a dimmer level command to all devices in a specific room. Like if I turned on a light switch in a room I want to capture all the devices in that room to a local device variable in the Piston where the RoomID for the Light Switch matches the RoomID for $rooms and dumps all the devices for that room into a local Variable that I can use for other things.
I’ve tried using ArrayItem( in my Expression, but I don’t understand the formatting I need to be doing?