Visibility in sitemap for group

This group is for switching off all lights with state=ON.
But I only want to display it in my sitemap if there are >0 lights on.

Items:
Group:Switch:OR(ON,OFF) Beleuchtung “Beleuchtung [(%d)]”

Sitemap:
Switch item=Beleuchtung mappings=[OFF=“alles aus”] visibility=[Beleuchtung > 0]

Where’s my fault?

you could try visibility=[Beleuchtung==ON] because your group triggers to ON if on or more lights are on

Thomas

1 Like