Skip to content

Commit

Permalink
Bump knocki to 0.4.2 (#129261)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored and frenck committed Dec 4, 2024
1 parent 33633f8 commit 139b424
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions homeassistant/components/knocki/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ async def _refresh_coordinator(_: Event) -> None:

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)
2 changes: 1 addition & 1 deletion homeassistant/components/knocki/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": ["knocki"],
"requirements": ["knocki==0.3.5"]
"requirements": ["knocki==0.4.2"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 139b424

Please sign in to comment.