Hello,
i googled a lot and search in community but i don’t find answer to this question.
I use a card (Verticale stak) with entities as button (in order to navigate between tabs).
here is my code :
type: vertical-stack
cards:
- type: entities
entities:
- type: buttons
entities:
- entity: person.guillaume
tap_action:
action: navigate
navigation_path: /lovelace/presence
state_filter:
home: grayscale(0%)
not_home: grayscale(100%)
- entity: person.steph
state_color: true
tap_action:
action: navigate
navigation_path: /lovelace/presence
- entity: person.hugo
state_color: true
tap_action:
action: navigate
navigation_path: /lovelace/presence
- entity: person.noa
state_color: true
tap_action:
action: navigate
navigation_path: /lovelace/presence
and what is looks like :
I just want to show grayscale image if person status is not ‘home’
I try to use state_filter option but without success.
I there a solution to show state as i like ?
Thanks.