Skip to content

Commit

Permalink
Merge branch 'release/0.0.30'
Browse files Browse the repository at this point in the history
  • Loading branch information
dmulcahey committed Dec 26, 2019
2 parents f58654e + 7000617 commit c13b720
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import find_packages, setup

VERSION = "0.0.29"
VERSION = "0.0.30"


def readme():
Expand Down
4 changes: 2 additions & 2 deletions zhaquirks/smartthings/moisturev4.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Device handler for smartthings moistureV4 sensor."""
from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
from zigpy.quirks import CustomCluster, CustomDevice
from zigpy.zcl.clusters.general import Basic, BinaryInput, Identify, Ota, PollControl
from zigpy.zcl.clusters.measurement import TemperatureMeasurement
from zigpy.zcl.clusters.security import IasZone
Expand All @@ -18,7 +18,7 @@
)


class CustomIasZone(IasZone):
class CustomIasZone(CustomCluster, IasZone):
"""Custom IasZone cluster."""

MOISTURE_TYPE = 0x002A
Expand Down
5 changes: 3 additions & 2 deletions zhaquirks/xiaomi/aqara/wleak_aq1.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Xiaomi aqara leak sensor device."""
from zigpy.profiles import zha
from zigpy.quirks import CustomCluster
from zigpy.zcl.clusters.general import Identify, Ota
from zigpy.zcl.clusters.security import IasZone

from .. import LUMI, BasicCluster, PowerConfigurationCluster, XiaomiCustomDevice
from ...const import (
DEVICE_TYPE,
ENDPOINTS,
Expand All @@ -12,9 +12,10 @@
OUTPUT_CLUSTERS,
PROFILE_ID,
)
from .. import LUMI, BasicCluster, PowerConfigurationCluster, XiaomiCustomDevice


class CustomIasZone(IasZone):
class CustomIasZone(CustomCluster, IasZone):
"""Custom IasZone cluster."""

MOISTURE_TYPE = 0x002A
Expand Down

0 comments on commit c13b720

Please sign in to comment.