Widget Temp color based on thermostat status

Hi all

Is there a way to change the Widget Temp color based on thermostat status?
I would like to have it red when thermostat status is set on Heat and green when in Idle.

Any help?

Thanks

do you mean the temperature widget?
and what do you like to change color? the background?

the option isnt there at the moment, but there are some things that will come in the (near) future.
i ask, because i dont want to promise you something that isnt coming or even possible.

1 Like

Yes, something general that allows this kind of thing is planned.

2 Likes

Yes, I mean the thermostat temp widget, the one with plus and minus signs.
Either colors, background or text one, having the possibility to choose the color for idle and heat mode.
It would be great also if can be triggered the away mode.
BTW, I have a Netatmo thermostat, but should be the same with other thermostats in HA.
Thanks

hmm, i think you are talking about the climate widget?
the temperature widget doesnt have + and - signs :wink:

not all climate components have an away state

but changing the color from the background of a widget based on a state is on the list from Andrew as he stated.

Ok thanks

I think that if I can change the background (or text) color of a widget based on some other state would be fine!!!

I’m realizing that probably I was not so clear.

The background/text color I am speaking about is the one in HADashboard, not in the “standard” HA dashboard.

Is there a way to interact with it from Automation or script?

Now I have created an automation that trigger the Netatmo state:

- id: netatmo_mode_heat
  alias: Netatmo Mode Heat
  trigger:
platform: state
entity_id: climate.termostato
from: 'idle'
to: 'heat'
  action:
service: notify.telegram
data:
  message: "Netatmo now is  {{ states('climate.termostato') }}"

and it’s working fine.

you cant interact with the dashboard by a script.
and we understood that you were talking about the HAdashboard and not the HA frontend.

1 Like