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
|
@ -12,7 +12,7 @@ from homeassistant.core import Event, HomeAssistant
|
|||
from .const import CONTROLLER
|
||||
from .storage import async_get_entity_storage
|
||||
|
||||
IidTuple = tuple[int, int | None, int | None]
|
||||
type IidTuple = tuple[int, int | None, int | None]
|
||||
|
||||
|
||||
def unique_id_to_iids(unique_id: str) -> IidTuple | None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue