Skip to content

Commit 33228f8

Browse files
authored
Revert linkind attrib enum (#1309)
After testing again with change it didn't work
1 parent ae74966 commit 33228f8

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

zhaquirks/linkind/__init__.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,7 @@
44
from zigpy.zcl.clusters.general import Basic
55

66

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-
167
class LinkindBasicCluster(CustomCluster, Basic):
178
"""Linkind Basic cluster."""
189

19-
attributes = Basic.attributes.copy()
20-
attributes.update({0x0400A: ("siren_LED_mode", LinkindLeakMode)})
10+
manufacturer_attributes = {0x0400A: ("linkind", t.uint8_t)}

0 commit comments

Comments
 (0)