mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
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 .96
This commit is contained in:
parent
53954d6f8f
commit
be56851feb
@ -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…
x
Reference in New Issue
Block a user