Update typing 14 (#48078)
This commit is contained in:
parent
7d196abc4a
commit
dcca29ef68
73 changed files with 614 additions and 521 deletions
|
@ -1,11 +1,13 @@
|
|||
"""Device for Zigbee Home Automation."""
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from datetime import timedelta
|
||||
from enum import Enum
|
||||
import logging
|
||||
import random
|
||||
import time
|
||||
from typing import Any, Dict
|
||||
from typing import Any
|
||||
|
||||
from zigpy import types
|
||||
import zigpy.exceptions
|
||||
|
@ -275,7 +277,7 @@ class ZHADevice(LogMixin):
|
|||
self._available = new_availability
|
||||
|
||||
@property
|
||||
def zigbee_signature(self) -> Dict[str, Any]:
|
||||
def zigbee_signature(self) -> dict[str, Any]:
|
||||
"""Get zigbee signature for this device."""
|
||||
return {
|
||||
ATTR_NODE_DESCRIPTOR: str(self._zigpy_device.node_desc),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue