Sorry I never responded, but I tripped across this today, so better late than never. Here is the code from my UI generated watch sitemap:
sitemap watch_source label="Watch Sitemap" {
2
Frame item=MyQSpringSmallDoor_GarageDoorRollershutter label="Spring" {
3
Switch icon="rollershutter" item=MyQSpringSmallDoor_GarageDoorRollershutter label="Small Garage "
4
Switch icon="rollershutter" item=MyQSpringBigDoor_GarageDoorRollershutter label="Big Garage "
5
Switch item=ShowerModeButton label="Shower"
6
Switch item=TechinSmartplug2_switch_1 label="Livingroom Lamp"
7
}
8
Frame label="Midway" {
9
Switch icon="rollershutter" item=MyQMidwayBigDoor_GarageDoorRollershutter label="Big"
10
Switch icon="rollershutter" item=MyQMidwaySmallDoor_GarageDoorRollershutter label="Small"
11
}
12
}
13
(Sorry for the line numbers. When I copy from my iPad (vs PC), I get them.