@@ -267,7 +267,7 @@ class HeimanSmokeEF30(CustomDevice):
267
267
ENDPOINTS : {
268
268
# "profile_id": "0x0104", "device_type": "0x0402",
269
269
# "input_clusters": ["0x0000", "0x0001", "0x0003", "0x0020", "0x0500", "0x0502", "0x0b05"],
270
- # "output_clusters": ["0x0003", "0x0019"]
270
+ # "output_clusters": ["0x0003", "0x0019"]
271
271
1 : {
272
272
PROFILE_ID : zha .PROFILE_ID ,
273
273
DEVICE_TYPE : zha .DeviceType .IAS_ZONE ,
@@ -308,3 +308,48 @@ class HeimanSmokeEF30(CustomDevice):
308
308
},
309
309
},
310
310
}
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