mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Use PEP 695 for simple type aliases (#117633)
This commit is contained in:
@@ -115,7 +115,7 @@ class ConditionProtocol(Protocol):
|
||||
"""Evaluate state based on configuration."""
|
||||
|
||||
|
||||
ConditionCheckerType = Callable[[HomeAssistant, TemplateVarsType], bool | None]
|
||||
type ConditionCheckerType = Callable[[HomeAssistant, TemplateVarsType], bool | None]
|
||||
|
||||
|
||||
def condition_trace_append(variables: TemplateVarsType, path: str) -> TraceElement:
|
||||
|
||||
Reference in New Issue
Block a user