Frame label= "Infrastructure status" visibility=[Display =="5"] {
Group item=gOnlineStatus
Group item=gSonoff label="Sonoff Specific" {
Group item=gSoftwareLevel
Group item=gRSSI
Group item=gLastWill
Group item=gConnectedtoAP
}
The items show up on the UI as switches but I want them to be a text item. The only way around this declaring them one by one as a text item which defeats the whole group thing.
Defeat the whole Group thing. When you use Group to put Items on your sitemap you have no control over how they get displayed. You can’t control the order, you can’t override the icons, you can’t override the labels, and you can’t control what element they are displayed using.
By default, a Switch will be put on your sitemap with a Toggle control. If you want to override this default behavior you must put each Item on your sitemap individually.
Vincent’s suggestion is another potential approach.
I’ve also started with groups and finally realized as Rich also mentioned that they are not really good for displaying them in the UI
Have a look at the following post. That explains a lot and also is a good start for creating your UI