Bump knocki to 0.4.2 (#129261)

This commit is contained in:
Joost Lekkerkerker 2024-12-04 14:56:42 +01:00 committed by Franck Nijhof
parent 33633f885d
commit 139b424717
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
4 changed files with 5 additions and 6 deletions

View File

@ -41,13 +41,12 @@ async def async_setup_entry(hass: HomeAssistant, entry: KnockiConfigEntry) -> bo
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
entry.async_create_background_task(
hass, client.start_websocket(), "knocki-websocket"
)
await client.start_websocket()
return True
async def async_unload_entry(hass: HomeAssistant, entry: KnockiConfigEntry) -> bool:
"""Unload a config entry."""
await entry.runtime_data.client.close()
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)

View File

@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": ["knocki"],
"requirements": ["knocki==0.3.5"]
"requirements": ["knocki==0.4.2"]
}

View File

@ -1250,7 +1250,7 @@ kegtron-ble==0.4.0
kiwiki-client==0.1.1
# homeassistant.components.knocki
knocki==0.3.5
knocki==0.4.2
# homeassistant.components.knx
knx-frontend==2024.11.16.205004

View File

@ -1049,7 +1049,7 @@ justnimbus==0.7.4
kegtron-ble==0.4.0
# homeassistant.components.knocki
knocki==0.3.5
knocki==0.4.2
# homeassistant.components.knx
knx-frontend==2024.11.16.205004