Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CT80 Humidity call #25258

Merged
merged 1 commit into from Jul 18, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Update CT80 Humidity call

Last PR was from a few versions before, not sure how I had it working, but functioning properly now on .96
  • Loading branch information...
zombielinux committed Jul 18, 2019
commit ac269881c3280e506438b5207e80e33f1f5f8dc3
@@ -224,13 +224,12 @@ def update(self):

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
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.