Replace EventType with Event [t-z] (#112742)

This commit is contained in:
Marc Mueller 2024-03-08 19:37:26 +01:00 committed by GitHub
parent 84c44c1835
commit 3db28d46b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 31 additions and 34 deletions

View file

@ -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()