OH2 BasicUI how to get house/Floor/room structure?

Hi all,

just making my first steps in OH2 . What I want is to build our house structure into the BasicUI sitemap.

I was thinking of doing it this way:

sitemap default label="My first sitemap of the house"
{
  
	Text label="EG" icon="groundfloor" 
	{

		Text label="Flur EG" icon="corridor" 
		{
		//add items here
		}
		Text label="Kinderbad" icon="bath" 
		{
		//add items here
		}
	}
	Text label="OG" icon="firstfloor" 
	{

		Text label="Flur OG" icon="corridor" 
		{
		//add items here
		}
		Text label="Elternbad" icon="bath" 
		{
		//add items here
		}
	}
}

However this does unfortunately not work. the results as following attached picture.

I guess I need to work with groups as in the OH1.8 BasicUI , however I do want to group certain items for certain rooms together and not let the UI get visualized the groups automatically.

Many thanks for pointing me into the right direction

bkumio

Thanks Christoph, that worked…

Quick question. I´ve realized that depending on my window size the groups automatically start to re-arrange. Any way I can force groups to be side by side or this one right side, the other one left side…

Cheers
bkumio