Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use var for card colors #106

Open
L0bit0 opened this issue Feb 27, 2024 · 1 comment
Open

use var for card colors #106

L0bit0 opened this issue Feb 27, 2024 · 1 comment

Comments

@L0bit0
Copy link

L0bit0 commented Feb 27, 2024

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

@snarky-snark
Copy link
Owner

What versions of HA and var integration are you using?

How are you trying to update the variable entity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants