Add missing callback decorator to event helpers (#94483)

This commit is contained in:
Erik Montnemery 2023-06-13 11:16:43 +02:00 committed by GitHub
parent aab58ad89c
commit 771a73c034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,7 @@ def _async_entity_registry_updated_filter(
@bind_hass
@callback
def async_track_entity_registry_updated_event(
hass: HomeAssistant,
entity_ids: str | Iterable[str],
@ -463,6 +464,7 @@ def _async_dispatch_device_id_event(
)
@callback
def async_track_device_registry_updated_event(
hass: HomeAssistant,
device_ids: str | Iterable[str],