mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Replace EventType with Event [helpers] (#112743)
This commit is contained in:
@@ -47,6 +47,7 @@ from homeassistant.const import (
|
||||
from homeassistant.core import (
|
||||
CALLBACK_TYPE,
|
||||
Context,
|
||||
Event,
|
||||
HassJobType,
|
||||
HomeAssistant,
|
||||
callback,
|
||||
@@ -1519,7 +1520,7 @@ class Entity(
|
||||
|
||||
@callback
|
||||
def _async_device_registry_updated(
|
||||
self, event: EventType[EventDeviceRegistryUpdatedData]
|
||||
self, event: Event[EventDeviceRegistryUpdatedData]
|
||||
) -> None:
|
||||
"""Handle device registry update."""
|
||||
data = event.data
|
||||
|
||||
Reference in New Issue
Block a user