33from zigpy .profiles import zha
44from zigpy .quirks import CustomDevice
55from zigpy .zcl .clusters .general import Basic , Identify , Ota , PollControl
6+ from zigpy .zcl .clusters .homeautomation import Diagnostic
67from zigpy .zcl .clusters .measurement import TemperatureMeasurement
78from zigpy .zcl .clusters .security import IasZone
89
1819)
1920from zhaquirks .samjin import SAMJIN
2021
21- DIAGNOSTICS_CLUSTER_ID = 0x0B05 # decimal = 2821
2222MANUFACTURER_SPECIFIC_CLUSTER_ID = 0xFC0F # decimal = 64527
2323MANUFACTURER_SPECIFIC_PROFILE_ID = 0xC2DF # decimal = 49887
2424
@@ -48,7 +48,7 @@ class CentraLite3321S(CustomDevice):
4848 PollControl .cluster_id ,
4949 TemperatureMeasurement .cluster_id ,
5050 IasZone .cluster_id ,
51- DIAGNOSTICS_CLUSTER_ID ,
51+ Diagnostic . cluster_id ,
5252 CentraLiteAccelCluster .cluster_id ,
5353 ],
5454 OUTPUT_CLUSTERS : [Ota .cluster_id ],
@@ -64,7 +64,7 @@ class CentraLite3321S(CustomDevice):
6464 Basic .cluster_id ,
6565 PowerConfigurationCluster .cluster_id ,
6666 Identify .cluster_id ,
67- DIAGNOSTICS_CLUSTER_ID ,
67+ Diagnostic . cluster_id ,
6868 MANUFACTURER_SPECIFIC_CLUSTER_ID ,
6969 ],
7070 OUTPUT_CLUSTERS : [Identify .cluster_id ],
@@ -82,7 +82,7 @@ class CentraLite3321S(CustomDevice):
8282 PollControl .cluster_id ,
8383 TemperatureMeasurement .cluster_id ,
8484 IasZone .cluster_id ,
85- DIAGNOSTICS_CLUSTER_ID ,
85+ Diagnostic . cluster_id ,
8686 CentraLiteAccelCluster ,
8787 ],
8888 OUTPUT_CLUSTERS : [Ota .cluster_id ],
@@ -91,7 +91,7 @@ class CentraLite3321S(CustomDevice):
9191 INPUT_CLUSTERS : [
9292 Basic .cluster_id ,
9393 Identify .cluster_id ,
94- DIAGNOSTICS_CLUSTER_ID ,
94+ Diagnostic . cluster_id ,
9595 MANUFACTURER_SPECIFIC_CLUSTER_ID ,
9696 ],
9797 OUTPUT_CLUSTERS : [Identify .cluster_id ],
0 commit comments