Change color of icon in Entities card title


I am using an Entities card configured using the ‘icon’ configuration variable so that the card is displayed with an icon to the left of the title.

What I would like to do is be able to change the color of the icon depending on the state of an entity.

Is this possible, and if so, how?


1 Like