I have 2 Popp smoke sensors which are grouped to show if an alarm is active on the main screen:
Group:Switch:OR(ON, OFF) gTest "Rauchmelder [%s]" <fire> Switch POPP_Smoke_1_C "Alarm Rauchmelder EG Flur [%s]" <fire> (gTest) Switch POPP_Smoke_1_Sw "Schalter Rauchmelder EG Flur [%s]" (gTest) Switch POPP_Smoke_2_C "Alarm Rauchmelder Keller [%s]" <fire> (gTest)
For some time now, the group does not work anymore (shows ‘-’).
The POPP_Smoke_1_C show “Untriggered”, not ON/OFF.
I have tried to change the group to
Group:Switch:OR(Triggered, Untriggered) gTest "Rauchmelder [%s]" <fire>
but that does not work - I get this log output:
2018-03-11 15:56:18.741 [WARN ] [arthome.core.items.dto.ItemDTOMapper] - State 'Triggered' is not valid for a group item with base type 'Switch' 2018-03-11 15:56:18.744 [ERROR] [arthome.core.items.dto.ItemDTOMapper] - Group function 'OR' requires two arguments. Using Equality instead.