From 30bac30b47f70b8f6c29094682c8cb979b2aad93 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:38:20 +0000 Subject: [PATCH] Apply pre-commit auto fixes --- zhaquirks/tuya/ts0601_valve.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/zhaquirks/tuya/ts0601_valve.py b/zhaquirks/tuya/ts0601_valve.py index 845e53ed4d..ac316c7cbb 100644 --- a/zhaquirks/tuya/ts0601_valve.py +++ b/zhaquirks/tuya/ts0601_valve.py @@ -2,6 +2,16 @@ from datetime import datetime, timedelta, timezone +from zigpy.profiles import zha +from zigpy.quirks import CustomDevice +from zigpy.quirks.v2 import EntityPlatform, EntityType +from zigpy.quirks.v2.homeassistant import UnitOfTime +from zigpy.quirks.v2.homeassistant.sensor import SensorDeviceClass, SensorStateClass +import zigpy.types as t +from zigpy.zcl import foundation +from zigpy.zcl.clusters.general import Basic, Groups, Identify, OnOff, Ota, Scenes, Time +from zigpy.zcl.clusters.smartenergy import Metering + from zhaquirks import DoublingPowerConfigurationCluster from zhaquirks.const import ( DEVICE_TYPE, @@ -25,15 +35,6 @@ TuyaOnOff, TuyaPowerConfigurationCluster, ) -from zigpy.profiles import zha -from zigpy.quirks import CustomDevice -from zigpy.quirks.v2 import EntityPlatform, EntityType -from zigpy.quirks.v2.homeassistant import UnitOfTime -from zigpy.quirks.v2.homeassistant.sensor import SensorDeviceClass, SensorStateClass -import zigpy.types as t -from zigpy.zcl import foundation -from zigpy.zcl.clusters.general import Basic, Groups, Identify, OnOff, Ota, Scenes, Time -from zigpy.zcl.clusters.smartenergy import Metering class TuyaValveWaterConsumed(Metering, TuyaLocalCluster):