Upgrade from 0.104.3 to 0.105.2 this morning, and I’ve now spent a couple of hours trying to get my head around the state_color change. I’m using the default theme.
My understanding from the release notes was that this change would stop icons changing color dependent on state, and that this new default behaviour could be overridden using ‘state_color’ within the card code.
My frontend relies heavily on conditional entity-button cards, and after upgrading all of the cards (regardless of entity type) now show the icon in yellow regardless of entity type or any consistency on state.
I’m clearly not understanding the implications of this change - can someone please give me some pointers?
For completeness, here is a sample of the card layout that I’m looking to disable state_color in.
Cut from within a vertical and horizontal stack, but this is the syntax for all the problem cards.
As an alarm_control_panel it is highlighted in yellow (I’m using the default theme) when disarmed.