BasicUI Sitemap | Is a switch directly on a group element possible?

Tags: #<Tag:0x00007f616948bbc0> #<Tag:0x00007f616948baf8> #<Tag:0x00007f616948ba08>

Hi there,

I would like to know if it is somehow possible to have in a basic ui sitemap one element which is in the same time a switch and a group element. So that I can turn a light on/ off in the first view but also enter the submenu to changes timers, dimming the light, see the firmware version and so on.

So instead of this:
image

I would like to have a view like this:
image

I this possible to do both in one element?

I don’t think this is possible. You can do this

    Frame {
        Text item=SwitchItem1 {
            Frame {
                Switch item=SwitchItem1
                Switch item=SwitchItem2
            }
        }
    }

But not this

    Frame {
        Switch item=SwitchItem1 {
            Frame {
                Switch item=SwitchItem1
                Switch item=SwitchItem2
            }
        }
    }

Thats really a pity because you always have to do a extra klick to ON/OFF the main switch.