I’m trying to overlay an icon on my picture-elements setup and I want to customize the on and off colors. Right now, the entity and icon is a light/light bulb, and the resulting icon is either blue when off, or some shade of yellow when on, depending on brightness.
I just want to be able to control the color.
- type state-icon
entity: light.workshop
style:
top: 20%
left: 20%
Now, how do I change the color of this icon based upon the state of the entity?