WTH can't we change color of entities based on state

I have a sensor with multiple values.

image

It’s more specific than a binary sensor and because of that it does not have any colouring based on the value.
I wish I could attribute colours to it based on each state it can have directly on the entity.

It gets especially confusing when you have something like an air conditioner that has to use the default colors of yellow (warm) for “on” and blue (cold) for “off”, which is pretty backwards. The colors for the on and off state should be easily customizable without Card Mod.

Therefore this is an issue, even for binary sensors.

2 Likes

They are. You just add this to your theme:

  state-climate-auto-color: '#ff8000' # orange
  state-climate-cool-color: '#039be5' # blue
  state-climate-dry-color: '#e0b400' # yellow
  state-climate-fan_only-color: '#0da035' # green
  state-climate-heat-color: '#e45e65' # red
  state-climate-heat-cool-color: '#b200ff' # purple
  state-climate-idle-color: '#395274' # dark blue-grey

No card-mod required.

This has nothing to do with mguaylam`s WTH though. That is a completely different issue.

3 Likes

We have hiding/showing things with conditions in our dashboard. Can we please have the same control but with colors for each entity.

I want my entity icon color to change when temperature changes. Or have the entity become red to alert me there is an issue. I want all this to be done in UI just by clicking on the entity.

We have Customize Global, perhaps it’s time to move that into ui so I can easily set all my motion sensors to have specific icon and color conditions

… yes I know I can do this manually with customize global, custom-ui, or write some conditional yaml in my cards. It’s just annoying that this is not part of the core with easy editing.