Invert the icon state color

Hi there,
is there a way to invert the sensors state icon color?

to be more specific:
grafik

The icon from this sensor (Charging cable / Locked or Unlocked) will be shown in color when it is unlocked.
But I would like it to be shown in color, when it is locked…
Is there a way to do that in lovelace directly? or do I need to create an template sensor for this somehow?

2 Likes

feature-request done:

4 Likes

I am looking for this feature too.

1 Like