I’ve created a group item and assigned two bulb to that group. The bulbs turn on/off when issued those commands, but when turned on, only one bulb’s state is updated in the UI. I even added a postUpdate(ON) to the rule to see if that would force an update, but no luck.
Here is my group item definition:
Group:Dimmer:OR(ON,OFF) gSideLights
My items:
Dimmer BackDoor_Dimmer_1 "Back door dimmer 1 [%.1f %%]" <dimmablelight> (gSideLights) {channel="zwave:device:f21cd9de:node98:switch_dimmer"}
Dimmer BackDoor_Dimmer_2 "Back door dimmer 2 [%.1f %%]" <dimmablelight> (gSideLights) {channel="zwave:device:f21cd9de:node101:switch_dimmer"}
The rule:
rule "Back Door Contact update"
when
Item BackDoor_Sensor received update
then
if(BackDoor_Sensor.state == OPEN){
gSideLights.sendCommand(ON)
} else {
gSideLights.sendCommand(OFF)
}
end
I initially defined the group item as a Switch, but only one bulb would turn on, so I tried Dimmer.
I’m on a RPi3 running OH 2.4
Any ideas?