Bump knocki to 0.4.2 (#129261)

pull/132274/head
Joost Lekkerkerker 2024-12-04 14:56:42 +01:00 committed by GitHub
parent 977d8fd1c8
commit d88f6dc6b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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

@ -1247,7 +1247,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

@ -1046,7 +1046,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