In my HA I use the “gauge” panel to define the thermal sensation (which is a calculation based on temperature and humidity).
This panel has the advantage of allowing us to define 3 colors based on the values.
I use one color (green) to define the pleasant thermal sensation.
I use the yellow color to identify hot.
And the red color to identify the heat considered “unbearable”.
By default it has the color blue, which I leave for the “cold” temperature range.
However, these colors are configured per panel. It would be interesting if we could define global temperature colors in the system, and all controls (panels, entities…) that were linked to a temperature device would automatically assume these colors by default.
An example, in my case, would be a button panel. Although it is linked to a temperature device (thermometer) or to my thermal sensation entity, it does not change the state colors according to the entity (which happens when I link it to an on-off type entity, for example).
My temperature, humidity and wind chill displays:
The button I would like to reflect the state (in this case, the average wind chill - I created a custom entity for this calculation):