home-assistant-variables
home-assistant-variables copied to clipboard
use var for card colors
Hi
to be honest not sure if this is an issue or I am just trying to use var incorrectly, let me explain
I have different cards to show entities graphs on different dashboards. I would like to minimize the effort when I want to change the color of an specific entities. I have created a variable with the color name I want on my entity:
temp_ext_color:
friendly_name: 'temp_ext_color'
initial_value: '#FF00FF'
icon: mdi:palette
and I can read the value from the card configuration:
But the color is not updated propertlly: it is black and shold be ink on this case...
NOTE: I have tried with '''#FF00FF''' and '#FF00FF', just in case quotes was the issue.
I am using right? can be used for this? if not, any idea what i can do?
thansk
What versions of HA and var integration are you using?
How are you trying to update the variable entity?