Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99113

A 'negative' state_filter in a picture_entity card (a catch all/ default filter)

$
0
0

@fribse wrote:

I’ve set up the a home/not_home indication for the family members.
As the sensor for person has multiple states, not just ‘home’ / ‘not_home’ it would be great to have a state_filter that says ‘home’ for one setting, and anything else, ie ‘not(home)’ for another setting.
I currently have to set a ‘default’ image that marks people as not home, and then add a state_image that is set for the state ‘home’.
That seems to handle it, but requires for me to have created two images, and if I want to change the visual marking of home/not_home it has to be done with the images, and not just css filters.
It could be handled with a default filter setting maybe?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 99113

Trending Articles