We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae74966 commit 33228f8Copy full SHA for 33228f8
zhaquirks/linkind/__init__.py
@@ -4,17 +4,7 @@
4
from zigpy.zcl.clusters.general import Basic
5
6
7
-class LinkindLeakMode(t.enum8):
8
- """Linkind Leak Sensor mode enum."""
9
-
10
- Siren_Off_LED_Off = 0x00
11
- Siren_Off_LED_On = 0x01
12
- Siren_On_LED_Off = 0x02
13
- Siren_On_LED_On = 0x03
14
15
16
class LinkindBasicCluster(CustomCluster, Basic):
17
"""Linkind Basic cluster."""
18
19
- attributes = Basic.attributes.copy()
20
- attributes.update({0x0400A: ("siren_LED_mode", LinkindLeakMode)})
+ manufacturer_attributes = {0x0400A: ("linkind", t.uint8_t)}
0 commit comments