@KidSquid
You may want to read up here:
http://docs.openhab.org/configuration/items.html#group-item-types
it explains the OR function in this context
Personally, I have little experience with what you are doing, I use the design pattern (link provieded earlier), but a quick search on the forum brought up a few discussions that look like they may help you:
Hello Markus,
So this is what I’ve tried doing and I’m not getting expected behavior hopefully this is the last thing. In Sitemap I have the following now, the MasterBed currently is only one light so I haven’t updated yet or need to:
Frame label=“Rooms”{
Text label=“Living Room” icon=“sofa” {
Switch item=LivRoom_AllLights label=“Switch All” mappings=[OFF=“All Off”, ON=“All On”]
Slider item=LivRoom_AllLights_Dim label=“Dimmer All”
Switch item=Light_LivRoom_Steps_Sw
Slider item=Light_LivR…
I have the following in my items file:
Group:Switch:OR(ON,OFF) Groupswitch_All_Lights “Alle Lichten [(%d)]” (gAll)
Dimmer Light_VH_Hal_Tafellamp “Haltafel lamp (HA) [%d %%]” (gAll,gSunset) {
zwave=“2:command=switch_multilevel,restore_last_value=true”
}
and the following in my site file:
Switch item=Groupswitch_All_Lights mappings=[OFF="UIT", ON="AAN"]
when i press the button in the app for the Group switch I expect the light “Haltafel” to turn on/off. This does not happen. I see other…
Just two of the threads that came up when I searched for “switching groups”