There is an App called Trend Setter that is basically a grouping app. It allows you to add various devices that share the same or similar attributes to a “group” and creates a virtual switch that controls the group functions.
For Example:
Virtual Switch called Kitchen Lights
Kitchen Lights consist of, recessed, island, overhead, under cabinets and accent.
You might need to dig a bit through the thread to find the newest version but I use the one that is posted and it has worked great from the beginning.
You can always cook up your own rules with webCoRE…