first example
Switch item=Licht mappings=[OFF="alles aus"]
____________________
2nd example
Text label="Licht" icon="switch" {
Frame label="Keller" {...
...
Fensterkontakte is only items. If i press the item, no additional site with all the windows will open. You can se the little arrow in the “Licht” line.
–> If i press “Licht” i get the site with all my lights. If i press “Fensterkontakte” then nothing opens, because it only shows the value.
So i would need 2 lines for this, one line for opening the new site and one line for showing how much lights are actually powered on.
I hope you underdstand my description?
When i press “Stromzähler” then i get a chart.
Hm, i did exactly that before what you described, i added item=Licht.
–> After that the sitemap wasn´t loading any more.
So i thought this wouldn´t work. But now i see, that it is nearly the same like the Stromzähler item and the charts…
Maybe this doesn´t work, because it´s not an item? “Licht” is a group.
Or maybe the error was, that i had item= and label= in the same line? Maybe if i use item= i have to remove label= first?
Will do some tests…
EDIT:
I think that was the error. I had item and label in the same line. After removing label and adding item it works now…