Add custom data on generic thermostat

Hi all,
I am using generic thermostat and get the reference temperature from a xiaomi sensor which also display humidity and pressure. Is there any way to display these infos on the thermostat as well?
Thanks

Only if you use a custom thermostat card like this:

1 Like

Ok, second question. Is there a way to change collors on generic thermostat based on it s status? I mean to be red when heating and green when is idle ?
Thanks

Yes it is. Use these theme variables:

  ### Climate devices ###
  state-climate-heat-color: "#FF6262" # red
  state-climate-cool-color: "#039BE5" # blue
  state-climate-fan_only-color: "#0da035" # green
  state-climate-dry-color: "#e0b400" # yellow
  state-climate-auto-color: "ff8100" # orange

Idle is linked to disabled-text-color.

1 Like

Sorry for stupid question, should I add those in thermostat section on configuration yaml?
thanks

No. Those are theme variables.