Use PEP 695 for simple type aliases (#117633)
This commit is contained in:
parent
4edee94a81
commit
87bb7ced79
78 changed files with 139 additions and 140 deletions
|
@ -37,19 +37,19 @@ ZEROCONF_MAP: Final[dict[str, str]] = {
|
|||
"stretch": "Stretch",
|
||||
}
|
||||
|
||||
NumberType = Literal[
|
||||
type NumberType = Literal[
|
||||
"maximum_boiler_temperature",
|
||||
"max_dhw_temperature",
|
||||
"temperature_offset",
|
||||
]
|
||||
|
||||
SelectType = Literal[
|
||||
type SelectType = Literal[
|
||||
"select_dhw_mode",
|
||||
"select_gateway_mode",
|
||||
"select_regulation_mode",
|
||||
"select_schedule",
|
||||
]
|
||||
SelectOptionsType = Literal[
|
||||
type SelectOptionsType = Literal[
|
||||
"dhw_modes",
|
||||
"gateway_modes",
|
||||
"regulation_modes",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue