But what I really want is a single element in the UI, where I can switch lights on/off and jump into the next page to use the slider (maybe via click on the label instead of the switch). Something like this:
You put them on different rows on the sitemap, use a different UI like HABPanel, or reassess your requirement and figure out if you some other approach would meet your needs (e.g. don’t have the subpanel at all).
Or you can implement the feature yourself and submit it as a PR to the baseline or create an issue and hope one of the developers agrees to implement it.
I should warn though, in this case it could require very significant changes to support having two different types of controls on the same line like this.
I don’t know if i understand you correctly.
You want some items/lights that are assigned to a group be able to be switched on/off via a switch?
That is possible. Otherwise i don’t understand what you want to achieve.
List your items/lights in the item file and place them in a group in brackets “(lights)” for example
the you can define the group like this.