I’m using openHAB 3.4.0 release edition and want to create a sitemap via code, but I cannot achieve to create a valid sitemap code even with an empty, fresh created sitemap:
Creating sitemaps via designer works well and as expected. But I’m migrating from an openHAB 2.5 installation and I need to define sitemaps via code. Is there any known issue in the 3.4.0 at creating sitemaps via code?
There have been refinements and enhancements to the sitemap editor recently. It should be better at it in 4.0.
The error it shows is telling you it expects to see something in the sitemap.
Did you try copying your full OH2 sitemap in the code tab? I had succesfully loaded my OH3.4 sitemap in here.
You can also keep on using the sitemap defined in the text file if you want.
Thanks, I had implemented it this way, but the error messages within the log were annoying me. So I have added some valid group items to get rid from these error messages.