mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Use PEP 695 for simple type aliases (#117633)
This commit is contained in:
@ -14,16 +14,16 @@ from .deprecation import (
|
||||
dir_with_deprecated_constants,
|
||||
)
|
||||
|
||||
GPSType = tuple[float, float]
|
||||
ConfigType = dict[str, Any]
|
||||
DiscoveryInfoType = dict[str, Any]
|
||||
ServiceDataType = dict[str, Any]
|
||||
StateType = str | int | float | None
|
||||
TemplateVarsType = Mapping[str, Any] | None
|
||||
NoEventData = Mapping[str, Never]
|
||||
type GPSType = tuple[float, float]
|
||||
type ConfigType = dict[str, Any]
|
||||
type DiscoveryInfoType = dict[str, Any]
|
||||
type ServiceDataType = dict[str, Any]
|
||||
type StateType = str | int | float | None
|
||||
type TemplateVarsType = Mapping[str, Any] | None
|
||||
type NoEventData = Mapping[str, Never]
|
||||
|
||||
# Custom type for recorder Queries
|
||||
QueryType = Any
|
||||
type QueryType = Any
|
||||
|
||||
|
||||
class UndefinedType(Enum):
|
||||
|
Reference in New Issue
Block a user