mirror of
https://github.com/home-assistant/core.git
synced 2026-10-08 23:36:09 -04:00
Disconnect keenetic_ndms2 router signal on unload (#183279)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,9 @@ async def async_setup_entry(
|
||||
|
||||
async_add_entities(restored)
|
||||
|
||||
async_dispatcher_connect(hass, router.signal_update, update_from_router)
|
||||
config_entry.async_on_unload(
|
||||
async_dispatcher_connect(hass, router.signal_update, update_from_router)
|
||||
)
|
||||
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user