What do you mean with old format?
If it is stored in a file (.sitemap), the sitemap nsme (not label) needs to be the same as the file name (without .sitemap)
I have created sitemap via OH4 Pages meniu, so from where to take its name? It ls confusing form UI view, didnt checked how its named in file system…I thought that sitemap id = name of sitemap…
No need to be.
Why did you change from the “old” openHAB 2.x way creating your sitemaps?
You can still use your old config with text file based sitemaps.
I’am re-doing all from 2.5 to OH4 and using semantic model, just for fast testing all things with items want to use old style sitemaps. Will rework later in “native” UI.
The people who have the hardest time with OH 3/4 are OH 2 users who skip reading through the Getting Started Tutorial. Even new users have an easier time of it. I strongly recommend if you want to use OH through MainUI that you review the tutorial. It should save you a good deal of frustration in the long run.
Note that if you create a semantic model, a simple UI will be generated automatically.
I know that it generates UI, but when you want to create multiple choice buttons you need to use custom widgets. So for me its much easier to “copy-paste” sitemap and use BasicUI for quick test.