Turn on switch when 1 or more items (in group) are active

To provide the code that does what Dim describes with a slight variation:

You can create a Switch Item that get linked to or bound to your Dimmer Items. Those Switches will be set to ON if the Dimmer is > 0%. With that the code would become

Group:Switch:Count ExteriorSwitches
rule "Exterior Lights Status"
when
    Item ExteriorSwitches changed
then
    if(ExteriorSwitches.state > 0) {
        // turn on your switch
    }
    else {
        // turn off your switch
    }
end

I personally think that the cost of a few extra Switches more than pays for the simplification you get above by avoiding an extra Group for the Dimmers and the code necessary to process both Groups.

The state of ExteriorSwitches will be the number of lights that are ON.

2 Likes