iantrich / config-template-card

📝 Templatable Lovelace Configurations
MIT License
434 stars 56 forks source link

Allow templating styles #57

Closed shbatm closed 2 years ago

shbatm commented 3 years ago

Is your feature request related to a problem? Please describe. Changing the colors of the icons for a Picture Entities card requires changing them in the style: section but it doesn't appear that you can use the templates in this section.

Describe the solution you'd like Add support for templates in the style section.

Describe alternatives you've considered Using state icons from the built-in Picture Elements state-icon type. This won't work for setting different colors based on a custom sensor's state, which doesn't have an "on" state.

Additional context Let me know if you need more info.

iantrich commented 2 years ago

works in 1.3.4