Conditionnal CSS in simple-thermostat

Hello everybody,
First of all : happy new year for coding.
I wanted that my background card as a different color depending to a stat value
Blue for cold, orange for warm, etc.
Have you an idea of how i can do this.
In the style or ?
Thanks

Thanks for your answer.
I’m using simple-themostat and i wanted that the backgroud of the card or the temperature text changes of color when the airconditionner is heating or when it’s cooling and or when air demand is on.
Excuse my bad english (I’m french :wink: )
Happy new year