mww012 / hass-infinitive

Infinitive Climate Integration for Home Assistant
21 stars 5 forks source link

Display Outside Temp in Home Assistant? #8

Closed trailsurfer604 closed 2 years ago

trailsurfer604 commented 2 years ago

Is it possible to display the outside temp that Infinitive pulls from the thermostat through the Home Assistant entity?

I see that climate.py does have:

ATTR_OUTDOOR_TEMP = "outdoor_temp"

and @property def device_state_attributes(self): """Return the state attributes.""" return { ATTR_CURRENT_HUMIDITY: self._current_humidity, ATTR_TARGET_HUMIDITY: self._target_humidity, ATTR_BLOWER_RPM: self._blower_rpm, ATTR_STAGE: self._stage, ATTR_OVERRIDE_DURATION: self._override_duration, ATTR_AIRFLOW_CFM: self._airflow_cfm, ATTR_OUTDOOR_TEMP: self._outdoor_temp,

But (being new to this) I can't figure out any way to actually display this through the Lovelace widget.