mirror of https://github.com/home-assistant/core
Add missing callback decorator to event helpers (#94483)
This commit is contained in:
parent
aab58ad89c
commit
771a73c034
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue