mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
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
|
@bind_hass
|
||||||
|
@callback
|
||||||
def async_track_entity_registry_updated_event(
|
def async_track_entity_registry_updated_event(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
entity_ids: str | Iterable[str],
|
entity_ids: str | Iterable[str],
|
||||||
@ -463,6 +464,7 @@ def _async_dispatch_device_id_event(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@callback
|
||||||
def async_track_device_registry_updated_event(
|
def async_track_device_registry_updated_event(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
device_ids: str | Iterable[str],
|
device_ids: str | Iterable[str],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user