I just updated to 2.5.0.RC1 and in habpanel now if I click a group switch item it no longer updates the state unless I reload the page. It will however update the state of the group if I turn on an individual light in the group.
Looking at the log I believe this might be related to not seeing a GroupItemStateChangedEvent when sending the group a command directly. But I do see a GroupItemStateChangedEvent when I interact with a switch directly.
Results from
smarthome:send KTN_LightBulb_01_Switch ON
17:18:09.201 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'KTN_LightBulb_01_Switch' received command ON
17:18:09.212 [INFO ] [arthome.event.ItemStatePredictedEvent] - KTN_LightBulb_01_Switch predicted to become ON
17:18:09.218 [INFO ] [smarthome.event.ItemStateChangedEvent] - KTN_LightBulb_01_Switch changed from OFF to ON
17:18:09.219 [INFO ] [home.event.GroupItemStateChangedEvent] - GRP_KTN_Lights changed from OFF to ON through KTN_LightBulb_01_Switch
smarthome:send GRP_KTN_Lights ON
17:22:12.252 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'GRP_KTN_Lights' received command ON
17:22:12.255 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'KTN_LightBulb_03_Switch' received command ON
17:22:12.262 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'KTN_LightBulb_02_Switch' received command ON
17:22:12.267 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'KTN_LightBulb_01_Switch' received command ON
17:22:12.271 [INFO ] [arthome.event.ItemStatePredictedEvent] - KTN_LightBulb_03_Switch predicted to become ON
17:22:12.276 [INFO ] [arthome.event.ItemStatePredictedEvent] - KTN_LightBulb_02_Switch predicted to become ON
17:22:12.280 [INFO ] [arthome.event.ItemStatePredictedEvent] - KTN_LightBulb_01_Switch predicted to become ON
17:22:12.284 [INFO ] [smarthome.event.ItemStateChangedEvent] - KTN_LightBulb_03_Switch changed from OFF to ON
17:22:12.285 [INFO ] [smarthome.event.ItemStateChangedEvent] - KTN_LightBulb_02_Switch changed from OFF to ON
17:22:12.286 [INFO ] [smarthome.event.ItemStateChangedEvent] - KTN_LightBulb_01_Switch changed from OFF to ON
Shouldn’t I see a line that says GRP_KTN_Lights changed from OFF to ON? If I check the status of the group it will say the group is on. But without an event I don’t think habpanel knows to update.