Use EventType for system events (#115190)

This commit is contained in:
Marc Mueller
2024-04-08 20:25:34 +02:00
committed by GitHub
parent a52a80f806
commit 6116f11e6c
5 changed files with 21 additions and 10 deletions

View File

@ -3,7 +3,7 @@
from collections.abc import Mapping
from enum import Enum
from functools import partial
from typing import Any
from typing import Any, Never
import homeassistant.core
@ -20,6 +20,7 @@ DiscoveryInfoType = dict[str, Any]
ServiceDataType = dict[str, Any]
StateType = str | int | float | None
TemplateVarsType = Mapping[str, Any] | None
NoEventData = Mapping[str, Never]
# Custom type for recorder Queries
QueryType = Any