How to disable icon matching color temperature

How do we disable this feature that was recently added:

This makes light icon colors try to match the color temperature. Having this feature added really throws off the look of my lovelace. Now I have light icons that turn to white and disappear on my white card background. And I’ve lost uniformity with lights that aren’t color temp tunable.

I do not see that mentioned in the Release Notes. If it is in a released version it should have been documented/ The Issue you pointed to said it was merged into dev or beta… That code is not usually used in production and any issues reported on GitHub or Discord.

I believe it was added in 2021.9. I can’t find any mention of it it the release notes either, but I’m not the only one that noticed the change:

This appears to now be applied to any lights with a color temperature setting

1 Like

Any fix how I can disable this ‘feature’?

I want the light icon color to be the same regardless of the brightness, color temperature or RGB color. If a light is turned on I want it to be yellow, if it’s turned off grey anything else or in-between.

I also give up. My Nanoleaf Icon is somehow based on brightness. Tried everything (card-mod, themes, …) to get the state icon just yellow, if my Nanoleaf is on. Im lost now and any advice is pretty much appreciated.

Huge card-mod thread - 1st post - link at the bottom - styling light row

That info could be a bit outdated (at least - do not use paper-input-item-active-color); check if it still works. Myself cannot check it right now.

Thanks. This did it finally :slight_smile:

            card_mod:
              style:
                state-badge $: |
                  ha-state-icon {
                    {% if is_state(config.entity,'on') %}
                      color: var(--state-light-active-color) !important;
                      filter: none !important;
                    {% endif %}
                  }