File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 3
3
from zigpy .quirks .v2 import QuirkBuilder
4
4
from zigpy .zdo .types import NodeDescriptor
5
5
6
+ from zhaquirks import DoublingPowerConfigurationCluster
6
7
from zhaquirks .nimly import NIMLY
7
8
8
9
# clears the mains powered mac capability flag
24
25
)
25
26
26
27
28
+ (
29
+ QuirkBuilder (NIMLY , "EasyFingerTouch" )
30
+ .also_applies_to (NIMLY , "EasyCodeTouch" )
31
+ .node_descriptor (NIMLY_LOCK_NODE_DESCRIPTOR )
32
+ .add_to_registry ()
33
+ )
34
+
27
35
(
28
36
QuirkBuilder (NIMLY , "NimlyPRO" )
29
37
.also_applies_to (NIMLY , "NimlyCode" )
30
38
.also_applies_to (NIMLY , "NimlyTouch" )
31
39
.also_applies_to (NIMLY , "NimlyIn" )
32
- .also_applies_to (NIMLY , "EasyFingerTouch" )
33
- .also_applies_to (NIMLY , "EasyCodeTouch" )
34
40
.node_descriptor (NIMLY_LOCK_NODE_DESCRIPTOR )
41
+ .replaces (DoublingPowerConfigurationCluster , endpoint_id = 11 )
35
42
.add_to_registry ()
36
43
)
You can’t perform that action at this time.
0 commit comments