Update typing (3) [k-t] (#63924)
This commit is contained in:
parent
bcb93d95bb
commit
fa7e787415
12 changed files with 28 additions and 28 deletions
|
@ -2,7 +2,7 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from collections import defaultdict
|
||||
from typing import Final, Literal, Tuple, TypedDict
|
||||
from typing import Final, Literal, TypedDict
|
||||
|
||||
from homeassistant.const import Platform
|
||||
|
||||
|
@ -65,7 +65,7 @@ GatewayId = str
|
|||
#
|
||||
# Gateway may be fetched by giving the gateway id to get_mysensors_gateway()
|
||||
|
||||
DevId = Tuple[GatewayId, int, int, int]
|
||||
DevId = tuple[GatewayId, int, int, int]
|
||||
# describes the backend of a hass entity. Contents are: GatewayId, node_id, child_id, v_type as int
|
||||
#
|
||||
# The string version of v_type can be looked up in the enum gateway.const.SetReq of the appropriate BaseAsyncGateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue