Update CT80 Humidity call (#25258)
Last PR was from a few versions before, not sure how I had it working, but functioning properly now on .96pull/25280/head
parent
2016cf872e
commit
ec3cb11e2f
|
@ -224,13 +224,12 @@ class RadioThermostat(ClimateDevice):
|
|||
|
||||
if self._is_model_ct80:
|
||||
try:
|
||||
humiditydata = self.device.tstat.humidity['raw']
|
||||
humiditydata = self.device.humidity['raw']
|
||||
except radiotherm.validate.RadiothermTstatError:
|
||||
_LOGGER.warning('%s (%s) was busy (invalid value returned)',
|
||||
self._name, self.device.host)
|
||||
return
|
||||
current_humidity = humiditydata['humidity']
|
||||
self._current_humidity = current_humidity
|
||||
self._current_humidity = humiditydata
|
||||
|
||||
# Map thermostat values into various STATE_ flags.
|
||||
self._current_temperature = current_temp
|
||||
|
|
Loading…
Reference in New Issue