Bump pysaunum to 0.3.0 (#161255)

This commit is contained in:
mettolen
2026-01-20 09:31:48 +02:00
committed by GitHub
parent 2ec6c08bd7
commit d828130670
5 changed files with 5 additions and 5 deletions

View File

@@ -44,6 +44,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: LeilSaunaConfigEntry) ->
async def async_unload_entry(hass: HomeAssistant, entry: LeilSaunaConfigEntry) -> bool:
"""Unload a config entry."""
if unload_ok := await hass.config_entries.async_unload_platforms(entry, PLATFORMS):
entry.runtime_data.client.close()
await entry.runtime_data.client.async_close()
return unload_ok

View File

@@ -51,7 +51,7 @@ async def validate_input(data: dict[str, Any]) -> None:
# Try to read data to verify communication
await client.async_get_data()
finally:
client.close()
await client.async_close()
class LeilSaunaConfigFlow(ConfigFlow, domain=DOMAIN):

View File

@@ -8,5 +8,5 @@
"iot_class": "local_polling",
"loggers": ["pysaunum"],
"quality_scale": "platinum",
"requirements": ["pysaunum==0.2.0"]
"requirements": ["pysaunum==0.3.0"]
}

2
requirements_all.txt generated
View File

@@ -2377,7 +2377,7 @@ pysabnzbd==1.1.1
pysaj==0.0.16
# homeassistant.components.saunum
pysaunum==0.2.0
pysaunum==0.3.0
# homeassistant.components.schlage
pyschlage==2025.9.0

View File

@@ -2012,7 +2012,7 @@ pyrympro==0.0.9
pysabnzbd==1.1.1
# homeassistant.components.saunum
pysaunum==0.2.0
pysaunum==0.3.0
# homeassistant.components.schlage
pyschlage==2025.9.0