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

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],