-
Notifications
You must be signed in to change notification settings - Fork 19
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
Colors of icons changing with recent versions #123
Comments
This is normal & expected in Entities card with "state_color: true" defined. |
There was some buggy behaviour around this introduced in a recent version of Home Assistant. Work is currently ongoing to determine what is the right behavior, and then to fix it. |
This was broken in 2024.3. |
@chemelli74 yes, same issue |
Sorry, I may miss something but core itself shows green color (which is correct), while template row not. |
Is there any solution to this problem? |
getting back to this, because after testing 2024.7.beta, I now also see that the active options is not set when using below config, nor is the icon properly inherited from the entity, as the documentation explains/instructs:
should light up properly (it did before) and change to the connected icon: this it the template entity row: and yes, ive also set this is the correct more info: coloring according to the theme colors, and setting the icon according to the device could it be relatively new Icon translations are not yet supported and we need to explicitly template those now? |
thanks for confirming, I wasnt sure. However, I am sure it did work when I created this card, and that was short after the private Ble were introduced, and a bit later when the state_translated was introduced. dont believe the template-entity-row has the anyways, I really hope this magic card will see an update sometime. maybe I should open a separate issue for the icon (didnt check yet if there already is one), to keep it as clear and clean as possible to track |
Added this example just in case. |
According to my log, "active" was not working by "06.04.23". |
Hi,
I hope this helps someone! |
still an issue as of 2024.10.2; thanks @maximuswallis for the workaround! |
Not sure if this is a bug or a feature, but with one of the last plugin versions & update to HA 2024.02, the colors of the icon for template-entity-rows have started changing based on the underlying entity state. I've seen yellow/amber for toggle: on and also purple in some cases.
For now, it can be cured by specifying
color: var(--paper-item-icon-color)
explicitly.I can see no such behavior on the automatically generated dashboard, so I expect that this whole color changing is not something new in the core components just being inherited to the template entity row.
Sorry for the vague description. Here an example of amber icon:
The text was updated successfully, but these errors were encountered: