Skip to content

Commit d42d270

Browse files
Bump Huum to version 0.8.0 (home-assistant#148763)
1 parent 9068a09 commit d42d270

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

homeassistant/components/huum/climate.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,8 @@ async def async_set_temperature(self, **kwargs: Any) -> None:
112112
await self._turn_on(temperature)
113113

114114
async def async_update(self) -> None:
115-
"""Get the latest status data.
116-
117-
We get the latest status first from the status endpoints of the sauna.
118-
If that data does not include the temperature, that means that the sauna
119-
is off, we then call the off command which will in turn return the temperature.
120-
This is a workaround for getting the temperature as the Huum API does not
121-
return the target temperature of a sauna that is off, even if it can have
122-
a target temperature at that time.
123-
"""
124-
self._status = await self._huum_handler.status_from_status_or_stop()
115+
"""Get the latest status data."""
116+
self._status = await self._huum_handler.status()
125117
if self._target_temperature is None or self.hvac_mode == HVACMode.HEAT:
126118
self._target_temperature = self._status.target_temperature
127119

homeassistant/components/huum/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"config_flow": true,
66
"documentation": "https://www.home-assistant.io/integrations/huum",
77
"iot_class": "cloud_polling",
8-
"requirements": ["huum==0.7.12"]
8+
"requirements": ["huum==0.8.0"]
99
}

requirements_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

requirements_test_all.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)