mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 03:08:01 +02:00
Replace EventType with Event [t-z] (#112742)
This commit is contained in:
@ -48,7 +48,6 @@ from homeassistant.helpers.json import (
|
||||
json_bytes,
|
||||
)
|
||||
from homeassistant.helpers.service import async_get_all_descriptions
|
||||
from homeassistant.helpers.typing import EventType
|
||||
from homeassistant.loader import (
|
||||
Integration,
|
||||
IntegrationNotFound,
|
||||
@ -622,7 +621,7 @@ async def handle_render_template(
|
||||
|
||||
@callback
|
||||
def _template_listener(
|
||||
event: EventType[EventStateChangedData] | None,
|
||||
event: Event[EventStateChangedData] | None,
|
||||
updates: list[TrackTemplateResult],
|
||||
) -> None:
|
||||
track_template_result = updates.pop()
|
||||
|
Reference in New Issue
Block a user