Hey Thank you all for Openhab!
So, im trying to make an informative section in my sitemap, where i can just click and see information on all things that are on and off in the iOS Openhab app.
Like this:
Text item=light_livingroom label="Light in livingroom is on" visibility=[livingroom_light!=OFF] icon="info"
wich will give me a textline when the light in livingroom is on in the info section,
Now i want to make an "All lights are off"
but i cant figure out the code to use
i tried this code, but it gives me all lights are off whenever i turn one off and has one on aswell… (not really usefull)
Text item=all_lights label="All lights are off!" visibility=[livingroom!=ON, bathroom!=ON] icon="info"
Thanks in advance