-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Icon color change beta 2.5.0-beta.6 #1266
Comments
Hi, do you have some custom styles applied to these cards? |
Hello, See below the custom style for the kitchen as an example. styles: >- .bubble-sub-button-1 > ha-icon { .bubble-sub-button-2 > ha-icon { .bubble-sub-button-3 { .bubble-sub-button-3 > ha-icon { @Keyframes slow-rotate { ${card.querySelector('.bubble-state').innerText = .bubble-icon-container::after { .bubble-icon-container { .bubble-entity-picture { // Edited, content from Patreon. |
Well, I don't see anything that modify the main icon, but this lines were misplaced, adding these in the middle of your styles was probably blocking the code below it, in v2.4.0 only. In v2.5.0 these templates can be placed anywhere, so this is the normal behavior of your custom styles. Remove everything and start fresh to see where the issue is. ${card.querySelector('.bubble-state').innerText =
parseFloat(hass.states['sensor.temperatuur_beneden'].state).toFixed(1) +
"°C"}; |
Thank you for your response. I cleared the entire custom styles, but the icon still looks different than expected. However, I now see that when the lighting is on, the icons I thought were correct are actually the wrong ones. They appear to be dimmed. |
I will check that, thank you for the details! |
@Clooos Seeing the same issue on my end with beta.6 + beta.7. Notice the icons for "Main Lights" and "Living Room". Previously all of the icons were grey when disabled like the "Main Lights" icon still is. After the update a lot of icons became brighter like "Living Room". |
I also have a similar problem of darkened icon. |
Can confirm I have the same issue on v2.5.0-beta.7 The only solution I’ve found is to add another sub button of an entity that is always enabled (in my case a climate entity), then add a visibility condition that is never true, so the sub button is always hidden. I use a blank entity state condition. This could indicate that the main icon’s brightness is affected by a sub button entity’s state. |
in reality it is much simpler. |
I’m not sure how to add a sub button without associating any entity, as it defaults to the card entity. Also, if I just hide the sub button icon and background, it is still there and can be tapped/clicked, just not visible. In another case, I have a state bubble card pointing at the weather forecast which has a dimmed icon without adding any sub buttons. The only way to brighten the icon again is by adding an entity that is “on” e.g. climate entity |
This will be fixed in the next release, don't worry 🙂 |
Describe the bug
Icon color change
Screenshots


Hey, the new beta has changed some of the icon colors on my dashboard.
If I roll back to Beta 5, the icon colors will return to normal.
Thank you!
The text was updated successfully, but these errors were encountered: