mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Use PEP 695 for simple type aliases (#117633)
This commit is contained in:
@@ -238,7 +238,9 @@ class OperationNotAllowed(ConfigError):
|
||||
"""Raised when a config entry operation is not allowed."""
|
||||
|
||||
|
||||
UpdateListenerType = Callable[[HomeAssistant, "ConfigEntry"], Coroutine[Any, Any, None]]
|
||||
type UpdateListenerType = Callable[
|
||||
[HomeAssistant, ConfigEntry], Coroutine[Any, Any, None]
|
||||
]
|
||||
|
||||
FROZEN_CONFIG_ENTRY_ATTRS = {
|
||||
"entry_id",
|
||||
|
||||
Reference in New Issue
Block a user