Bump Huum to version 0.8.0 (#148763)

This commit is contained in:
Vincent Wolsink 2025-07-14 21:16:26 +02:00 committed by GitHub
parent 9068a09620
commit d42d270fb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 13 deletions

View File

@ -112,16 +112,8 @@ class HuumDevice(ClimateEntity):
await self._turn_on(temperature)
async def async_update(self) -> None:
"""Get the latest status data.
We get the latest status first from the status endpoints of the sauna.
If that data does not include the temperature, that means that the sauna
is off, we then call the off command which will in turn return the temperature.
This is a workaround for getting the temperature as the Huum API does not
return the target temperature of a sauna that is off, even if it can have
a target temperature at that time.
"""
self._status = await self._huum_handler.status_from_status_or_stop()
"""Get the latest status data."""
self._status = await self._huum_handler.status()
if self._target_temperature is None or self.hvac_mode == HVACMode.HEAT:
self._target_temperature = self._status.target_temperature

View File

@ -5,5 +5,5 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/huum",
"iot_class": "cloud_polling",
"requirements": ["huum==0.7.12"]
"requirements": ["huum==0.8.0"]
}

2
requirements_all.txt generated
View File

@ -1186,7 +1186,7 @@ httplib2==0.20.4
huawei-lte-api==1.11.0
# homeassistant.components.huum
huum==0.7.12
huum==0.8.0
# homeassistant.components.hyperion
hyperion-py==0.7.6

View File

@ -1032,7 +1032,7 @@ httplib2==0.20.4
huawei-lte-api==1.11.0
# homeassistant.components.huum
huum==0.7.12
huum==0.8.0
# homeassistant.components.hyperion
hyperion-py==0.7.6