mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Use PEP 695 for simple type aliases (#117633)
This commit is contained in:
@@ -22,7 +22,7 @@ DATA_LOCATION_CACHE: HassKey[
|
||||
|
||||
ELEVATION_AGNOSTIC_EVENTS = ("noon", "midnight")
|
||||
|
||||
_AstralSunEventCallable = Callable[..., datetime.datetime]
|
||||
type _AstralSunEventCallable = Callable[..., datetime.datetime]
|
||||
|
||||
|
||||
@callback
|
||||
|
||||
Reference in New Issue
Block a user