Design Pattern: Working with Groups in Rules

To add on: here’s an example that I use everyday - scroll down to zigbee.items to see the setup, and then just below the screenshot of my sitemap.

To do your first two queries you would just compare against the dimmer group. The last one will have to be done by individually checking each light.

1 Like