Is your feature request related to a problem? Please describe.
You already have a show_state and state_color variables which is great, it feels like the only thing that is missing to clean up the code is ability to quickly change the colour of an icon. At the moment the only way I found to do this is using templates (not currently working for me issue #344 ) or styling the icon by checking for the state of the entity using jinja templates per entity. Gets messy. Why not just have a variable to change the colour of the icon if the entity is on? It seems like this is something that everybody is going to want to do.
Have you tried if it is already a feature? Have you checked the wiki?
Is your feature request related to a problem? Please describe.
You already have a
show_state
andstate_color
variables which is great, it feels like the only thing that is missing to clean up the code is ability to quickly change the colour of an icon. At the moment the only way I found to do this is using templates (not currently working for me issue #344 ) or styling the icon by checking for the state of the entity using jinja templates per entity. Gets messy. Why not just have a variable to change the colour of the icon if the entity is on? It seems like this is something that everybody is going to want to do.Have you tried if it is already a feature? Have you checked the wiki?
Currently the way I'm achieving this is:
Describe the solution you'd like
It would be so much cleaner if I could do something like this:
Describe alternatives you've considered
I've already tried templating the card but it appears the template engine has bugs. See issue #344
Additional context none