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

Climate color based change on hvac_action #1322

Open
SylvainDx opened this issue Mar 10, 2025 · 0 comments
Open

Climate color based change on hvac_action #1322

SylvainDx opened this issue Mar 10, 2025 · 0 comments

Comments

@SylvainDx
Copy link

Hello,

I'm not sure this is an issue for this git or another, i'm sorry if i'm at the wrong place.

So lately there was a change on marvinroger/hass-addon-tiko#25

Basicly they change the how you read state

Image
before that a climate entity was heat if heating and off the rest of the time no matter the prestets.
Now it's only off when offline.

and a new attribute hvac_action as been created with 'off' 'idle' or 'heating' value.

at this point I lost track with what i did in the past and my brain won't go back online for now ... :(

I colored my button with this stlyling option :
.bubble-icon {
color: ${hass.states['climate.salon_heating'].state === 'heat' ? 'orange' : 'white'} !important;
}

what can i do to grab the new attribute ?

Thank you so much for your help !
by the way is this change for all kind of climate or is it just a "tiko" special ?

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

1 participant