I’m trying to add a card for the “Entity Status” to my dashboard. This should only be displayed if Pi-Hole FTL OR Pi-Hole Web GUI OR Pi-Hole Core is available. However, if I understand the editor correctly, I can include multiple conditions, but only in a way where ALL conditions must be true, not OR. Is there a way I can link the three items with an OR condition?
One way would be to create a helper toggle that OR’s the 2 states, and allow visibility based on that toggle.
I’m not a dashboard guy, but that would be the easiest for me.
Not needed for longer time already now, if we are talking about the same thing.
Offerel, can you specify, where and what you are testing. OR is available in the UI editor and via yaml.
For example, i have created a custom dashboard. I have added a Entity card. In this card are 3 Entities:
Core-Update Up-to-date
FTL-Update Up-to-date
Web-Update Up-to-date
This will be visible everytime. Now i want to change it so, that it is only visible when 1 of these 3 switch from “Up-to-date” to “available”. For this i go to the tab “Visibility” and i can choose the entitys. The explanation on that tab means
The card will be shown when ALL conditions below are fulfilled. If no conditions are set, the card will always be shown.
This means for me, only when all of the 3 switch to “available”, the card is visible. ALL is in my eyes the opposite to OR. Maybe i get this wrong.
Assume you mean entities and not entity card?
Anyway. As said. There is OR in the visibility options.
Last one here in my German list.
With usage of those:
This is then that way in yam (not 1:1 to screenshot above, another example for screenshot):
type: entities
entities:
- entity: sun.sun
- entity: sensor.moon_age
- entity: sensor.moon_phase
visibility:
- condition: or
conditions:
- condition: state
entity: sensor.moon_phase
state: full_moon
- condition: state
entity: sensor.moon_phase
state: last_quarter
Ahh ok. Das hab ich irgendwie total ignoriert/nicht gesehen. Danke für die Screens und das yaml.

