Hey,
Something really funny is going on with my sitemap file.
I have swritten down the code for sitemap as:
sitemap home label=“Home one”
{
Frame label=“room one”
{
Switch item=bedroomlight "bedroom light"
Switch item=fan “fan”
}
Frame label=“bathroom”
{
Switch item=bathroomlight “bathroom light”
}
}
And somehow only the bedroom light is being displayed rom the first frame
And the second frame is missing altogether.
I have declared all the switch items in home.items file properly
What am i supppsed to do?
@rlkoshak i checked it and it couldnt find any syntactical errors. I also tried grouping the switches and then displaying groups on sitemap as given in the demo files, but it displays just first two groups. And i would want you to know that everything was working absolutely fine till day before yesterday before openhab crashed nd i had to do a fresh installation .since then i havent been able to display the ui properly using sitemaps
Please help me out with it and this is the 5th time i have done a fresh installation of openhab in the past 24hours.
Maybe there is some binding that i need to install or something
Yes, the missing label= does seem to be a problem.
As a side note, it is so much easier for you and for us to look at and understand code when it is properly indented. when you have an { everything after that until the matching } should be indented.