This drives me crazy…
I spent the last couple of hours to figure this out…
I have these activegroups:
Group:Switch:OR(ON, OFF) gHouse_Lights "All Lights [(%d)]" (gHouse)
Group:Contact:OR(OPEN, CLOSED) gHouse_Windows "Open Windows [(%d)]" <contact> (gHouse)
Group:Contact:OR(OPEN, CLOSED) gHouse_Doors "Open Doors [(%d)]" <contact> (gHouse)`
Lights look like this:
Switch Light_House_Plant_Room_L "Plant Room Left" (gHouse_Plant_Room, gHouse_Lights)
Switch Light_House_Plant_Room_M "Plant Room Mid" (gHouse_Plant_Room, gHouse_Lights)
Switch Light_House_Plant_Room_R "Plant Room Right" (gHouse_Plant_Room, gHouse_Lights)
Windows like htis:
String Door_House_Plant_Room_External "Plant Room [MAP(en.map):%s]" <door> (gHouse_Plant_Room, gHouse_Doors) {mqtt="<[mymosquitto:ArgyleCourt/House/Plant/Door/External:state:default]"}
I had to change the item form Contact to String, otherwise it would throw an error:
given new state is NULL, couldn't post update for 'Door_House_Plant_Room_External'
sitemap:
Switch item=gHouse_Lights mappings=[OFF="All Off"]
Group item=gHouse_Windows
Group item=gHouse_Doors
UI looks like this:
Questions:
What should the correct group type be for the active groups (Group:Switch|Contact)
Why do the lights count, but neither windows nor doors?