Skip to content

Commit 6ab4376

Browse files
authored
Remove non-functional IasWd cluster for HEIMAN SmokeSensor-EM (#2924)
1 parent 04ac526 commit 6ab4376

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

zhaquirks/heiman/smoke.py

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class HeimanSmokeEF30(CustomDevice):
267267
ENDPOINTS: {
268268
# "profile_id": "0x0104", "device_type": "0x0402",
269269
# "input_clusters": ["0x0000", "0x0001", "0x0003", "0x0020", "0x0500", "0x0502", "0x0b05"],
270-
# "output_clusters": ["0x0003", "0x0019"]
270+
# "output_clusters": ["0x0003", "0x0019"]
271271
1: {
272272
PROFILE_ID: zha.PROFILE_ID,
273273
DEVICE_TYPE: zha.DeviceType.IAS_ZONE,
@@ -308,3 +308,48 @@ class HeimanSmokeEF30(CustomDevice):
308308
},
309309
},
310310
}
311+
312+
313+
class HeimanSmokeEM(CustomDevice):
314+
"""SmokeEM quirk."""
315+
316+
signature = {
317+
MODELS_INFO: [("HEIMAN", "SmokeSensor-EM")],
318+
ENDPOINTS: {
319+
# "profile_id": "0x0104", "device_type": "0x0402",
320+
# "input_clusters": ["0x0000", "0x0001", "0x0003", "0x0500", "0x0502"],
321+
# "output_clusters": ["0x0019"]
322+
1: {
323+
PROFILE_ID: zha.PROFILE_ID,
324+
DEVICE_TYPE: zha.DeviceType.IAS_ZONE,
325+
INPUT_CLUSTERS: [
326+
Basic.cluster_id,
327+
PowerConfiguration.cluster_id,
328+
Identify.cluster_id,
329+
IasZone.cluster_id,
330+
IasWd.cluster_id,
331+
],
332+
OUTPUT_CLUSTERS: [
333+
Ota.cluster_id,
334+
],
335+
},
336+
},
337+
}
338+
339+
replacement = {
340+
ENDPOINTS: {
341+
1: {
342+
PROFILE_ID: zha.PROFILE_ID,
343+
DEVICE_TYPE: zha.DeviceType.IAS_ZONE,
344+
INPUT_CLUSTERS: [
345+
Basic.cluster_id,
346+
PowerConfiguration.cluster_id,
347+
Identify.cluster_id,
348+
IasZone.cluster_id,
349+
],
350+
OUTPUT_CLUSTERS: [
351+
Ota.cluster_id,
352+
],
353+
},
354+
},
355+
}

0 commit comments

Comments
 (0)