Skip to content

Define the state that a state_color turns an icon yellow. #6605

@gregg098

Description

@gregg098

The request

On my main Lovelace screen, I have a horizontal stack with three button cards. Each button is a person entity. The tap action navigates to the map screen. Everything works as expected, except that if I change "state_color" to true, nothing changes for these entities. It would be nice to have it turn yellow (like when a switch is on) when "home" or maybe the ability to define what state that a state_color activates on for entities that aren't just switches/binary.

This applies to all card types that support state_color

The alternatives

I have looked into some template sensors with template icons and things like that, and it works OK, but it would still be a nice feature to just work out of the box.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions