Hello,
I’m trying to configure my tile card icon color to match the entity state.
I’m wondering, why template are not working to set my tile-card icon color ?
type: tile
entity: sensor.rte_tempo_couleur_actuelle
icon: mdi:lightning-bolt-circle
color: 'red'
this works:
but if I try to templage the color:
type: tile
entity: sensor.rte_tempo_couleur_actuelle
icon: mdi:lightning-bolt-circle
color: "{{ 'red' }}"
this time it’s not working :
Templating is not supposed to work on evey field ?
(of course I need to do a more compex template to remap my french colors in english, but i already tested it in template toolbox)
Thanks.