I am having trouble getting textually-configured Equipment to automatically show up in the layout that I want it to in the automatically populated “Locations” and Equipment tab. Specifically, I would like to group the same type of equipment in a room under a singular heading (“Windows” in this case).
Here are the two results I’m able to achieve:
Attempt 1:
Group XXXXXRoom_Window1 "XXXXX's Room Window" (Smart_Window, XXXXXRoom) ["Window"] {listWidget="widget:windowstate_list"[item="XXXXXRoom_Window1_Status",title="Yard-facing"]}
String XXXXXRoom_Window1_Status "Yard-facing" <window> (XXXXXRoom_Window1) ["OpenState"] {listWidget="widget:windowstate_list"[title="Yard-facing"]}
Group XXXXXRoom_Window2 "XXXXX's Room Window" (Smart_Window, XXXXXRoom) ["Window"] {listWidget="widget:windowstate_list"[item="XXXXXRoom_Window2_Status",title="Alleyway-facing"]}
String XXXXXRoom_Window2_Status "Alleyway-facing" <window> (XXXXXRoom_Window2) ["OpenState"] {listWidget="widget:windowstate_list"[title="Alleyway-facing"]}
Result:
Badges successfully show up in the location card according to window state, and while the points and their widgets render properly, there’s also the pesky equipment label that shows up twice. In the Equipment tab, the windows points are also not grouped by room but instead all individually have their own heading.
Attempt 2:
Group XXXXXRoom_Window "XXXXX's Room Windows" (Smart_Window, XXXXXRoom) ["Window"]
Group XXXXXRoom_Window1 "XXXXX's Room Window" (Smart_Window, XXXXXRoom_Window) ["Window"] {listWidget="widget:windowstate_list"[item="XXXXXRoom_Window1_Status",title="Yard-facing"]}
String XXXXXRoom_Window1_Status "Yard-facing" <window> (XXXXXRoom_Window1) ["OpenState"] {listWidget="widget:windowstate_list"[title="Yard-facing"]}
Group XXXXXRoom_Window2 "XXXXX's Room Window" (Smart_Window, XXXXXRoom_Window) ["Window"] {listWidget="widget:windowstate_list"[item="XXXXXRoom_Window2_Status",title="Alleyway-facing"]}
String XXXXXRoom_Window2_Status "Alleyway-facing" <window> (XXXXXRoom_Window2) ["OpenState"] {listWidget="widget:windowstate_list"[title="Alleyway-facing"]}
Result:
Here I’ve placed both Window equipments into another group of type Window. In the location tab, only this group shows up now and I need to click on it to show a popup, a popup which however properly shows just the window state widgets without any additional label bars. Unfortunately, in the Equipment Windows card, the group shows up but the contained Window items do too.
Question: What’s the best way to do this? I want my window items grouped by location so the headings don’t duplicate. I want it to look something like this (poor photoshop):
Here, the badges still work, and the windows are grouped by what location they are in.
Do I need to write a custom group list widget or something? Thanks!