Why does my entity not turn yellow in entities card when on?

I have some binary_sensors I have created in AppDAemon scripts to assess whether certain appliances are on.

If I open the details about the binary_sensor, I can see that it turns yellow when on (top part of screenshot). But in the card I have, it does not (it’s the one called “dryer” in the card you can see behind, at the bottom of the screenshot):

Why the heck is that?

Edit the card and turn on the toggle “colour icons by state”. It is off by default despite everyone disagreeing with the frontend developers about this.

1 Like

What a headache, especially since this was a custom:tabbed-card, so I had to find a “standard” card and view in “show code editor” to even figure out what to write in yaml to achieve this (as there’s no UI switch available). Thanks!

For anyone searching, you need to add:

state_color: true

under the correct indentation.