Skip to content

Commit 6ca533c

Browse files
Apply pre-commit auto fixes
1 parent e9e5297 commit 6ca533c

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

tests/test_platform_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from zigpy.device import Device as ZigpyDevice
88
from zigpy.profiles import zha
9-
from zigpy.zcl.clusters import general, hvac
9+
from zigpy.zcl.clusters import general
1010
import zigpy.zdo.types as zdo_t
1111

1212
from tests.common import (

zha/application/platforms/event.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
from __future__ import annotations
44

55
import functools
6-
from typing import TYPE_CHECKING, Any, cast
6+
from typing import TYPE_CHECKING, Any
77

88
from zha.application import Platform
9-
from zha.application.platforms import (
10-
BaseEntity,
11-
EntityStateChangedEvent,
12-
PlatformEntity,
13-
)
9+
from zha.application.platforms import EntityStateChangedEvent, PlatformEntity
1410
from zha.application.registries import PLATFORM_ENTITIES
1511
from zha.const import STATE_CHANGED
1612
from zha.zigbee.cluster_handlers.const import (
@@ -20,7 +16,6 @@
2016
from zha.zigbee.cluster_handlers.general import (
2117
ClientClusterHandler,
2218
ClusterHandlerCommandEvent,
23-
LevelControlClientClusterHandler,
2419
)
2520

2621
if TYPE_CHECKING:

zha/application/platforms/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
from zha.exceptions import ZHAException
2020
from zha.zigbee.cluster_handlers import ClusterAttributeUpdatedEvent
2121
from zha.zigbee.cluster_handlers.const import (
22+
CLIENT_CLUSTER_HANDLER_OTA,
2223
CLUSTER_HANDLER_ATTRIBUTE_UPDATED,
2324
CLUSTER_HANDLER_OTA,
24-
CLIENT_CLUSTER_HANDLER_OTA,
2525
)
2626
from zha.zigbee.endpoint import Endpoint
2727

0 commit comments

Comments
 (0)