Update typing 14 (#48078)
This commit is contained in:
parent
7d196abc4a
commit
dcca29ef68
73 changed files with 614 additions and 521 deletions
|
@ -1,7 +1,8 @@
|
|||
"""All constants related to the ZHA component."""
|
||||
from __future__ import annotations
|
||||
|
||||
import enum
|
||||
import logging
|
||||
from typing import List
|
||||
|
||||
import bellows.zigbee.application
|
||||
from zigpy.config import CONF_DEVICE_PATH # noqa: F401 # pylint: disable=unused-import
|
||||
|
@ -203,7 +204,7 @@ class RadioType(enum.Enum):
|
|||
)
|
||||
|
||||
@classmethod
|
||||
def list(cls) -> List[str]:
|
||||
def list(cls) -> list[str]:
|
||||
"""Return a list of descriptions."""
|
||||
return [e.description for e in RadioType]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue