Replace EventType with Event [t-z] (#112742)
This commit is contained in:
parent
84c44c1835
commit
3db28d46b2
10 changed files with 31 additions and 34 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue