Hello,
I have figured out that a binary_sensor can be displayed as light. Meaning also that the color of the icon changes in an entities card when light is on.
I use this a lot for lights that are fully automatic controlled.
Sadly I did not figure out how to do this with sensor that reads 0-100% I have also some of them for dimmable lights that are only automatic controlled.
Can you help me make them color change as the default dimmable lights icon does?
Also thought about „legacy“ template sensor but device_class lights seems to be not supported there
Should work for light and dark theme.