Sitemap submenu help!

Good Morning, recently I have started to try and clean up my sitemap as it was taking to much scrolling to get to the bottom items! So I condensed the RJBedroom frame into sub menus. Like so

I am now trying to create multiple submenus in the Lights menu so I can tidy this section up into the
Bedroom light item
Both lamp items in a submenu
And led controls in a menu.

This is my current setup for that frame I’m just not sure how to code the submenus in a submenu!

Frame label="RJBedroom"  {
Text item=Lights icon="light" {
Switch item=Bedroom_Light
Switch item=Bedroom_Lamps_1
Switch item=Bedroom_Lamps_2
Colorpicker item=Bedroom_Led_Coving_color
Switch item=Bedroom_Led_Coving_power
Slider item=Bedroom_Led_Coving_white
}
Text item=Heating icon="temperature" {
Switch item=BedRoom_Radiator_Valve
Setpoint item=BedRoom_Temp_Setpoint label="BedRoom Target Temperature"
Text item=Bedroom_Temperature label="Bedroom Temperature [%.1f °C] " 
Text item=Bedroom_Humidity label="Humidity [%.1f %%]" icon="humidity"
}
Text item=Blind icon="rollershutter" {
Switch item=BedroomBlinds mappings=[0="Open", 56="Half", 100="Close"]
Slider item=BedroomBlinds
}
}

Any words of advice or examples will be much appreciated. I hope everyone has a nice weekend.

1 Like

Did you try:

Text item=Lights icon="light" {
Switch item=Bedroom_Light
Text item=Lamps icon="light" {
Switch item=Bedroom_Lamps_1
Switch item=Bedroom_Lamps_2
}
Text item=LED icon="light" {
Colorpicker item=Bedroom_Led_Coving_color
Switch item=Bedroom_Led_Coving_power
Slider item=Bedroom_Led_Coving_white
}
}

Yes I did try that and the site map wouldn’t load. On the app. So I presume my syntax was wrong. I’ll try again working of what you’ve suggested and let you know.

Working perfect thank you. From what I can see I think I missed of 1 of the closing brackets!

Frame label="RJBedroom"  {
Text item=Lights icon="light" {
Switch item=Bedroom_Light
Text item=Lamps {
Switch item=Bedroom_Lamps_1
Switch item=Bedroom_Lamps_2
}
Text item=LED {
Colorpicker item=Bedroom_Led_Coving_color
Switch item=Bedroom_Led_Coving_power
Slider item=Bedroom_Led_Coving_white
}
}
Text item=Heating icon="temperature" {
Switch item=BedRoom_Radiator_Valve
Setpoint item=BedRoom_Temp_Setpoint label="Bed Room Target Temperature "
Text item=Bedroom_Temperature label="Bedroom Temperature [%.1f °C] " 
Text item=Bedroom_Humidity label="Humidity [%.1f %%]" icon="humidity"
}
Text item=Blind icon="rollershutter" {
Switch item=BedroomBlinds mappings=[0="Open", 56="Half", 100="Close"]
Slider item=BedroomBlinds
}
}
1 Like

So next question! How do I make a submenu in the Led submenu? I’ve now got 2 leds one for the bedroom led coving and one for bedroom tv led. Want them in two seperate menus in the led menu?

Hi.

If I get you right. It should be just the same as before. Just group in group.

Frame label="RJBedroom"  {
Text item=Lights icon="light" {
Switch item=Bedroom_Light
Text item=Lamps {
Switch item=Bedroom_Lamps_1
Switch item=Bedroom_Lamps_2
}
Text item=LED {
Text item=Bedroom_Led_Coving {
Colorpicker item=Bedroom_Led_Coving_color
Switch item=Bedroom_Led_Coving_power
Slider item=Bedroom_Led_Coving_white
} 
Text item=Bedroom_Led_TV {
Colorpicker item=Bedroom_Led_TV_color
Switch item=Bedroom_Led_TV_power
Slider item=Bedroom_Led_TV_white
} 
}
}
Text item=Heating icon="temperature" {
Switch item=BedRoom_Radiator_Valve
Setpoint item=BedRoom_Temp_Setpoint label="Bed Room Target Temperature "
Text item=Bedroom_Temperature label="Bedroom Temperature [%.1f °C] " 
Text item=Bedroom_Humidity label="Humidity [%.1f %%]" icon="humidity"
}
Text item=Blind icon="rollershutter" {
Switch item=BedroomBlinds mappings=[0="Open", 56="Half", 100="Close"]
Slider item=BedroomBlinds
}
}