Hi,
I have an Entity Filter card set to list some entities if they fail (ping/backup checks) and I would like to make them appear in red text/icon when they do, but have no idea if possible or how.
card:
type: entity-filter
show_empty: false
entities:
... list of entities here cut for brevity
state_filter:
- 'off'
card:
type: entities
example here, if the borgmatic entity was in red it’d be more visible.
So the card is usually invisible and if one of the switches goes off it appears, but it’s in normal theme colors and I wouuld like it to stand out more so I can see something’s up (well down ) at a glance.
Glad it’s working, card_mod is great for a lot of things. Another to achieve what you wanted is just to put those theme settings you want to override in another theme and then select that theme in the entities card. It’s especially useful if you want to do the same thing in a number of places.
So I added the card mod thing in my cards (according to the instructions for the cards without ha-card element), and assumed it’s just gonna work, but as I just noticed it still doesn’t. Am I using it right?
The entity-filter card is providing a list of entities to the entities card. The entities card is displaying them. I’d try applying card-mod, as normal, to the entities card definition and dropping mod-card altogether.