Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump knocki to 0.4.2 #129261

Merged
merged 3 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1244,7 +1244,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.9.10.221729
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,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.9.10.221729
Expand Down