From 64cbe5e54e9952321ccf6f038c00f658af9979ad Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Sep 2024 16:46:38 +0000 Subject: [PATCH] Apply pre-commit auto fixes --- tests/test_nodon.py | 4 ---- zhaquirks/nodon/pilot_wire.py | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/test_nodon.py b/tests/test_nodon.py index e4f71a7afd..6b26865f5f 100644 --- a/tests/test_nodon.py +++ b/tests/test_nodon.py @@ -1,10 +1,6 @@ """Tests for NodOn.""" -from unittest import mock -from zigpy.zcl import foundation - import zhaquirks -from zhaquirks.nodon.pilot_wire import NodOnSIN4FP21 zhaquirks.setup() diff --git a/zhaquirks/nodon/pilot_wire.py b/zhaquirks/nodon/pilot_wire.py index 81a3468988..c0a724aa41 100644 --- a/zhaquirks/nodon/pilot_wire.py +++ b/zhaquirks/nodon/pilot_wire.py @@ -1,7 +1,8 @@ """NodOn pilot wire heating module.""" from zigpy.profiles import zgp, zha -from zigpy.quirks import CustomDevice, CustomCluster +from zigpy.quirks import CustomCluster, CustomDevice +import zigpy.types as t from zigpy.zcl import foundation from zigpy.zcl.clusters.general import ( Basic, @@ -12,7 +13,6 @@ Ota, Scenes, ) - from zigpy.zcl.clusters.lightlink import LightLink from zigpy.zcl.clusters.smartenergy import Metering @@ -25,8 +25,6 @@ PROFILE_ID, ) -import zigpy.types as t - class NodOnPilotWireManufacturerSpecificCluster(CustomCluster): """NodOn manufacturer specific cluster to set Pilot Wire mode"""