We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bfbd04 commit 69bdc15Copy full SHA for 69bdc15
1 file changed
zhaquirks/develco/emi_p1.py
@@ -2,6 +2,8 @@
2
3
from zigpy.quirks.v2 import QuirkBuilder
4
5
+from zhaquirks import PowerConfigurationCluster
6
+
7
(
8
QuirkBuilder("frient A/S", "EMIZB-151")
9
# These endpoints are duplicates and completely broken: each one is a "mirror" of
@@ -11,5 +13,10 @@
11
13
.prevent_default_entity_creation(endpoint_id=65)
12
14
.prevent_default_entity_creation(endpoint_id=66)
15
.prevent_default_entity_creation(endpoint_id=67)
16
+ # No need for battery entity as the device is powered from the meter.
17
+ .prevent_default_entity_creation(
18
+ endpoint_id=2,
19
+ cluster_id=PowerConfigurationCluster.cluster_id,
20
+ )
21
.add_to_registry()
22
)
0 commit comments