1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update EventBus listen type signatures (#112760)

This commit is contained in:
Marc Mueller
2024-03-08 21:57:23 +01:00
committed by GitHub
parent cef20506dc
commit de886d8c49
11 changed files with 27 additions and 31 deletions

View File

@@ -1380,8 +1380,8 @@ def _async_setup_cleanup(hass: HomeAssistant, registry: EntityRegistry) -> None:
hass.bus.async_listen(
event_type=lr.EVENT_LABEL_REGISTRY_UPDATED,
event_filter=_label_removed_from_registry_filter, # type: ignore[arg-type]
listener=_handle_label_registry_update, # type: ignore[arg-type]
event_filter=_label_removed_from_registry_filter,
listener=_handle_label_registry_update,
)
@callback