Skip to content

use var for card colors #106

@L0bit0

Description

@L0bit0

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:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions