@willieee802/zigbee-herdsman-converters 19.44.0 → 19.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1609) hide show
  1. package/dist/converters/actions.d.ts +36 -0
  2. package/dist/converters/actions.d.ts.map +1 -0
  3. package/dist/converters/actions.js +137 -0
  4. package/dist/converters/actions.js.map +1 -0
  5. package/dist/converters/fromZigbee.d.ts +293 -0
  6. package/dist/converters/fromZigbee.d.ts.map +1 -0
  7. package/dist/converters/fromZigbee.js +5192 -0
  8. package/dist/converters/fromZigbee.js.map +1 -0
  9. package/dist/converters/toZigbee.d.ts +235 -0
  10. package/dist/converters/toZigbee.d.ts.map +1 -0
  11. package/dist/converters/toZigbee.js +4577 -0
  12. package/dist/converters/toZigbee.js.map +1 -0
  13. package/dist/devices/ITCommander.d.ts +3 -0
  14. package/dist/devices/ITCommander.d.ts.map +1 -0
  15. package/dist/devices/ITCommander.js +73 -0
  16. package/dist/devices/ITCommander.js.map +1 -0
  17. package/dist/devices/acova.d.ts +3 -0
  18. package/dist/devices/acova.d.ts.map +1 -0
  19. package/dist/devices/acova.js +124 -0
  20. package/dist/devices/acova.js.map +1 -0
  21. package/dist/devices/acuity_brands_lighting.d.ts +3 -0
  22. package/dist/devices/acuity_brands_lighting.d.ts.map +1 -0
  23. package/dist/devices/acuity_brands_lighting.js +61 -0
  24. package/dist/devices/acuity_brands_lighting.js.map +1 -0
  25. package/dist/devices/adeo.d.ts +3 -0
  26. package/dist/devices/adeo.d.ts.map +1 -0
  27. package/dist/devices/adeo.js +518 -0
  28. package/dist/devices/adeo.js.map +1 -0
  29. package/dist/devices/adurosmart.d.ts +3 -0
  30. package/dist/devices/adurosmart.d.ts.map +1 -0
  31. package/dist/devices/adurosmart.js +235 -0
  32. package/dist/devices/adurosmart.js.map +1 -0
  33. package/dist/devices/aeotec.d.ts +3 -0
  34. package/dist/devices/aeotec.d.ts.map +1 -0
  35. package/dist/devices/aeotec.js +95 -0
  36. package/dist/devices/aeotec.js.map +1 -0
  37. package/dist/devices/airam.d.ts +3 -0
  38. package/dist/devices/airam.d.ts.map +1 -0
  39. package/dist/devices/airam.js +102 -0
  40. package/dist/devices/airam.js.map +1 -0
  41. package/dist/devices/airzone_aidoo.d.ts +3 -0
  42. package/dist/devices/airzone_aidoo.d.ts.map +1 -0
  43. package/dist/devices/airzone_aidoo.js +77 -0
  44. package/dist/devices/airzone_aidoo.js.map +1 -0
  45. package/dist/devices/ajax_online.d.ts +3 -0
  46. package/dist/devices/ajax_online.d.ts.map +1 -0
  47. package/dist/devices/ajax_online.js +83 -0
  48. package/dist/devices/ajax_online.js.map +1 -0
  49. package/dist/devices/akuvox.d.ts +3 -0
  50. package/dist/devices/akuvox.d.ts.map +1 -0
  51. package/dist/devices/akuvox.js +65 -0
  52. package/dist/devices/akuvox.js.map +1 -0
  53. package/dist/devices/alchemy.d.ts +3 -0
  54. package/dist/devices/alchemy.d.ts.map +1 -0
  55. package/dist/devices/alchemy.js +54 -0
  56. package/dist/devices/alchemy.js.map +1 -0
  57. package/dist/devices/aldi.d.ts +3 -0
  58. package/dist/devices/aldi.d.ts.map +1 -0
  59. package/dist/devices/aldi.js +54 -0
  60. package/dist/devices/aldi.js.map +1 -0
  61. package/dist/devices/alecto.d.ts +3 -0
  62. package/dist/devices/alecto.d.ts.map +1 -0
  63. package/dist/devices/alecto.js +91 -0
  64. package/dist/devices/alecto.js.map +1 -0
  65. package/dist/devices/amina.d.ts +3 -0
  66. package/dist/devices/amina.d.ts.map +1 -0
  67. package/dist/devices/amina.js +360 -0
  68. package/dist/devices/amina.js.map +1 -0
  69. package/dist/devices/anchor.d.ts +3 -0
  70. package/dist/devices/anchor.d.ts.map +1 -0
  71. package/dist/devices/anchor.js +47 -0
  72. package/dist/devices/anchor.js.map +1 -0
  73. package/dist/devices/atlantic.d.ts +3 -0
  74. package/dist/devices/atlantic.d.ts.map +1 -0
  75. package/dist/devices/atlantic.js +147 -0
  76. package/dist/devices/atlantic.js.map +1 -0
  77. package/dist/devices/atsmart.d.ts +3 -0
  78. package/dist/devices/atsmart.d.ts.map +1 -0
  79. package/dist/devices/atsmart.js +47 -0
  80. package/dist/devices/atsmart.js.map +1 -0
  81. package/dist/devices/aubess.d.ts +3 -0
  82. package/dist/devices/aubess.d.ts.map +1 -0
  83. package/dist/devices/aubess.js +60 -0
  84. package/dist/devices/aubess.js.map +1 -0
  85. package/dist/devices/aurora_lighting.d.ts +3 -0
  86. package/dist/devices/aurora_lighting.d.ts.map +1 -0
  87. package/dist/devices/aurora_lighting.js +347 -0
  88. package/dist/devices/aurora_lighting.js.map +1 -0
  89. package/dist/devices/automaton.d.ts +3 -0
  90. package/dist/devices/automaton.d.ts.map +1 -0
  91. package/dist/devices/automaton.js +64 -0
  92. package/dist/devices/automaton.js.map +1 -0
  93. package/dist/devices/avatto.d.ts +3 -0
  94. package/dist/devices/avatto.d.ts.map +1 -0
  95. package/dist/devices/avatto.js +635 -0
  96. package/dist/devices/avatto.js.map +1 -0
  97. package/dist/devices/awox.d.ts +3 -0
  98. package/dist/devices/awox.d.ts.map +1 -0
  99. package/dist/devices/awox.js +352 -0
  100. package/dist/devices/awox.js.map +1 -0
  101. package/dist/devices/axis.d.ts +3 -0
  102. package/dist/devices/axis.d.ts.map +1 -0
  103. package/dist/devices/axis.js +59 -0
  104. package/dist/devices/axis.js.map +1 -0
  105. package/dist/devices/bacchus.d.ts +3 -0
  106. package/dist/devices/bacchus.d.ts.map +1 -0
  107. package/dist/devices/bacchus.js +902 -0
  108. package/dist/devices/bacchus.js.map +1 -0
  109. package/dist/devices/bankamp.d.ts +3 -0
  110. package/dist/devices/bankamp.d.ts.map +1 -0
  111. package/dist/devices/bankamp.js +47 -0
  112. package/dist/devices/bankamp.js.map +1 -0
  113. package/dist/devices/bega.d.ts +3 -0
  114. package/dist/devices/bega.d.ts.map +1 -0
  115. package/dist/devices/bega.js +68 -0
  116. package/dist/devices/bega.js.map +1 -0
  117. package/dist/devices/belkin.d.ts +3 -0
  118. package/dist/devices/belkin.d.ts.map +1 -0
  119. package/dist/devices/belkin.js +47 -0
  120. package/dist/devices/belkin.js.map +1 -0
  121. package/dist/devices/bitron.d.ts +3 -0
  122. package/dist/devices/bitron.d.ts.map +1 -0
  123. package/dist/devices/bitron.js +357 -0
  124. package/dist/devices/bitron.js.map +1 -0
  125. package/dist/devices/bituo_technik.d.ts +3 -0
  126. package/dist/devices/bituo_technik.d.ts.map +1 -0
  127. package/dist/devices/bituo_technik.js +487 -0
  128. package/dist/devices/bituo_technik.js.map +1 -0
  129. package/dist/devices/blaupunkt.d.ts +3 -0
  130. package/dist/devices/blaupunkt.d.ts.map +1 -0
  131. package/dist/devices/blaupunkt.js +64 -0
  132. package/dist/devices/blaupunkt.js.map +1 -0
  133. package/dist/devices/blitzwolf.d.ts +3 -0
  134. package/dist/devices/blitzwolf.d.ts.map +1 -0
  135. package/dist/devices/blitzwolf.js +77 -0
  136. package/dist/devices/blitzwolf.js.map +1 -0
  137. package/dist/devices/bosch.d.ts +3 -0
  138. package/dist/devices/bosch.d.ts.map +1 -0
  139. package/dist/devices/bosch.js +1381 -0
  140. package/dist/devices/bosch.js.map +1 -0
  141. package/dist/devices/bouffalo_lab.d.ts +3 -0
  142. package/dist/devices/bouffalo_lab.d.ts.map +1 -0
  143. package/dist/devices/bouffalo_lab.js +47 -0
  144. package/dist/devices/bouffalo_lab.js.map +1 -0
  145. package/dist/devices/box.d.ts +3 -0
  146. package/dist/devices/box.d.ts.map +1 -0
  147. package/dist/devices/box.js +370 -0
  148. package/dist/devices/box.js.map +1 -0
  149. package/dist/devices/brimate.d.ts +3 -0
  150. package/dist/devices/brimate.d.ts.map +1 -0
  151. package/dist/devices/brimate.js +51 -0
  152. package/dist/devices/brimate.js.map +1 -0
  153. package/dist/devices/brun_holding.d.ts +3 -0
  154. package/dist/devices/brun_holding.d.ts.map +1 -0
  155. package/dist/devices/brun_holding.js +59 -0
  156. package/dist/devices/brun_holding.js.map +1 -0
  157. package/dist/devices/bseed.d.ts +3 -0
  158. package/dist/devices/bseed.d.ts.map +1 -0
  159. package/dist/devices/bseed.js +53 -0
  160. package/dist/devices/bseed.js.map +1 -0
  161. package/dist/devices/bticino.d.ts +3 -0
  162. package/dist/devices/bticino.d.ts.map +1 -0
  163. package/dist/devices/bticino.js +111 -0
  164. package/dist/devices/bticino.js.map +1 -0
  165. package/dist/devices/bubendorff.d.ts +3 -0
  166. package/dist/devices/bubendorff.d.ts.map +1 -0
  167. package/dist/devices/bubendorff.js +47 -0
  168. package/dist/devices/bubendorff.js.map +1 -0
  169. package/dist/devices/busch_jaeger.d.ts +3 -0
  170. package/dist/devices/busch_jaeger.d.ts.map +1 -0
  171. package/dist/devices/busch_jaeger.js +163 -0
  172. package/dist/devices/busch_jaeger.js.map +1 -0
  173. package/dist/devices/byun.d.ts +3 -0
  174. package/dist/devices/byun.d.ts.map +1 -0
  175. package/dist/devices/byun.js +60 -0
  176. package/dist/devices/byun.js.map +1 -0
  177. package/dist/devices/calex.d.ts +3 -0
  178. package/dist/devices/calex.d.ts.map +1 -0
  179. package/dist/devices/calex.js +87 -0
  180. package/dist/devices/calex.js.map +1 -0
  181. package/dist/devices/candeo.d.ts +3 -0
  182. package/dist/devices/candeo.d.ts.map +1 -0
  183. package/dist/devices/candeo.js +887 -0
  184. package/dist/devices/candeo.js.map +1 -0
  185. package/dist/devices/casaia.d.ts +3 -0
  186. package/dist/devices/casaia.d.ts.map +1 -0
  187. package/dist/devices/casaia.js +95 -0
  188. package/dist/devices/casaia.js.map +1 -0
  189. package/dist/devices/cel.d.ts +3 -0
  190. package/dist/devices/cel.d.ts.map +1 -0
  191. package/dist/devices/cel.js +49 -0
  192. package/dist/devices/cel.js.map +1 -0
  193. package/dist/devices/centralite.d.ts +28 -0
  194. package/dist/devices/centralite.d.ts.map +1 -0
  195. package/dist/devices/centralite.js +440 -0
  196. package/dist/devices/centralite.js.map +1 -0
  197. package/dist/devices/chacon.d.ts +3 -0
  198. package/dist/devices/chacon.d.ts.map +1 -0
  199. package/dist/devices/chacon.js +57 -0
  200. package/dist/devices/chacon.js.map +1 -0
  201. package/dist/devices/cleode.d.ts +3 -0
  202. package/dist/devices/cleode.d.ts.map +1 -0
  203. package/dist/devices/cleode.js +47 -0
  204. package/dist/devices/cleode.js.map +1 -0
  205. package/dist/devices/cleverio.d.ts +3 -0
  206. package/dist/devices/cleverio.d.ts.map +1 -0
  207. package/dist/devices/cleverio.js +74 -0
  208. package/dist/devices/cleverio.js.map +1 -0
  209. package/dist/devices/climax.d.ts +3 -0
  210. package/dist/devices/climax.d.ts.map +1 -0
  211. package/dist/devices/climax.js +184 -0
  212. package/dist/devices/climax.js.map +1 -0
  213. package/dist/devices/commercial_electric.d.ts +3 -0
  214. package/dist/devices/commercial_electric.d.ts.map +1 -0
  215. package/dist/devices/commercial_electric.js +47 -0
  216. package/dist/devices/commercial_electric.js.map +1 -0
  217. package/dist/devices/cree.d.ts +3 -0
  218. package/dist/devices/cree.d.ts.map +1 -0
  219. package/dist/devices/cree.js +47 -0
  220. package/dist/devices/cree.js.map +1 -0
  221. package/dist/devices/ctm.d.ts +3 -0
  222. package/dist/devices/ctm.d.ts.map +1 -0
  223. package/dist/devices/ctm.js +1411 -0
  224. package/dist/devices/ctm.js.map +1 -0
  225. package/dist/devices/current_products_corp.d.ts +3 -0
  226. package/dist/devices/current_products_corp.d.ts.map +1 -0
  227. package/dist/devices/current_products_corp.js +60 -0
  228. package/dist/devices/current_products_corp.js.map +1 -0
  229. package/dist/devices/custom_devices_diy.d.ts +3 -0
  230. package/dist/devices/custom_devices_diy.d.ts.map +1 -0
  231. package/dist/devices/custom_devices_diy.js +1302 -0
  232. package/dist/devices/custom_devices_diy.js.map +1 -0
  233. package/dist/devices/cwd.d.ts +3 -0
  234. package/dist/devices/cwd.d.ts.map +1 -0
  235. package/dist/devices/cwd.js +47 -0
  236. package/dist/devices/cwd.js.map +1 -0
  237. package/dist/devices/cy_lighting.d.ts +3 -0
  238. package/dist/devices/cy_lighting.d.ts.map +1 -0
  239. package/dist/devices/cy_lighting.js +47 -0
  240. package/dist/devices/cy_lighting.js.map +1 -0
  241. package/dist/devices/danalock.d.ts +3 -0
  242. package/dist/devices/danalock.d.ts.map +1 -0
  243. package/dist/devices/danalock.js +61 -0
  244. package/dist/devices/danalock.js.map +1 -0
  245. package/dist/devices/danfoss.d.ts +3 -0
  246. package/dist/devices/danfoss.d.ts.map +1 -0
  247. package/dist/devices/danfoss.js +793 -0
  248. package/dist/devices/danfoss.js.map +1 -0
  249. package/dist/devices/databyte.d.ts +3 -0
  250. package/dist/devices/databyte.d.ts.map +1 -0
  251. package/dist/devices/databyte.js +90 -0
  252. package/dist/devices/databyte.js.map +1 -0
  253. package/dist/devices/datek.d.ts +3 -0
  254. package/dist/devices/datek.d.ts.map +1 -0
  255. package/dist/devices/datek.js +303 -0
  256. package/dist/devices/datek.js.map +1 -0
  257. package/dist/devices/dawon_dns.d.ts +3 -0
  258. package/dist/devices/dawon_dns.d.ts.map +1 -0
  259. package/dist/devices/dawon_dns.js +314 -0
  260. package/dist/devices/dawon_dns.js.map +1 -0
  261. package/dist/devices/develco.d.ts +3 -0
  262. package/dist/devices/develco.d.ts.map +1 -0
  263. package/dist/devices/develco.js +1113 -0
  264. package/dist/devices/develco.js.map +1 -0
  265. package/dist/devices/digi.d.ts +3 -0
  266. package/dist/devices/digi.d.ts.map +1 -0
  267. package/dist/devices/digi.js +24 -0
  268. package/dist/devices/digi.js.map +1 -0
  269. package/dist/devices/direct_signs.d.ts +3 -0
  270. package/dist/devices/direct_signs.d.ts.map +1 -0
  271. package/dist/devices/direct_signs.js +47 -0
  272. package/dist/devices/direct_signs.js.map +1 -0
  273. package/dist/devices/diyruz.d.ts +3 -0
  274. package/dist/devices/diyruz.d.ts.map +1 -0
  275. package/dist/devices/diyruz.js +397 -0
  276. package/dist/devices/diyruz.js.map +1 -0
  277. package/dist/devices/dlink.d.ts +3 -0
  278. package/dist/devices/dlink.d.ts.map +1 -0
  279. package/dist/devices/dlink.js +72 -0
  280. package/dist/devices/dlink.js.map +1 -0
  281. package/dist/devices/dnake.d.ts +3 -0
  282. package/dist/devices/dnake.d.ts.map +1 -0
  283. package/dist/devices/dnake.js +47 -0
  284. package/dist/devices/dnake.js.map +1 -0
  285. package/dist/devices/domraem.d.ts +3 -0
  286. package/dist/devices/domraem.d.ts.map +1 -0
  287. package/dist/devices/domraem.js +75 -0
  288. package/dist/devices/domraem.js.map +1 -0
  289. package/dist/devices/dowsing_reynolds.d.ts +3 -0
  290. package/dist/devices/dowsing_reynolds.d.ts.map +1 -0
  291. package/dist/devices/dowsing_reynolds.js +47 -0
  292. package/dist/devices/dowsing_reynolds.js.map +1 -0
  293. package/dist/devices/dqsmart.d.ts +3 -0
  294. package/dist/devices/dqsmart.d.ts.map +1 -0
  295. package/dist/devices/dqsmart.js +50 -0
  296. package/dist/devices/dqsmart.js.map +1 -0
  297. package/dist/devices/dresden_elektronik.d.ts +3 -0
  298. package/dist/devices/dresden_elektronik.d.ts.map +1 -0
  299. package/dist/devices/dresden_elektronik.js +167 -0
  300. package/dist/devices/dresden_elektronik.js.map +1 -0
  301. package/dist/devices/easyaccess.d.ts +3 -0
  302. package/dist/devices/easyaccess.d.ts.map +1 -0
  303. package/dist/devices/easyaccess.js +67 -0
  304. package/dist/devices/easyaccess.js.map +1 -0
  305. package/dist/devices/easyiot.d.ts +3 -0
  306. package/dist/devices/easyiot.d.ts.map +1 -0
  307. package/dist/devices/easyiot.js +359 -0
  308. package/dist/devices/easyiot.js.map +1 -0
  309. package/dist/devices/eatonhalo_led.d.ts +3 -0
  310. package/dist/devices/eatonhalo_led.d.ts.map +1 -0
  311. package/dist/devices/eatonhalo_led.js +47 -0
  312. package/dist/devices/eatonhalo_led.js.map +1 -0
  313. package/dist/devices/echostar.d.ts +3 -0
  314. package/dist/devices/echostar.d.ts.map +1 -0
  315. package/dist/devices/echostar.js +61 -0
  316. package/dist/devices/echostar.js.map +1 -0
  317. package/dist/devices/ecodim.d.ts +3 -0
  318. package/dist/devices/ecodim.d.ts.map +1 -0
  319. package/dist/devices/ecodim.js +274 -0
  320. package/dist/devices/ecodim.js.map +1 -0
  321. package/dist/devices/ecolink.d.ts +3 -0
  322. package/dist/devices/ecolink.d.ts.map +1 -0
  323. package/dist/devices/ecolink.js +57 -0
  324. package/dist/devices/ecolink.js.map +1 -0
  325. package/dist/devices/ecosmart.d.ts +3 -0
  326. package/dist/devices/ecosmart.d.ts.map +1 -0
  327. package/dist/devices/ecosmart.js +115 -0
  328. package/dist/devices/ecosmart.js.map +1 -0
  329. package/dist/devices/ecozy.d.ts +3 -0
  330. package/dist/devices/ecozy.d.ts.map +1 -0
  331. package/dist/devices/ecozy.js +85 -0
  332. package/dist/devices/ecozy.js.map +1 -0
  333. package/dist/devices/edp.d.ts +3 -0
  334. package/dist/devices/edp.d.ts.map +1 -0
  335. package/dist/devices/edp.js +70 -0
  336. package/dist/devices/edp.js.map +1 -0
  337. package/dist/devices/efekta.d.ts +3 -0
  338. package/dist/devices/efekta.d.ts.map +1 -0
  339. package/dist/devices/efekta.js +8230 -0
  340. package/dist/devices/efekta.js.map +1 -0
  341. package/dist/devices/eglo.d.ts +3 -0
  342. package/dist/devices/eglo.d.ts.map +1 -0
  343. package/dist/devices/eglo.js +142 -0
  344. package/dist/devices/eglo.js.map +1 -0
  345. package/dist/devices/elko.d.ts +27 -0
  346. package/dist/devices/elko.d.ts.map +1 -0
  347. package/dist/devices/elko.js +306 -0
  348. package/dist/devices/elko.js.map +1 -0
  349. package/dist/devices/enbrighten.d.ts +3 -0
  350. package/dist/devices/enbrighten.d.ts.map +1 -0
  351. package/dist/devices/enbrighten.js +152 -0
  352. package/dist/devices/enbrighten.js.map +1 -0
  353. package/dist/devices/engo.d.ts +3 -0
  354. package/dist/devices/engo.d.ts.map +1 -0
  355. package/dist/devices/engo.js +1041 -0
  356. package/dist/devices/engo.js.map +1 -0
  357. package/dist/devices/enkin.d.ts +3 -0
  358. package/dist/devices/enkin.d.ts.map +1 -0
  359. package/dist/devices/enkin.js +14 -0
  360. package/dist/devices/enkin.js.map +1 -0
  361. package/dist/devices/enocean.d.ts +3 -0
  362. package/dist/devices/enocean.d.ts.map +1 -0
  363. package/dist/devices/enocean.js +150 -0
  364. package/dist/devices/enocean.js.map +1 -0
  365. package/dist/devices/envilar.d.ts +3 -0
  366. package/dist/devices/envilar.d.ts.map +1 -0
  367. package/dist/devices/envilar.js +131 -0
  368. package/dist/devices/envilar.js.map +1 -0
  369. package/dist/devices/espressif.d.ts +3 -0
  370. package/dist/devices/espressif.d.ts.map +1 -0
  371. package/dist/devices/espressif.js +61 -0
  372. package/dist/devices/espressif.js.map +1 -0
  373. package/dist/devices/essentialb.d.ts +3 -0
  374. package/dist/devices/essentialb.d.ts.map +1 -0
  375. package/dist/devices/essentialb.js +133 -0
  376. package/dist/devices/essentialb.js.map +1 -0
  377. package/dist/devices/essentials.d.ts +3 -0
  378. package/dist/devices/essentials.d.ts.map +1 -0
  379. package/dist/devices/essentials.js +150 -0
  380. package/dist/devices/essentials.js.map +1 -0
  381. package/dist/devices/eucontrols.d.ts +3 -0
  382. package/dist/devices/eucontrols.d.ts.map +1 -0
  383. package/dist/devices/eucontrols.js +47 -0
  384. package/dist/devices/eucontrols.js.map +1 -0
  385. package/dist/devices/eurotronic.d.ts +3 -0
  386. package/dist/devices/eurotronic.d.ts.map +1 -0
  387. package/dist/devices/eurotronic.js +278 -0
  388. package/dist/devices/eurotronic.js.map +1 -0
  389. package/dist/devices/evanell.d.ts +3 -0
  390. package/dist/devices/evanell.d.ts.map +1 -0
  391. package/dist/devices/evanell.js +66 -0
  392. package/dist/devices/evanell.js.map +1 -0
  393. package/dist/devices/evn.d.ts +3 -0
  394. package/dist/devices/evn.d.ts.map +1 -0
  395. package/dist/devices/evn.js +97 -0
  396. package/dist/devices/evn.js.map +1 -0
  397. package/dist/devices/evology.d.ts +3 -0
  398. package/dist/devices/evology.d.ts.map +1 -0
  399. package/dist/devices/evology.js +60 -0
  400. package/dist/devices/evology.js.map +1 -0
  401. package/dist/devices/evvr.d.ts +3 -0
  402. package/dist/devices/evvr.d.ts.map +1 -0
  403. package/dist/devices/evvr.js +47 -0
  404. package/dist/devices/evvr.js.map +1 -0
  405. package/dist/devices/ewelink.d.ts +3 -0
  406. package/dist/devices/ewelink.d.ts.map +1 -0
  407. package/dist/devices/ewelink.js +326 -0
  408. package/dist/devices/ewelink.js.map +1 -0
  409. package/dist/devices/ezex.d.ts +3 -0
  410. package/dist/devices/ezex.d.ts.map +1 -0
  411. package/dist/devices/ezex.js +47 -0
  412. package/dist/devices/ezex.js.map +1 -0
  413. package/dist/devices/ezviz.d.ts +3 -0
  414. package/dist/devices/ezviz.d.ts.map +1 -0
  415. package/dist/devices/ezviz.js +47 -0
  416. package/dist/devices/ezviz.js.map +1 -0
  417. package/dist/devices/fantem.d.ts +3 -0
  418. package/dist/devices/fantem.d.ts.map +1 -0
  419. package/dist/devices/fantem.js +112 -0
  420. package/dist/devices/fantem.js.map +1 -0
  421. package/dist/devices/feibit.d.ts +3 -0
  422. package/dist/devices/feibit.d.ts.map +1 -0
  423. package/dist/devices/feibit.js +335 -0
  424. package/dist/devices/feibit.js.map +1 -0
  425. package/dist/devices/fireangel.d.ts +3 -0
  426. package/dist/devices/fireangel.d.ts.map +1 -0
  427. package/dist/devices/fireangel.js +96 -0
  428. package/dist/devices/fireangel.js.map +1 -0
  429. package/dist/devices/frankever.d.ts +3 -0
  430. package/dist/devices/frankever.d.ts.map +1 -0
  431. package/dist/devices/frankever.js +67 -0
  432. package/dist/devices/frankever.js.map +1 -0
  433. package/dist/devices/frient.d.ts +3 -0
  434. package/dist/devices/frient.d.ts.map +1 -0
  435. package/dist/devices/frient.js +84 -0
  436. package/dist/devices/frient.js.map +1 -0
  437. package/dist/devices/futurehome.d.ts +3 -0
  438. package/dist/devices/futurehome.d.ts.map +1 -0
  439. package/dist/devices/futurehome.js +137 -0
  440. package/dist/devices/futurehome.js.map +1 -0
  441. package/dist/devices/ge.d.ts +3 -0
  442. package/dist/devices/ge.d.ts.map +1 -0
  443. package/dist/devices/ge.js +130 -0
  444. package/dist/devices/ge.js.map +1 -0
  445. package/dist/devices/gewiss.d.ts +3 -0
  446. package/dist/devices/gewiss.d.ts.map +1 -0
  447. package/dist/devices/gewiss.js +148 -0
  448. package/dist/devices/gewiss.js.map +1 -0
  449. package/dist/devices/gidealed.d.ts +3 -0
  450. package/dist/devices/gidealed.d.ts.map +1 -0
  451. package/dist/devices/gidealed.js +47 -0
  452. package/dist/devices/gidealed.js.map +1 -0
  453. package/dist/devices/giderwel.d.ts +3 -0
  454. package/dist/devices/giderwel.d.ts.map +1 -0
  455. package/dist/devices/giderwel.js +47 -0
  456. package/dist/devices/giderwel.js.map +1 -0
  457. package/dist/devices/giex.d.ts +3 -0
  458. package/dist/devices/giex.d.ts.map +1 -0
  459. package/dist/devices/giex.js +114 -0
  460. package/dist/devices/giex.js.map +1 -0
  461. package/dist/devices/girier.d.ts +3 -0
  462. package/dist/devices/girier.d.ts.map +1 -0
  463. package/dist/devices/girier.js +51 -0
  464. package/dist/devices/girier.js.map +1 -0
  465. package/dist/devices/gledopto.d.ts +3 -0
  466. package/dist/devices/gledopto.d.ts.map +1 -0
  467. package/dist/devices/gledopto.js +1395 -0
  468. package/dist/devices/gledopto.js.map +1 -0
  469. package/dist/devices/gmmts.d.ts +3 -0
  470. package/dist/devices/gmmts.d.ts.map +1 -0
  471. package/dist/devices/gmmts.js +2267 -0
  472. package/dist/devices/gmmts.js.map +1 -0
  473. package/dist/devices/gmy.d.ts +3 -0
  474. package/dist/devices/gmy.d.ts.map +1 -0
  475. package/dist/devices/gmy.js +47 -0
  476. package/dist/devices/gmy.js.map +1 -0
  477. package/dist/devices/gs.d.ts +3 -0
  478. package/dist/devices/gs.d.ts.map +1 -0
  479. package/dist/devices/gs.js +121 -0
  480. package/dist/devices/gs.js.map +1 -0
  481. package/dist/devices/gumax.d.ts +3 -0
  482. package/dist/devices/gumax.d.ts.map +1 -0
  483. package/dist/devices/gumax.js +47 -0
  484. package/dist/devices/gumax.js.map +1 -0
  485. package/dist/devices/halemeier.d.ts +3 -0
  486. package/dist/devices/halemeier.d.ts.map +1 -0
  487. package/dist/devices/halemeier.js +142 -0
  488. package/dist/devices/halemeier.js.map +1 -0
  489. package/dist/devices/hampton_bay.d.ts +3 -0
  490. package/dist/devices/hampton_bay.d.ts.map +1 -0
  491. package/dist/devices/hampton_bay.js +68 -0
  492. package/dist/devices/hampton_bay.js.map +1 -0
  493. package/dist/devices/heatit.d.ts +3 -0
  494. package/dist/devices/heatit.d.ts.map +1 -0
  495. package/dist/devices/heatit.js +47 -0
  496. package/dist/devices/heatit.js.map +1 -0
  497. package/dist/devices/heiman.d.ts +3 -0
  498. package/dist/devices/heiman.d.ts.map +1 -0
  499. package/dist/devices/heiman.js +2092 -0
  500. package/dist/devices/heiman.js.map +1 -0
  501. package/dist/devices/heimgard_technologies.d.ts +3 -0
  502. package/dist/devices/heimgard_technologies.d.ts.map +1 -0
  503. package/dist/devices/heimgard_technologies.js +189 -0
  504. package/dist/devices/heimgard_technologies.js.map +1 -0
  505. package/dist/devices/hej.d.ts +3 -0
  506. package/dist/devices/hej.d.ts.map +1 -0
  507. package/dist/devices/hej.js +126 -0
  508. package/dist/devices/hej.js.map +1 -0
  509. package/dist/devices/hfh.d.ts +3 -0
  510. package/dist/devices/hfh.d.ts.map +1 -0
  511. package/dist/devices/hfh.js +47 -0
  512. package/dist/devices/hfh.js.map +1 -0
  513. package/dist/devices/hilux.d.ts +3 -0
  514. package/dist/devices/hilux.d.ts.map +1 -0
  515. package/dist/devices/hilux.js +54 -0
  516. package/dist/devices/hilux.js.map +1 -0
  517. package/dist/devices/hive.d.ts +3 -0
  518. package/dist/devices/hive.d.ts.map +1 -0
  519. package/dist/devices/hive.js +798 -0
  520. package/dist/devices/hive.js.map +1 -0
  521. package/dist/devices/hoftronic.d.ts +3 -0
  522. package/dist/devices/hoftronic.d.ts.map +1 -0
  523. package/dist/devices/hoftronic.js +56 -0
  524. package/dist/devices/hoftronic.js.map +1 -0
  525. package/dist/devices/homeseer.d.ts +3 -0
  526. package/dist/devices/homeseer.d.ts.map +1 -0
  527. package/dist/devices/homeseer.js +53 -0
  528. package/dist/devices/homeseer.js.map +1 -0
  529. package/dist/devices/hommyn.d.ts +3 -0
  530. package/dist/devices/hommyn.d.ts.map +1 -0
  531. package/dist/devices/hommyn.js +60 -0
  532. package/dist/devices/hommyn.js.map +1 -0
  533. package/dist/devices/honyar.d.ts +3 -0
  534. package/dist/devices/honyar.d.ts.map +1 -0
  535. package/dist/devices/honyar.js +167 -0
  536. package/dist/devices/honyar.js.map +1 -0
  537. package/dist/devices/hornbach.d.ts +3 -0
  538. package/dist/devices/hornbach.d.ts.map +1 -0
  539. package/dist/devices/hornbach.js +138 -0
  540. package/dist/devices/hornbach.js.map +1 -0
  541. package/dist/devices/hzc_electric.d.ts +3 -0
  542. package/dist/devices/hzc_electric.d.ts.map +1 -0
  543. package/dist/devices/hzc_electric.js +102 -0
  544. package/dist/devices/hzc_electric.js.map +1 -0
  545. package/dist/devices/icasa.d.ts +3 -0
  546. package/dist/devices/icasa.d.ts.map +1 -0
  547. package/dist/devices/icasa.js +174 -0
  548. package/dist/devices/icasa.js.map +1 -0
  549. package/dist/devices/idinio.d.ts +3 -0
  550. package/dist/devices/idinio.d.ts.map +1 -0
  551. package/dist/devices/idinio.js +47 -0
  552. package/dist/devices/idinio.js.map +1 -0
  553. package/dist/devices/ihorn.d.ts +3 -0
  554. package/dist/devices/ihorn.d.ts.map +1 -0
  555. package/dist/devices/ihorn.js +105 -0
  556. package/dist/devices/ihorn.js.map +1 -0
  557. package/dist/devices/ikea.d.ts +3 -0
  558. package/dist/devices/ikea.d.ts.map +1 -0
  559. package/dist/devices/ikea.js +1241 -0
  560. package/dist/devices/ikea.js.map +1 -0
  561. package/dist/devices/ilightsin.d.ts +3 -0
  562. package/dist/devices/ilightsin.d.ts.map +1 -0
  563. package/dist/devices/ilightsin.js +59 -0
  564. package/dist/devices/ilightsin.js.map +1 -0
  565. package/dist/devices/iluminize.d.ts +3 -0
  566. package/dist/devices/iluminize.d.ts.map +1 -0
  567. package/dist/devices/iluminize.js +385 -0
  568. package/dist/devices/iluminize.js.map +1 -0
  569. package/dist/devices/ilux.d.ts +3 -0
  570. package/dist/devices/ilux.d.ts.map +1 -0
  571. package/dist/devices/ilux.js +47 -0
  572. package/dist/devices/ilux.js.map +1 -0
  573. package/dist/devices/imhotepcreation.d.ts +3 -0
  574. package/dist/devices/imhotepcreation.d.ts.map +1 -0
  575. package/dist/devices/imhotepcreation.js +240 -0
  576. package/dist/devices/imhotepcreation.js.map +1 -0
  577. package/dist/devices/immax.d.ts +3 -0
  578. package/dist/devices/immax.d.ts.map +1 -0
  579. package/dist/devices/immax.js +471 -0
  580. package/dist/devices/immax.js.map +1 -0
  581. package/dist/devices/imou.d.ts +3 -0
  582. package/dist/devices/imou.d.ts.map +1 -0
  583. package/dist/devices/imou.js +109 -0
  584. package/dist/devices/imou.js.map +1 -0
  585. package/dist/devices/index.d.ts +4 -0
  586. package/dist/devices/index.d.ts.map +1 -0
  587. package/dist/devices/index.js +738 -0
  588. package/dist/devices/index.js.map +1 -0
  589. package/dist/devices/innr.d.ts +3 -0
  590. package/dist/devices/innr.d.ts.map +1 -0
  591. package/dist/devices/innr.js +1033 -0
  592. package/dist/devices/innr.js.map +1 -0
  593. package/dist/devices/inovelli.d.ts +3 -0
  594. package/dist/devices/inovelli.d.ts.map +1 -0
  595. package/dist/devices/inovelli.js +2474 -0
  596. package/dist/devices/inovelli.js.map +1 -0
  597. package/dist/devices/insta.d.ts +3 -0
  598. package/dist/devices/insta.d.ts.map +1 -0
  599. package/dist/devices/insta.js +182 -0
  600. package/dist/devices/insta.js.map +1 -0
  601. package/dist/devices/intuis.d.ts +3 -0
  602. package/dist/devices/intuis.d.ts.map +1 -0
  603. package/dist/devices/intuis.js +95 -0
  604. package/dist/devices/intuis.js.map +1 -0
  605. package/dist/devices/iolloi.d.ts +3 -0
  606. package/dist/devices/iolloi.d.ts.map +1 -0
  607. package/dist/devices/iolloi.js +48 -0
  608. package/dist/devices/iolloi.js.map +1 -0
  609. package/dist/devices/iotperfect.d.ts +3 -0
  610. package/dist/devices/iotperfect.d.ts.map +1 -0
  611. package/dist/devices/iotperfect.js +60 -0
  612. package/dist/devices/iotperfect.js.map +1 -0
  613. package/dist/devices/iris.d.ts +3 -0
  614. package/dist/devices/iris.d.ts.map +1 -0
  615. package/dist/devices/iris.js +208 -0
  616. package/dist/devices/iris.js.map +1 -0
  617. package/dist/devices/istar.d.ts +3 -0
  618. package/dist/devices/istar.d.ts.map +1 -0
  619. package/dist/devices/istar.js +61 -0
  620. package/dist/devices/istar.js.map +1 -0
  621. package/dist/devices/jasco.d.ts +3 -0
  622. package/dist/devices/jasco.d.ts.map +1 -0
  623. package/dist/devices/jasco.js +63 -0
  624. package/dist/devices/jasco.js.map +1 -0
  625. package/dist/devices/javis.d.ts +3 -0
  626. package/dist/devices/javis.d.ts.map +1 -0
  627. package/dist/devices/javis.js +77 -0
  628. package/dist/devices/javis.js.map +1 -0
  629. package/dist/devices/jethome.d.ts +3 -0
  630. package/dist/devices/jethome.d.ts.map +1 -0
  631. package/dist/devices/jethome.js +120 -0
  632. package/dist/devices/jethome.js.map +1 -0
  633. package/dist/devices/jiawen.d.ts +3 -0
  634. package/dist/devices/jiawen.d.ts.map +1 -0
  635. package/dist/devices/jiawen.js +54 -0
  636. package/dist/devices/jiawen.js.map +1 -0
  637. package/dist/devices/jumitech.d.ts +3 -0
  638. package/dist/devices/jumitech.d.ts.map +1 -0
  639. package/dist/devices/jumitech.js +47 -0
  640. package/dist/devices/jumitech.js.map +1 -0
  641. package/dist/devices/jxuan.d.ts +3 -0
  642. package/dist/devices/jxuan.d.ts.map +1 -0
  643. package/dist/devices/jxuan.js +85 -0
  644. package/dist/devices/jxuan.js.map +1 -0
  645. package/dist/devices/kami.d.ts +3 -0
  646. package/dist/devices/kami.d.ts.map +1 -0
  647. package/dist/devices/kami.js +51 -0
  648. package/dist/devices/kami.js.map +1 -0
  649. package/dist/devices/keen_home.d.ts +3 -0
  650. package/dist/devices/keen_home.d.ts.map +1 -0
  651. package/dist/devices/keen_home.js +155 -0
  652. package/dist/devices/keen_home.js.map +1 -0
  653. package/dist/devices/klikaanklikuit.d.ts +3 -0
  654. package/dist/devices/klikaanklikuit.d.ts.map +1 -0
  655. package/dist/devices/klikaanklikuit.js +54 -0
  656. package/dist/devices/klikaanklikuit.js.map +1 -0
  657. package/dist/devices/kmpcil.d.ts +3 -0
  658. package/dist/devices/kmpcil.d.ts.map +1 -0
  659. package/dist/devices/kmpcil.js +212 -0
  660. package/dist/devices/kmpcil.js.map +1 -0
  661. package/dist/devices/konke.d.ts +3 -0
  662. package/dist/devices/konke.d.ts.map +1 -0
  663. package/dist/devices/konke.js +207 -0
  664. package/dist/devices/konke.js.map +1 -0
  665. package/dist/devices/ksentry.d.ts +3 -0
  666. package/dist/devices/ksentry.d.ts.map +1 -0
  667. package/dist/devices/ksentry.js +47 -0
  668. package/dist/devices/ksentry.js.map +1 -0
  669. package/dist/devices/kurvia.d.ts +3 -0
  670. package/dist/devices/kurvia.d.ts.map +1 -0
  671. package/dist/devices/kurvia.js +49 -0
  672. package/dist/devices/kurvia.js.map +1 -0
  673. package/dist/devices/kwikset.d.ts +3 -0
  674. package/dist/devices/kwikset.d.ts.map +1 -0
  675. package/dist/devices/kwikset.js +153 -0
  676. package/dist/devices/kwikset.js.map +1 -0
  677. package/dist/devices/lanesto.d.ts +3 -0
  678. package/dist/devices/lanesto.d.ts.map +1 -0
  679. package/dist/devices/lanesto.js +47 -0
  680. package/dist/devices/lanesto.js.map +1 -0
  681. package/dist/devices/lds.d.ts +3 -0
  682. package/dist/devices/lds.d.ts.map +1 -0
  683. package/dist/devices/lds.js +54 -0
  684. package/dist/devices/lds.js.map +1 -0
  685. package/dist/devices/led_trading.d.ts +3 -0
  686. package/dist/devices/led_trading.d.ts.map +1 -0
  687. package/dist/devices/led_trading.js +108 -0
  688. package/dist/devices/led_trading.js.map +1 -0
  689. package/dist/devices/ledvance.d.ts +3 -0
  690. package/dist/devices/ledvance.d.ts.map +1 -0
  691. package/dist/devices/ledvance.js +407 -0
  692. package/dist/devices/ledvance.js.map +1 -0
  693. package/dist/devices/leedarson.d.ts +3 -0
  694. package/dist/devices/leedarson.d.ts.map +1 -0
  695. package/dist/devices/leedarson.js +180 -0
  696. package/dist/devices/leedarson.js.map +1 -0
  697. package/dist/devices/legrand.d.ts +3 -0
  698. package/dist/devices/legrand.d.ts.map +1 -0
  699. package/dist/devices/legrand.js +809 -0
  700. package/dist/devices/legrand.js.map +1 -0
  701. package/dist/devices/lellki.d.ts +3 -0
  702. package/dist/devices/lellki.d.ts.map +1 -0
  703. package/dist/devices/lellki.js +162 -0
  704. package/dist/devices/lellki.js.map +1 -0
  705. package/dist/devices/letsled.d.ts +3 -0
  706. package/dist/devices/letsled.d.ts.map +1 -0
  707. package/dist/devices/letsled.js +47 -0
  708. package/dist/devices/letsled.js.map +1 -0
  709. package/dist/devices/letv.d.ts +3 -0
  710. package/dist/devices/letv.d.ts.map +1 -0
  711. package/dist/devices/letv.js +86 -0
  712. package/dist/devices/letv.js.map +1 -0
  713. package/dist/devices/leviton.d.ts +3 -0
  714. package/dist/devices/leviton.d.ts.map +1 -0
  715. package/dist/devices/leviton.js +160 -0
  716. package/dist/devices/leviton.js.map +1 -0
  717. package/dist/devices/lg.d.ts +3 -0
  718. package/dist/devices/lg.d.ts.map +1 -0
  719. package/dist/devices/lg.js +61 -0
  720. package/dist/devices/lg.js.map +1 -0
  721. package/dist/devices/lidl.d.ts +3 -0
  722. package/dist/devices/lidl.d.ts.map +1 -0
  723. package/dist/devices/lidl.js +669 -0
  724. package/dist/devices/lidl.js.map +1 -0
  725. package/dist/devices/lifecontrol.d.ts +3 -0
  726. package/dist/devices/lifecontrol.d.ts.map +1 -0
  727. package/dist/devices/lifecontrol.js +141 -0
  728. package/dist/devices/lifecontrol.js.map +1 -0
  729. package/dist/devices/lightsolutions.d.ts +3 -0
  730. package/dist/devices/lightsolutions.d.ts.map +1 -0
  731. package/dist/devices/lightsolutions.js +90 -0
  732. package/dist/devices/lightsolutions.js.map +1 -0
  733. package/dist/devices/lincukoo.d.ts +3 -0
  734. package/dist/devices/lincukoo.d.ts.map +1 -0
  735. package/dist/devices/lincukoo.js +788 -0
  736. package/dist/devices/lincukoo.js.map +1 -0
  737. package/dist/devices/linkind.d.ts +3 -0
  738. package/dist/devices/linkind.d.ts.map +1 -0
  739. package/dist/devices/linkind.js +251 -0
  740. package/dist/devices/linkind.js.map +1 -0
  741. package/dist/devices/linptech.d.ts +3 -0
  742. package/dist/devices/linptech.d.ts.map +1 -0
  743. package/dist/devices/linptech.js +157 -0
  744. package/dist/devices/linptech.js.map +1 -0
  745. package/dist/devices/livingwise.d.ts +3 -0
  746. package/dist/devices/livingwise.d.ts.map +1 -0
  747. package/dist/devices/livingwise.js +115 -0
  748. package/dist/devices/livingwise.js.map +1 -0
  749. package/dist/devices/livolo.d.ts +3 -0
  750. package/dist/devices/livolo.d.ts.map +1 -0
  751. package/dist/devices/livolo.js +263 -0
  752. package/dist/devices/livolo.js.map +1 -0
  753. package/dist/devices/lixee.d.ts +3 -0
  754. package/dist/devices/lixee.d.ts.map +1 -0
  755. package/dist/devices/lixee.js +2038 -0
  756. package/dist/devices/lixee.js.map +1 -0
  757. package/dist/devices/lonsonho.d.ts +3 -0
  758. package/dist/devices/lonsonho.d.ts.map +1 -0
  759. package/dist/devices/lonsonho.js +310 -0
  760. package/dist/devices/lonsonho.js.map +1 -0
  761. package/dist/devices/ls.d.ts +3 -0
  762. package/dist/devices/ls.d.ts.map +1 -0
  763. package/dist/devices/ls.js +152 -0
  764. package/dist/devices/ls.js.map +1 -0
  765. package/dist/devices/lubeez.d.ts +3 -0
  766. package/dist/devices/lubeez.d.ts.map +1 -0
  767. package/dist/devices/lubeez.js +47 -0
  768. package/dist/devices/lubeez.js.map +1 -0
  769. package/dist/devices/lumi.d.ts +3 -0
  770. package/dist/devices/lumi.d.ts.map +1 -0
  771. package/dist/devices/lumi.js +5345 -0
  772. package/dist/devices/lumi.js.map +1 -0
  773. package/dist/devices/lupus.d.ts +3 -0
  774. package/dist/devices/lupus.d.ts.map +1 -0
  775. package/dist/devices/lupus.js +94 -0
  776. package/dist/devices/lupus.js.map +1 -0
  777. package/dist/devices/lutron.d.ts +3 -0
  778. package/dist/devices/lutron.d.ts.map +1 -0
  779. package/dist/devices/lutron.js +81 -0
  780. package/dist/devices/lutron.js.map +1 -0
  781. package/dist/devices/lux.d.ts +3 -0
  782. package/dist/devices/lux.d.ts.map +1 -0
  783. package/dist/devices/lux.js +87 -0
  784. package/dist/devices/lux.js.map +1 -0
  785. package/dist/devices/lytko.d.ts +3 -0
  786. package/dist/devices/lytko.d.ts.map +1 -0
  787. package/dist/devices/lytko.js +1809 -0
  788. package/dist/devices/lytko.js.map +1 -0
  789. package/dist/devices/m_elec.d.ts +3 -0
  790. package/dist/devices/m_elec.d.ts.map +1 -0
  791. package/dist/devices/m_elec.js +68 -0
  792. package/dist/devices/m_elec.js.map +1 -0
  793. package/dist/devices/makegood.d.ts +3 -0
  794. package/dist/devices/makegood.d.ts.map +1 -0
  795. package/dist/devices/makegood.js +117 -0
  796. package/dist/devices/makegood.js.map +1 -0
  797. package/dist/devices/matcall_bv.d.ts +3 -0
  798. package/dist/devices/matcall_bv.d.ts.map +1 -0
  799. package/dist/devices/matcall_bv.js +54 -0
  800. package/dist/devices/matcall_bv.js.map +1 -0
  801. package/dist/devices/mazda.d.ts +3 -0
  802. package/dist/devices/mazda.d.ts.map +1 -0
  803. package/dist/devices/mazda.js +146 -0
  804. package/dist/devices/mazda.js.map +1 -0
  805. package/dist/devices/meazon.d.ts +3 -0
  806. package/dist/devices/meazon.d.ts.map +1 -0
  807. package/dist/devices/meazon.js +95 -0
  808. package/dist/devices/meazon.js.map +1 -0
  809. package/dist/devices/mercator.d.ts +3 -0
  810. package/dist/devices/mercator.d.ts.map +1 -0
  811. package/dist/devices/mercator.js +242 -0
  812. package/dist/devices/mercator.js.map +1 -0
  813. package/dist/devices/miboxer.d.ts +3 -0
  814. package/dist/devices/miboxer.d.ts.map +1 -0
  815. package/dist/devices/miboxer.js +304 -0
  816. package/dist/devices/miboxer.js.map +1 -0
  817. package/dist/devices/micromatic.d.ts +3 -0
  818. package/dist/devices/micromatic.d.ts.map +1 -0
  819. package/dist/devices/micromatic.js +47 -0
  820. package/dist/devices/micromatic.js.map +1 -0
  821. package/dist/devices/mill.d.ts +3 -0
  822. package/dist/devices/mill.d.ts.map +1 -0
  823. package/dist/devices/mill.js +52 -0
  824. package/dist/devices/mill.js.map +1 -0
  825. package/dist/devices/mindy.d.ts +3 -0
  826. package/dist/devices/mindy.d.ts.map +1 -0
  827. package/dist/devices/mindy.js +379 -0
  828. package/dist/devices/mindy.js.map +1 -0
  829. package/dist/devices/modular.d.ts +3 -0
  830. package/dist/devices/modular.d.ts.map +1 -0
  831. package/dist/devices/modular.js +47 -0
  832. package/dist/devices/modular.js.map +1 -0
  833. package/dist/devices/moes.d.ts +3 -0
  834. package/dist/devices/moes.d.ts.map +1 -0
  835. package/dist/devices/moes.js +2368 -0
  836. package/dist/devices/moes.js.map +1 -0
  837. package/dist/devices/muller_licht.d.ts +3 -0
  838. package/dist/devices/muller_licht.d.ts.map +1 -0
  839. package/dist/devices/muller_licht.js +366 -0
  840. package/dist/devices/muller_licht.js.map +1 -0
  841. package/dist/devices/multir.d.ts +3 -0
  842. package/dist/devices/multir.d.ts.map +1 -0
  843. package/dist/devices/multir.js +152 -0
  844. package/dist/devices/multir.js.map +1 -0
  845. package/dist/devices/multiterm.d.ts +3 -0
  846. package/dist/devices/multiterm.d.ts.map +1 -0
  847. package/dist/devices/multiterm.js +119 -0
  848. package/dist/devices/multiterm.js.map +1 -0
  849. package/dist/devices/namron.d.ts +3 -0
  850. package/dist/devices/namron.d.ts.map +1 -0
  851. package/dist/devices/namron.js +2004 -0
  852. package/dist/devices/namron.js.map +1 -0
  853. package/dist/devices/nanoleaf.d.ts +3 -0
  854. package/dist/devices/nanoleaf.d.ts.map +1 -0
  855. package/dist/devices/nanoleaf.js +47 -0
  856. package/dist/devices/nanoleaf.js.map +1 -0
  857. package/dist/devices/nedis.d.ts +3 -0
  858. package/dist/devices/nedis.d.ts.map +1 -0
  859. package/dist/devices/nedis.js +87 -0
  860. package/dist/devices/nedis.js.map +1 -0
  861. package/dist/devices/neo.d.ts +3 -0
  862. package/dist/devices/neo.d.ts.map +1 -0
  863. package/dist/devices/neo.js +526 -0
  864. package/dist/devices/neo.js.map +1 -0
  865. package/dist/devices/net2grid.d.ts +3 -0
  866. package/dist/devices/net2grid.d.ts.map +1 -0
  867. package/dist/devices/net2grid.js +64 -0
  868. package/dist/devices/net2grid.js.map +1 -0
  869. package/dist/devices/netvox.d.ts +3 -0
  870. package/dist/devices/netvox.d.ts.map +1 -0
  871. package/dist/devices/netvox.js +71 -0
  872. package/dist/devices/netvox.js.map +1 -0
  873. package/dist/devices/nexelec.d.ts +3 -0
  874. package/dist/devices/nexelec.d.ts.map +1 -0
  875. package/dist/devices/nexelec.js +47 -0
  876. package/dist/devices/nexelec.js.map +1 -0
  877. package/dist/devices/niko.d.ts +3 -0
  878. package/dist/devices/niko.d.ts.map +1 -0
  879. package/dist/devices/niko.js +769 -0
  880. package/dist/devices/niko.js.map +1 -0
  881. package/dist/devices/ninja_blocks.d.ts +3 -0
  882. package/dist/devices/ninja_blocks.d.ts.map +1 -0
  883. package/dist/devices/ninja_blocks.js +60 -0
  884. package/dist/devices/ninja_blocks.js.map +1 -0
  885. package/dist/devices/niviss.d.ts +3 -0
  886. package/dist/devices/niviss.d.ts.map +1 -0
  887. package/dist/devices/niviss.js +47 -0
  888. package/dist/devices/niviss.js.map +1 -0
  889. package/dist/devices/nobo.d.ts +3 -0
  890. package/dist/devices/nobo.d.ts.map +1 -0
  891. package/dist/devices/nobo.js +88 -0
  892. package/dist/devices/nobo.js.map +1 -0
  893. package/dist/devices/nodon.d.ts +3 -0
  894. package/dist/devices/nodon.d.ts.map +1 -0
  895. package/dist/devices/nodon.js +483 -0
  896. package/dist/devices/nodon.js.map +1 -0
  897. package/dist/devices/nordtronic.d.ts +3 -0
  898. package/dist/devices/nordtronic.d.ts.map +1 -0
  899. package/dist/devices/nordtronic.js +95 -0
  900. package/dist/devices/nordtronic.js.map +1 -0
  901. package/dist/devices/nous.d.ts +3 -0
  902. package/dist/devices/nous.d.ts.map +1 -0
  903. package/dist/devices/nous.js +367 -0
  904. package/dist/devices/nous.js.map +1 -0
  905. package/dist/devices/novo.d.ts +3 -0
  906. package/dist/devices/novo.d.ts.map +1 -0
  907. package/dist/devices/novo.js +53 -0
  908. package/dist/devices/novo.js.map +1 -0
  909. package/dist/devices/nue_3a.d.ts +3 -0
  910. package/dist/devices/nue_3a.d.ts.map +1 -0
  911. package/dist/devices/nue_3a.js +359 -0
  912. package/dist/devices/nue_3a.js.map +1 -0
  913. package/dist/devices/nyce.d.ts +3 -0
  914. package/dist/devices/nyce.d.ts.map +1 -0
  915. package/dist/devices/nyce.js +124 -0
  916. package/dist/devices/nyce.js.map +1 -0
  917. package/dist/devices/onenuo.d.ts +3 -0
  918. package/dist/devices/onenuo.d.ts.map +1 -0
  919. package/dist/devices/onenuo.js +83 -0
  920. package/dist/devices/onenuo.js.map +1 -0
  921. package/dist/devices/onesti.d.ts +3 -0
  922. package/dist/devices/onesti.d.ts.map +1 -0
  923. package/dist/devices/onesti.js +265 -0
  924. package/dist/devices/onesti.js.map +1 -0
  925. package/dist/devices/onokom.d.ts +3 -0
  926. package/dist/devices/onokom.d.ts.map +1 -0
  927. package/dist/devices/onokom.js +2715 -0
  928. package/dist/devices/onokom.js.map +1 -0
  929. package/dist/devices/openlumi.d.ts +3 -0
  930. package/dist/devices/openlumi.d.ts.map +1 -0
  931. package/dist/devices/openlumi.js +47 -0
  932. package/dist/devices/openlumi.js.map +1 -0
  933. package/dist/devices/orvibo.d.ts +12 -0
  934. package/dist/devices/orvibo.d.ts.map +1 -0
  935. package/dist/devices/orvibo.js +715 -0
  936. package/dist/devices/orvibo.js.map +1 -0
  937. package/dist/devices/orztech.d.ts +3 -0
  938. package/dist/devices/orztech.d.ts.map +1 -0
  939. package/dist/devices/orztech.js +195 -0
  940. package/dist/devices/orztech.js.map +1 -0
  941. package/dist/devices/osram.d.ts +3 -0
  942. package/dist/devices/osram.d.ts.map +1 -0
  943. package/dist/devices/osram.js +513 -0
  944. package/dist/devices/osram.js.map +1 -0
  945. package/dist/devices/oujiabao.d.ts +3 -0
  946. package/dist/devices/oujiabao.d.ts.map +1 -0
  947. package/dist/devices/oujiabao.js +51 -0
  948. package/dist/devices/oujiabao.js.map +1 -0
  949. package/dist/devices/owon.d.ts +3 -0
  950. package/dist/devices/owon.d.ts.map +1 -0
  951. package/dist/devices/owon.js +888 -0
  952. package/dist/devices/owon.js.map +1 -0
  953. package/dist/devices/ozsmartthings.d.ts +3 -0
  954. package/dist/devices/ozsmartthings.d.ts.map +1 -0
  955. package/dist/devices/ozsmartthings.js +47 -0
  956. package/dist/devices/ozsmartthings.js.map +1 -0
  957. package/dist/devices/paul_neuhaus.d.ts +3 -0
  958. package/dist/devices/paul_neuhaus.d.ts.map +1 -0
  959. package/dist/devices/paul_neuhaus.js +190 -0
  960. package/dist/devices/paul_neuhaus.js.map +1 -0
  961. package/dist/devices/paulmann.d.ts +3 -0
  962. package/dist/devices/paulmann.d.ts.map +1 -0
  963. package/dist/devices/paulmann.js +426 -0
  964. package/dist/devices/paulmann.js.map +1 -0
  965. package/dist/devices/peq.d.ts +3 -0
  966. package/dist/devices/peq.d.ts.map +1 -0
  967. package/dist/devices/peq.js +60 -0
  968. package/dist/devices/peq.js.map +1 -0
  969. package/dist/devices/perenio.d.ts +3 -0
  970. package/dist/devices/perenio.d.ts.map +1 -0
  971. package/dist/devices/perenio.js +461 -0
  972. package/dist/devices/perenio.js.map +1 -0
  973. package/dist/devices/philio.d.ts +3 -0
  974. package/dist/devices/philio.d.ts.map +1 -0
  975. package/dist/devices/philio.js +48 -0
  976. package/dist/devices/philio.js.map +1 -0
  977. package/dist/devices/philips.d.ts +3 -0
  978. package/dist/devices/philips.d.ts.map +1 -0
  979. package/dist/devices/philips.js +4948 -0
  980. package/dist/devices/philips.js.map +1 -0
  981. package/dist/devices/plaid.d.ts +3 -0
  982. package/dist/devices/plaid.d.ts.map +1 -0
  983. package/dist/devices/plaid.js +61 -0
  984. package/dist/devices/plaid.js.map +1 -0
  985. package/dist/devices/plugwise.d.ts +3 -0
  986. package/dist/devices/plugwise.d.ts.map +1 -0
  987. package/dist/devices/plugwise.js +217 -0
  988. package/dist/devices/plugwise.js.map +1 -0
  989. package/dist/devices/profalux.d.ts +3 -0
  990. package/dist/devices/profalux.d.ts.map +1 -0
  991. package/dist/devices/profalux.js +215 -0
  992. package/dist/devices/profalux.js.map +1 -0
  993. package/dist/devices/prolight.d.ts +3 -0
  994. package/dist/devices/prolight.d.ts.map +1 -0
  995. package/dist/devices/prolight.js +111 -0
  996. package/dist/devices/prolight.js.map +1 -0
  997. package/dist/devices/purmo.d.ts +3 -0
  998. package/dist/devices/purmo.d.ts.map +1 -0
  999. package/dist/devices/purmo.js +91 -0
  1000. package/dist/devices/purmo.js.map +1 -0
  1001. package/dist/devices/pushok.d.ts +3 -0
  1002. package/dist/devices/pushok.d.ts.map +1 -0
  1003. package/dist/devices/pushok.js +736 -0
  1004. package/dist/devices/pushok.js.map +1 -0
  1005. package/dist/devices/qa.d.ts +3 -0
  1006. package/dist/devices/qa.d.ts.map +1 -0
  1007. package/dist/devices/qa.js +445 -0
  1008. package/dist/devices/qa.js.map +1 -0
  1009. package/dist/devices/qmotion.d.ts +3 -0
  1010. package/dist/devices/qmotion.d.ts.map +1 -0
  1011. package/dist/devices/qmotion.js +69 -0
  1012. package/dist/devices/qmotion.js.map +1 -0
  1013. package/dist/devices/qoto.d.ts +3 -0
  1014. package/dist/devices/qoto.d.ts.map +1 -0
  1015. package/dist/devices/qoto.js +83 -0
  1016. package/dist/devices/qoto.js.map +1 -0
  1017. package/dist/devices/quirky.d.ts +8 -0
  1018. package/dist/devices/quirky.d.ts.map +1 -0
  1019. package/dist/devices/quirky.js +47 -0
  1020. package/dist/devices/quirky.js.map +1 -0
  1021. package/dist/devices/quotra.d.ts +3 -0
  1022. package/dist/devices/quotra.d.ts.map +1 -0
  1023. package/dist/devices/quotra.js +54 -0
  1024. package/dist/devices/quotra.js.map +1 -0
  1025. package/dist/devices/rademacher.d.ts +3 -0
  1026. package/dist/devices/rademacher.d.ts.map +1 -0
  1027. package/dist/devices/rademacher.js +61 -0
  1028. package/dist/devices/rademacher.js.map +1 -0
  1029. package/dist/devices/radium.d.ts +3 -0
  1030. package/dist/devices/radium.d.ts.map +1 -0
  1031. package/dist/devices/radium.js +47 -0
  1032. package/dist/devices/radium.js.map +1 -0
  1033. package/dist/devices/raex.d.ts +3 -0
  1034. package/dist/devices/raex.d.ts.map +1 -0
  1035. package/dist/devices/raex.js +47 -0
  1036. package/dist/devices/raex.js.map +1 -0
  1037. package/dist/devices/rgb_genie.d.ts +3 -0
  1038. package/dist/devices/rgb_genie.d.ts.map +1 -0
  1039. package/dist/devices/rgb_genie.js +277 -0
  1040. package/dist/devices/rgb_genie.js.map +1 -0
  1041. package/dist/devices/robb.d.ts +3 -0
  1042. package/dist/devices/robb.d.ts.map +1 -0
  1043. package/dist/devices/robb.js +492 -0
  1044. package/dist/devices/robb.js.map +1 -0
  1045. package/dist/devices/roome.d.ts +3 -0
  1046. package/dist/devices/roome.d.ts.map +1 -0
  1047. package/dist/devices/roome.js +51 -0
  1048. package/dist/devices/roome.js.map +1 -0
  1049. package/dist/devices/rtx.d.ts +3 -0
  1050. package/dist/devices/rtx.d.ts.map +1 -0
  1051. package/dist/devices/rtx.js +143 -0
  1052. package/dist/devices/rtx.js.map +1 -0
  1053. package/dist/devices/salus_controls.d.ts +3 -0
  1054. package/dist/devices/salus_controls.d.ts.map +1 -0
  1055. package/dist/devices/salus_controls.js +222 -0
  1056. package/dist/devices/salus_controls.js.map +1 -0
  1057. package/dist/devices/samotech.d.ts +3 -0
  1058. package/dist/devices/samotech.d.ts.map +1 -0
  1059. package/dist/devices/samotech.js +123 -0
  1060. package/dist/devices/samotech.js.map +1 -0
  1061. package/dist/devices/saswell.d.ts +3 -0
  1062. package/dist/devices/saswell.d.ts.map +1 -0
  1063. package/dist/devices/saswell.js +120 -0
  1064. package/dist/devices/saswell.js.map +1 -0
  1065. package/dist/devices/sber.d.ts +3 -0
  1066. package/dist/devices/sber.d.ts.map +1 -0
  1067. package/dist/devices/sber.js +1921 -0
  1068. package/dist/devices/sber.js.map +1 -0
  1069. package/dist/devices/scanproducts.d.ts +3 -0
  1070. package/dist/devices/scanproducts.d.ts.map +1 -0
  1071. package/dist/devices/scanproducts.js +54 -0
  1072. package/dist/devices/scanproducts.js.map +1 -0
  1073. package/dist/devices/schlage.d.ts +3 -0
  1074. package/dist/devices/schlage.d.ts.map +1 -0
  1075. package/dist/devices/schlage.js +60 -0
  1076. package/dist/devices/schlage.js.map +1 -0
  1077. package/dist/devices/schneider_electric.d.ts +10 -0
  1078. package/dist/devices/schneider_electric.d.ts.map +1 -0
  1079. package/dist/devices/schneider_electric.js +2801 -0
  1080. package/dist/devices/schneider_electric.js.map +1 -0
  1081. package/dist/devices/schwaiger.d.ts +3 -0
  1082. package/dist/devices/schwaiger.d.ts.map +1 -0
  1083. package/dist/devices/schwaiger.js +105 -0
  1084. package/dist/devices/schwaiger.js.map +1 -0
  1085. package/dist/devices/seastar_intelligence.d.ts +3 -0
  1086. package/dist/devices/seastar_intelligence.d.ts.map +1 -0
  1087. package/dist/devices/seastar_intelligence.js +52 -0
  1088. package/dist/devices/seastar_intelligence.js.map +1 -0
  1089. package/dist/devices/securifi.d.ts +3 -0
  1090. package/dist/devices/securifi.d.ts.map +1 -0
  1091. package/dist/devices/securifi.js +79 -0
  1092. package/dist/devices/securifi.js.map +1 -0
  1093. package/dist/devices/sengled.d.ts +6 -0
  1094. package/dist/devices/sengled.d.ts.map +1 -0
  1095. package/dist/devices/sengled.js +395 -0
  1096. package/dist/devices/sengled.js.map +1 -0
  1097. package/dist/devices/senoro.d.ts +3 -0
  1098. package/dist/devices/senoro.d.ts.map +1 -0
  1099. package/dist/devices/senoro.js +64 -0
  1100. package/dist/devices/senoro.js.map +1 -0
  1101. package/dist/devices/sercomm.d.ts +3 -0
  1102. package/dist/devices/sercomm.d.ts.map +1 -0
  1103. package/dist/devices/sercomm.js +193 -0
  1104. package/dist/devices/sercomm.js.map +1 -0
  1105. package/dist/devices/shade_control.d.ts +3 -0
  1106. package/dist/devices/shade_control.d.ts.map +1 -0
  1107. package/dist/devices/shade_control.js +61 -0
  1108. package/dist/devices/shade_control.js.map +1 -0
  1109. package/dist/devices/shelly.d.ts +3 -0
  1110. package/dist/devices/shelly.d.ts.map +1 -0
  1111. package/dist/devices/shelly.js +1304 -0
  1112. package/dist/devices/shelly.js.map +1 -0
  1113. package/dist/devices/shenzhen_homa.d.ts +3 -0
  1114. package/dist/devices/shenzhen_homa.d.ts.map +1 -0
  1115. package/dist/devices/shenzhen_homa.js +143 -0
  1116. package/dist/devices/shenzhen_homa.js.map +1 -0
  1117. package/dist/devices/shinasystem.d.ts +3 -0
  1118. package/dist/devices/shinasystem.d.ts.map +1 -0
  1119. package/dist/devices/shinasystem.js +1322 -0
  1120. package/dist/devices/shinasystem.js.map +1 -0
  1121. package/dist/devices/shyugj.d.ts +3 -0
  1122. package/dist/devices/shyugj.d.ts.map +1 -0
  1123. package/dist/devices/shyugj.js +53 -0
  1124. package/dist/devices/shyugj.js.map +1 -0
  1125. package/dist/devices/siglis.d.ts +3 -0
  1126. package/dist/devices/siglis.d.ts.map +1 -0
  1127. package/dist/devices/siglis.js +440 -0
  1128. package/dist/devices/siglis.js.map +1 -0
  1129. package/dist/devices/sikom.d.ts +3 -0
  1130. package/dist/devices/sikom.d.ts.map +1 -0
  1131. package/dist/devices/sikom.js +64 -0
  1132. package/dist/devices/sikom.js.map +1 -0
  1133. package/dist/devices/silicon_labs.d.ts +3 -0
  1134. package/dist/devices/silicon_labs.d.ts.map +1 -0
  1135. package/dist/devices/silicon_labs.js +47 -0
  1136. package/dist/devices/silicon_labs.js.map +1 -0
  1137. package/dist/devices/simon.d.ts +3 -0
  1138. package/dist/devices/simon.d.ts.map +1 -0
  1139. package/dist/devices/simon.js +54 -0
  1140. package/dist/devices/simon.js.map +1 -0
  1141. package/dist/devices/simpla_home.d.ts +3 -0
  1142. package/dist/devices/simpla_home.d.ts.map +1 -0
  1143. package/dist/devices/simpla_home.js +97 -0
  1144. package/dist/devices/simpla_home.js.map +1 -0
  1145. package/dist/devices/sinope.d.ts +3 -0
  1146. package/dist/devices/sinope.d.ts.map +1 -0
  1147. package/dist/devices/sinope.js +2015 -0
  1148. package/dist/devices/sinope.js.map +1 -0
  1149. package/dist/devices/siterwell.d.ts +3 -0
  1150. package/dist/devices/siterwell.d.ts.map +1 -0
  1151. package/dist/devices/siterwell.js +107 -0
  1152. package/dist/devices/siterwell.js.map +1 -0
  1153. package/dist/devices/skydance.d.ts +3 -0
  1154. package/dist/devices/skydance.d.ts.map +1 -0
  1155. package/dist/devices/skydance.js +138 -0
  1156. package/dist/devices/skydance.js.map +1 -0
  1157. package/dist/devices/slacky_diy.d.ts +3 -0
  1158. package/dist/devices/slacky_diy.d.ts.map +1 -0
  1159. package/dist/devices/slacky_diy.js +3694 -0
  1160. package/dist/devices/slacky_diy.js.map +1 -0
  1161. package/dist/devices/slv.d.ts +3 -0
  1162. package/dist/devices/slv.d.ts.map +1 -0
  1163. package/dist/devices/slv.js +77 -0
  1164. package/dist/devices/slv.js.map +1 -0
  1165. package/dist/devices/smarli.d.ts +3 -0
  1166. package/dist/devices/smarli.d.ts.map +1 -0
  1167. package/dist/devices/smarli.js +99 -0
  1168. package/dist/devices/smarli.js.map +1 -0
  1169. package/dist/devices/smart9.d.ts +3 -0
  1170. package/dist/devices/smart9.d.ts.map +1 -0
  1171. package/dist/devices/smart9.js +58 -0
  1172. package/dist/devices/smart9.js.map +1 -0
  1173. package/dist/devices/smart_home_pty.d.ts +3 -0
  1174. package/dist/devices/smart_home_pty.d.ts.map +1 -0
  1175. package/dist/devices/smart_home_pty.js +54 -0
  1176. package/dist/devices/smart_home_pty.js.map +1 -0
  1177. package/dist/devices/smartenit.d.ts +3 -0
  1178. package/dist/devices/smartenit.d.ts.map +1 -0
  1179. package/dist/devices/smartenit.js +77 -0
  1180. package/dist/devices/smartenit.js.map +1 -0
  1181. package/dist/devices/smartthings.d.ts +26 -0
  1182. package/dist/devices/smartthings.d.ts.map +1 -0
  1183. package/dist/devices/smartthings.js +571 -0
  1184. package/dist/devices/smartthings.js.map +1 -0
  1185. package/dist/devices/smartwings.d.ts +3 -0
  1186. package/dist/devices/smartwings.d.ts.map +1 -0
  1187. package/dist/devices/smartwings.js +60 -0
  1188. package/dist/devices/smartwings.js.map +1 -0
  1189. package/dist/devices/smlight.d.ts +3 -0
  1190. package/dist/devices/smlight.d.ts.map +1 -0
  1191. package/dist/devices/smlight.js +73 -0
  1192. package/dist/devices/smlight.js.map +1 -0
  1193. package/dist/devices/soanalarm.d.ts +3 -0
  1194. package/dist/devices/soanalarm.d.ts.map +1 -0
  1195. package/dist/devices/soanalarm.js +58 -0
  1196. package/dist/devices/soanalarm.js.map +1 -0
  1197. package/dist/devices/sohan_electric.d.ts +3 -0
  1198. package/dist/devices/sohan_electric.d.ts.map +1 -0
  1199. package/dist/devices/sohan_electric.js +49 -0
  1200. package/dist/devices/sohan_electric.js.map +1 -0
  1201. package/dist/devices/solaredge.d.ts +3 -0
  1202. package/dist/devices/solaredge.d.ts.map +1 -0
  1203. package/dist/devices/solaredge.js +47 -0
  1204. package/dist/devices/solaredge.js.map +1 -0
  1205. package/dist/devices/soma.d.ts +3 -0
  1206. package/dist/devices/soma.d.ts.map +1 -0
  1207. package/dist/devices/soma.js +47 -0
  1208. package/dist/devices/soma.js.map +1 -0
  1209. package/dist/devices/somfy.d.ts +3 -0
  1210. package/dist/devices/somfy.d.ts.map +1 -0
  1211. package/dist/devices/somfy.js +173 -0
  1212. package/dist/devices/somfy.js.map +1 -0
  1213. package/dist/devices/somgoms.d.ts +3 -0
  1214. package/dist/devices/somgoms.d.ts.map +1 -0
  1215. package/dist/devices/somgoms.js +80 -0
  1216. package/dist/devices/somgoms.js.map +1 -0
  1217. package/dist/devices/sonoff.d.ts +42 -0
  1218. package/dist/devices/sonoff.d.ts.map +1 -0
  1219. package/dist/devices/sonoff.js +4921 -0
  1220. package/dist/devices/sonoff.js.map +1 -0
  1221. package/dist/devices/sowilo.d.ts +3 -0
  1222. package/dist/devices/sowilo.d.ts.map +1 -0
  1223. package/dist/devices/sowilo.js +47 -0
  1224. package/dist/devices/sowilo.js.map +1 -0
  1225. package/dist/devices/spacetronik.d.ts +3 -0
  1226. package/dist/devices/spacetronik.d.ts.map +1 -0
  1227. package/dist/devices/spacetronik.js +53 -0
  1228. package/dist/devices/spacetronik.js.map +1 -0
  1229. package/dist/devices/spotmau.d.ts +3 -0
  1230. package/dist/devices/spotmau.d.ts.map +1 -0
  1231. package/dist/devices/spotmau.js +74 -0
  1232. package/dist/devices/spotmau.js.map +1 -0
  1233. package/dist/devices/sprut.d.ts +3 -0
  1234. package/dist/devices/sprut.d.ts.map +1 -0
  1235. package/dist/devices/sprut.js +328 -0
  1236. package/dist/devices/sprut.js.map +1 -0
  1237. package/dist/devices/stello.d.ts +3 -0
  1238. package/dist/devices/stello.d.ts.map +1 -0
  1239. package/dist/devices/stello.js +142 -0
  1240. package/dist/devices/stello.js.map +1 -0
  1241. package/dist/devices/stelpro.d.ts +3 -0
  1242. package/dist/devices/stelpro.d.ts.map +1 -0
  1243. package/dist/devices/stelpro.js +376 -0
  1244. package/dist/devices/stelpro.js.map +1 -0
  1245. package/dist/devices/sunricher.d.ts +30 -0
  1246. package/dist/devices/sunricher.d.ts.map +1 -0
  1247. package/dist/devices/sunricher.js +2337 -0
  1248. package/dist/devices/sunricher.js.map +1 -0
  1249. package/dist/devices/superled.d.ts +3 -0
  1250. package/dist/devices/superled.d.ts.map +1 -0
  1251. package/dist/devices/superled.js +47 -0
  1252. package/dist/devices/superled.js.map +1 -0
  1253. package/dist/devices/swann.d.ts +3 -0
  1254. package/dist/devices/swann.d.ts.map +1 -0
  1255. package/dist/devices/swann.js +69 -0
  1256. package/dist/devices/swann.js.map +1 -0
  1257. package/dist/devices/sylvania.d.ts +3 -0
  1258. package/dist/devices/sylvania.d.ts.map +1 -0
  1259. package/dist/devices/sylvania.js +223 -0
  1260. package/dist/devices/sylvania.js.map +1 -0
  1261. package/dist/devices/tapestry.d.ts +3 -0
  1262. package/dist/devices/tapestry.d.ts.map +1 -0
  1263. package/dist/devices/tapestry.js +52 -0
  1264. package/dist/devices/tapestry.js.map +1 -0
  1265. package/dist/devices/task_lighting.d.ts +3 -0
  1266. package/dist/devices/task_lighting.d.ts.map +1 -0
  1267. package/dist/devices/task_lighting.js +47 -0
  1268. package/dist/devices/task_lighting.js.map +1 -0
  1269. package/dist/devices/tci.d.ts +3 -0
  1270. package/dist/devices/tci.d.ts.map +1 -0
  1271. package/dist/devices/tci.js +68 -0
  1272. package/dist/devices/tci.js.map +1 -0
  1273. package/dist/devices/tcl.d.ts +3 -0
  1274. package/dist/devices/tcl.d.ts.map +1 -0
  1275. package/dist/devices/tcl.js +47 -0
  1276. package/dist/devices/tcl.js.map +1 -0
  1277. package/dist/devices/tech.d.ts +3 -0
  1278. package/dist/devices/tech.d.ts.map +1 -0
  1279. package/dist/devices/tech.js +213 -0
  1280. package/dist/devices/tech.js.map +1 -0
  1281. package/dist/devices/technicolor.d.ts +3 -0
  1282. package/dist/devices/technicolor.d.ts.map +1 -0
  1283. package/dist/devices/technicolor.js +85 -0
  1284. package/dist/devices/technicolor.js.map +1 -0
  1285. package/dist/devices/terncy.d.ts +3 -0
  1286. package/dist/devices/terncy.d.ts.map +1 -0
  1287. package/dist/devices/terncy.js +192 -0
  1288. package/dist/devices/terncy.js.map +1 -0
  1289. package/dist/devices/the_light_group.d.ts +3 -0
  1290. package/dist/devices/the_light_group.d.ts.map +1 -0
  1291. package/dist/devices/the_light_group.js +145 -0
  1292. package/dist/devices/the_light_group.js.map +1 -0
  1293. package/dist/devices/third_reality.d.ts +3 -0
  1294. package/dist/devices/third_reality.d.ts.map +1 -0
  1295. package/dist/devices/third_reality.js +1067 -0
  1296. package/dist/devices/third_reality.js.map +1 -0
  1297. package/dist/devices/tis_control.d.ts +3 -0
  1298. package/dist/devices/tis_control.d.ts.map +1 -0
  1299. package/dist/devices/tis_control.js +47 -0
  1300. package/dist/devices/tis_control.js.map +1 -0
  1301. package/dist/devices/titan_products.d.ts +3 -0
  1302. package/dist/devices/titan_products.d.ts.map +1 -0
  1303. package/dist/devices/titan_products.js +58 -0
  1304. package/dist/devices/titan_products.js.map +1 -0
  1305. package/dist/devices/tlwglobal.d.ts +3 -0
  1306. package/dist/devices/tlwglobal.d.ts.map +1 -0
  1307. package/dist/devices/tlwglobal.js +64 -0
  1308. package/dist/devices/tlwglobal.js.map +1 -0
  1309. package/dist/devices/tnce.d.ts +3 -0
  1310. package/dist/devices/tnce.d.ts.map +1 -0
  1311. package/dist/devices/tnce.js +54 -0
  1312. package/dist/devices/tnce.js.map +1 -0
  1313. package/dist/devices/tplink.d.ts +3 -0
  1314. package/dist/devices/tplink.d.ts.map +1 -0
  1315. package/dist/devices/tplink.js +77 -0
  1316. package/dist/devices/tplink.js.map +1 -0
  1317. package/dist/devices/trust.d.ts +3 -0
  1318. package/dist/devices/trust.d.ts.map +1 -0
  1319. package/dist/devices/trust.js +180 -0
  1320. package/dist/devices/trust.js.map +1 -0
  1321. package/dist/devices/tubeszb.d.ts +3 -0
  1322. package/dist/devices/tubeszb.d.ts.map +1 -0
  1323. package/dist/devices/tubeszb.js +56 -0
  1324. package/dist/devices/tubeszb.js.map +1 -0
  1325. package/dist/devices/tuya.d.ts +3 -0
  1326. package/dist/devices/tuya.d.ts.map +1 -0
  1327. package/dist/devices/tuya.js +24771 -0
  1328. package/dist/devices/tuya.js.map +1 -0
  1329. package/dist/devices/ubisys.d.ts +3 -0
  1330. package/dist/devices/ubisys.d.ts.map +1 -0
  1331. package/dist/devices/ubisys.js +1295 -0
  1332. package/dist/devices/ubisys.js.map +1 -0
  1333. package/dist/devices/uhome.d.ts +3 -0
  1334. package/dist/devices/uhome.d.ts.map +1 -0
  1335. package/dist/devices/uhome.js +60 -0
  1336. package/dist/devices/uhome.js.map +1 -0
  1337. package/dist/devices/universal_electronics_inc.d.ts +3 -0
  1338. package/dist/devices/universal_electronics_inc.d.ts.map +1 -0
  1339. package/dist/devices/universal_electronics_inc.js +156 -0
  1340. package/dist/devices/universal_electronics_inc.js.map +1 -0
  1341. package/dist/devices/vav.d.ts +3 -0
  1342. package/dist/devices/vav.d.ts.map +1 -0
  1343. package/dist/devices/vav.js +57 -0
  1344. package/dist/devices/vav.js.map +1 -0
  1345. package/dist/devices/vbled.d.ts +3 -0
  1346. package/dist/devices/vbled.d.ts.map +1 -0
  1347. package/dist/devices/vbled.js +47 -0
  1348. package/dist/devices/vbled.js.map +1 -0
  1349. package/dist/devices/vesternet.d.ts +3 -0
  1350. package/dist/devices/vesternet.d.ts.map +1 -0
  1351. package/dist/devices/vesternet.js +355 -0
  1352. package/dist/devices/vesternet.js.map +1 -0
  1353. package/dist/devices/viessmann.d.ts +3 -0
  1354. package/dist/devices/viessmann.d.ts.map +1 -0
  1355. package/dist/devices/viessmann.js +120 -0
  1356. package/dist/devices/viessmann.js.map +1 -0
  1357. package/dist/devices/villeroy_boch.d.ts +3 -0
  1358. package/dist/devices/villeroy_boch.d.ts.map +1 -0
  1359. package/dist/devices/villeroy_boch.js +54 -0
  1360. package/dist/devices/villeroy_boch.js.map +1 -0
  1361. package/dist/devices/vimar.d.ts +3 -0
  1362. package/dist/devices/vimar.d.ts.map +1 -0
  1363. package/dist/devices/vimar.js +140 -0
  1364. package/dist/devices/vimar.js.map +1 -0
  1365. package/dist/devices/visonic.d.ts +3 -0
  1366. package/dist/devices/visonic.d.ts.map +1 -0
  1367. package/dist/devices/visonic.js +134 -0
  1368. package/dist/devices/visonic.js.map +1 -0
  1369. package/dist/devices/vrey.d.ts +3 -0
  1370. package/dist/devices/vrey.d.ts.map +1 -0
  1371. package/dist/devices/vrey.js +48 -0
  1372. package/dist/devices/vrey.js.map +1 -0
  1373. package/dist/devices/vsmart.d.ts +3 -0
  1374. package/dist/devices/vsmart.d.ts.map +1 -0
  1375. package/dist/devices/vsmart.js +442 -0
  1376. package/dist/devices/vsmart.js.map +1 -0
  1377. package/dist/devices/wally.d.ts +3 -0
  1378. package/dist/devices/wally.d.ts.map +1 -0
  1379. package/dist/devices/wally.js +60 -0
  1380. package/dist/devices/wally.js.map +1 -0
  1381. package/dist/devices/waxman.d.ts +3 -0
  1382. package/dist/devices/waxman.d.ts.map +1 -0
  1383. package/dist/devices/waxman.js +83 -0
  1384. package/dist/devices/waxman.js.map +1 -0
  1385. package/dist/devices/weiser.d.ts +3 -0
  1386. package/dist/devices/weiser.d.ts.map +1 -0
  1387. package/dist/devices/weiser.js +54 -0
  1388. package/dist/devices/weiser.js.map +1 -0
  1389. package/dist/devices/weten.d.ts +3 -0
  1390. package/dist/devices/weten.d.ts.map +1 -0
  1391. package/dist/devices/weten.js +83 -0
  1392. package/dist/devices/weten.js.map +1 -0
  1393. package/dist/devices/wirenboard.d.ts +3 -0
  1394. package/dist/devices/wirenboard.d.ts.map +1 -0
  1395. package/dist/devices/wirenboard.js +715 -0
  1396. package/dist/devices/wirenboard.js.map +1 -0
  1397. package/dist/devices/wisdom.d.ts +3 -0
  1398. package/dist/devices/wisdom.d.ts.map +1 -0
  1399. package/dist/devices/wisdom.js +47 -0
  1400. package/dist/devices/wisdom.js.map +1 -0
  1401. package/dist/devices/wmun.d.ts +3 -0
  1402. package/dist/devices/wmun.d.ts.map +1 -0
  1403. package/dist/devices/wmun.js +61 -0
  1404. package/dist/devices/wmun.js.map +1 -0
  1405. package/dist/devices/woolley.d.ts +3 -0
  1406. package/dist/devices/woolley.d.ts.map +1 -0
  1407. package/dist/devices/woolley.js +96 -0
  1408. package/dist/devices/woolley.js.map +1 -0
  1409. package/dist/devices/woox.d.ts +3 -0
  1410. package/dist/devices/woox.d.ts.map +1 -0
  1411. package/dist/devices/woox.js +194 -0
  1412. package/dist/devices/woox.js.map +1 -0
  1413. package/dist/devices/wyze.d.ts +3 -0
  1414. package/dist/devices/wyze.d.ts.map +1 -0
  1415. package/dist/devices/wyze.js +59 -0
  1416. package/dist/devices/wyze.js.map +1 -0
  1417. package/dist/devices/xal.d.ts +3 -0
  1418. package/dist/devices/xal.d.ts.map +1 -0
  1419. package/dist/devices/xal.js +61 -0
  1420. package/dist/devices/xal.js.map +1 -0
  1421. package/dist/devices/xenon.d.ts +4 -0
  1422. package/dist/devices/xenon.d.ts.map +1 -0
  1423. package/dist/devices/xenon.js +65 -0
  1424. package/dist/devices/xenon.js.map +1 -0
  1425. package/dist/devices/xinghuoyuan.d.ts +3 -0
  1426. package/dist/devices/xinghuoyuan.d.ts.map +1 -0
  1427. package/dist/devices/xinghuoyuan.js +47 -0
  1428. package/dist/devices/xinghuoyuan.js.map +1 -0
  1429. package/dist/devices/xyzroe.d.ts +3 -0
  1430. package/dist/devices/xyzroe.d.ts.map +1 -0
  1431. package/dist/devices/xyzroe.js +511 -0
  1432. package/dist/devices/xyzroe.js.map +1 -0
  1433. package/dist/devices/yale.d.ts +3 -0
  1434. package/dist/devices/yale.d.ts.map +1 -0
  1435. package/dist/devices/yale.js +686 -0
  1436. package/dist/devices/yale.js.map +1 -0
  1437. package/dist/devices/yandex.d.ts +3 -0
  1438. package/dist/devices/yandex.d.ts.map +1 -0
  1439. package/dist/devices/yandex.js +677 -0
  1440. package/dist/devices/yandex.js.map +1 -0
  1441. package/dist/devices/ynoa.d.ts +3 -0
  1442. package/dist/devices/ynoa.d.ts.map +1 -0
  1443. package/dist/devices/ynoa.js +116 -0
  1444. package/dist/devices/ynoa.js.map +1 -0
  1445. package/dist/devices/yokis.d.ts +3 -0
  1446. package/dist/devices/yokis.d.ts.map +1 -0
  1447. package/dist/devices/yokis.js +2972 -0
  1448. package/dist/devices/yokis.js.map +1 -0
  1449. package/dist/devices/yookee.d.ts +3 -0
  1450. package/dist/devices/yookee.d.ts.map +1 -0
  1451. package/dist/devices/yookee.js +59 -0
  1452. package/dist/devices/yookee.js.map +1 -0
  1453. package/dist/devices/ysrsai.d.ts +3 -0
  1454. package/dist/devices/ysrsai.d.ts.map +1 -0
  1455. package/dist/devices/ysrsai.js +68 -0
  1456. package/dist/devices/ysrsai.js.map +1 -0
  1457. package/dist/devices/zbeacon.d.ts +3 -0
  1458. package/dist/devices/zbeacon.d.ts.map +1 -0
  1459. package/dist/devices/zbeacon.js +54 -0
  1460. package/dist/devices/zbeacon.js.map +1 -0
  1461. package/dist/devices/zemismart.d.ts +3 -0
  1462. package/dist/devices/zemismart.d.ts.map +1 -0
  1463. package/dist/devices/zemismart.js +1061 -0
  1464. package/dist/devices/zemismart.js.map +1 -0
  1465. package/dist/devices/zen.d.ts +3 -0
  1466. package/dist/devices/zen.d.ts.map +1 -0
  1467. package/dist/devices/zen.js +93 -0
  1468. package/dist/devices/zen.js.map +1 -0
  1469. package/dist/devices/zigbeetlc.d.ts +3 -0
  1470. package/dist/devices/zigbeetlc.d.ts.map +1 -0
  1471. package/dist/devices/zigbeetlc.js +374 -0
  1472. package/dist/devices/zigbeetlc.js.map +1 -0
  1473. package/dist/devices/zipato.d.ts +3 -0
  1474. package/dist/devices/zipato.d.ts.map +1 -0
  1475. package/dist/devices/zipato.js +47 -0
  1476. package/dist/devices/zipato.js.map +1 -0
  1477. package/dist/devices/zunzunbee.d.ts +3 -0
  1478. package/dist/devices/zunzunbee.d.ts.map +1 -0
  1479. package/dist/devices/zunzunbee.js +97 -0
  1480. package/dist/devices/zunzunbee.js.map +1 -0
  1481. package/dist/index.d.ts +19 -0
  1482. package/dist/index.d.ts.map +1 -0
  1483. package/dist/index.js.map +1 -0
  1484. package/dist/indexer.d.ts +5 -0
  1485. package/dist/indexer.d.ts.map +1 -0
  1486. package/dist/indexer.js +135 -0
  1487. package/dist/indexer.js.map +1 -0
  1488. package/dist/lib/adurosmart.d.ts +15 -0
  1489. package/dist/lib/adurosmart.d.ts.map +1 -0
  1490. package/dist/lib/adurosmart.js +669 -0
  1491. package/dist/lib/adurosmart.js.map +1 -0
  1492. package/dist/lib/bosch.d.ts +353 -0
  1493. package/dist/lib/bosch.d.ts.map +1 -0
  1494. package/dist/lib/bosch.js +3163 -0
  1495. package/dist/lib/bosch.js.map +1 -0
  1496. package/dist/lib/color.d.ts +272 -0
  1497. package/dist/lib/color.d.ts.map +1 -0
  1498. package/dist/lib/color.js +766 -0
  1499. package/dist/lib/color.js.map +1 -0
  1500. package/dist/lib/constants.d.ts +78 -0
  1501. package/dist/lib/constants.d.ts.map +1 -0
  1502. package/dist/lib/constants.js +317 -0
  1503. package/dist/lib/constants.js.map +1 -0
  1504. package/dist/lib/develco.d.ts +50 -0
  1505. package/dist/lib/develco.d.ts.map +1 -0
  1506. package/dist/lib/develco.js +433 -0
  1507. package/dist/lib/develco.js.map +1 -0
  1508. package/dist/lib/ewelink.d.ts +30 -0
  1509. package/dist/lib/ewelink.d.ts.map +1 -0
  1510. package/dist/lib/ewelink.js +722 -0
  1511. package/dist/lib/ewelink.js.map +1 -0
  1512. package/dist/lib/exposes.d.ts +376 -0
  1513. package/dist/lib/exposes.d.ts.map +1 -0
  1514. package/dist/lib/exposes.js +1136 -0
  1515. package/dist/lib/exposes.js.map +1 -0
  1516. package/dist/lib/generateDefinition.d.ts +10 -0
  1517. package/dist/lib/generateDefinition.d.ts.map +1 -0
  1518. package/dist/lib/generateDefinition.js +773 -0
  1519. package/dist/lib/generateDefinition.js.map +1 -0
  1520. package/dist/lib/heiman.d.ts +92 -0
  1521. package/dist/lib/heiman.d.ts.map +1 -0
  1522. package/dist/lib/heiman.js +211 -0
  1523. package/dist/lib/heiman.js.map +1 -0
  1524. package/dist/lib/ikea.d.ts +106 -0
  1525. package/dist/lib/ikea.d.ts.map +1 -0
  1526. package/dist/lib/ikea.js +984 -0
  1527. package/dist/lib/ikea.js.map +1 -0
  1528. package/dist/lib/kelvinToXy.d.ts +8 -0
  1529. package/dist/lib/kelvinToXy.d.ts.map +1 -0
  1530. package/dist/lib/kelvinToXy.js +1913 -0
  1531. package/dist/lib/kelvinToXy.js.map +1 -0
  1532. package/dist/lib/ledvance.d.ts +20 -0
  1533. package/dist/lib/ledvance.d.ts.map +1 -0
  1534. package/dist/lib/ledvance.js +100 -0
  1535. package/dist/lib/ledvance.js.map +1 -0
  1536. package/dist/lib/legacy.d.ts +5197 -0
  1537. package/dist/lib/legacy.d.ts.map +1 -0
  1538. package/dist/lib/legacy.js +6865 -0
  1539. package/dist/lib/legacy.js.map +1 -0
  1540. package/dist/lib/legrand.d.ts +132 -0
  1541. package/dist/lib/legrand.d.ts.map +1 -0
  1542. package/dist/lib/legrand.js +404 -0
  1543. package/dist/lib/legrand.js.map +1 -0
  1544. package/dist/lib/light.d.ts +9 -0
  1545. package/dist/lib/light.d.ts.map +1 -0
  1546. package/dist/lib/light.js +144 -0
  1547. package/dist/lib/light.js.map +1 -0
  1548. package/dist/lib/logger.d.ts +4 -0
  1549. package/dist/lib/logger.d.ts.map +1 -0
  1550. package/dist/lib/logger.js +14 -0
  1551. package/dist/lib/logger.js.map +1 -0
  1552. package/dist/lib/lumi.d.ts +1093 -0
  1553. package/dist/lib/lumi.d.ts.map +1 -0
  1554. package/dist/lib/lumi.js +6479 -0
  1555. package/dist/lib/lumi.js.map +1 -0
  1556. package/dist/lib/modernExtend.d.ts +436 -0
  1557. package/dist/lib/modernExtend.d.ts.map +1 -0
  1558. package/dist/lib/modernExtend.js +2702 -0
  1559. package/dist/lib/modernExtend.js.map +1 -0
  1560. package/dist/lib/namron.d.ts +56 -0
  1561. package/dist/lib/namron.d.ts.map +1 -0
  1562. package/dist/lib/namron.js +433 -0
  1563. package/dist/lib/namron.js.map +1 -0
  1564. package/dist/lib/nodon.d.ts +3 -0
  1565. package/dist/lib/nodon.d.ts.map +1 -0
  1566. package/dist/lib/nodon.js +130 -0
  1567. package/dist/lib/nodon.js.map +1 -0
  1568. package/dist/lib/philips.d.ts +321 -0
  1569. package/dist/lib/philips.d.ts.map +1 -0
  1570. package/dist/lib/philips.js +876 -0
  1571. package/dist/lib/philips.js.map +1 -0
  1572. package/dist/lib/reporting.d.ts +57 -0
  1573. package/dist/lib/reporting.d.ts.map +1 -0
  1574. package/dist/lib/reporting.js +294 -0
  1575. package/dist/lib/reporting.js.map +1 -0
  1576. package/dist/lib/sonoff.d.ts +30 -0
  1577. package/dist/lib/sonoff.d.ts.map +1 -0
  1578. package/dist/lib/sonoff.js +91 -0
  1579. package/dist/lib/sonoff.js.map +1 -0
  1580. package/dist/lib/store.d.ts +7 -0
  1581. package/dist/lib/store.d.ts.map +1 -0
  1582. package/dist/lib/store.js +59 -0
  1583. package/dist/lib/store.js.map +1 -0
  1584. package/dist/lib/sunricher.d.ts +29 -0
  1585. package/dist/lib/sunricher.d.ts.map +1 -0
  1586. package/dist/lib/sunricher.js +838 -0
  1587. package/dist/lib/sunricher.js.map +1 -0
  1588. package/dist/lib/tuya.d.ts +998 -0
  1589. package/dist/lib/tuya.d.ts.map +1 -0
  1590. package/dist/lib/tuya.js +3043 -0
  1591. package/dist/lib/tuya.js.map +1 -0
  1592. package/dist/lib/types.d.ts +429 -0
  1593. package/dist/lib/types.d.ts.map +1 -0
  1594. package/dist/lib/types.js +3 -0
  1595. package/dist/lib/types.js.map +1 -0
  1596. package/dist/lib/ubisys.d.ts +107 -0
  1597. package/dist/lib/ubisys.d.ts.map +1 -0
  1598. package/dist/lib/ubisys.js +576 -0
  1599. package/dist/lib/ubisys.js.map +1 -0
  1600. package/dist/lib/utils.d.ts +95 -0
  1601. package/dist/lib/utils.d.ts.map +1 -0
  1602. package/dist/lib/utils.js +736 -0
  1603. package/dist/lib/utils.js.map +1 -0
  1604. package/dist/lib/zosung.d.ts +52 -0
  1605. package/dist/lib/zosung.d.ts.map +1 -0
  1606. package/dist/lib/zosung.js +264 -0
  1607. package/dist/lib/zosung.js.map +1 -0
  1608. package/dist/models-index.json +1 -0
  1609. package/package.json +2 -8
@@ -0,0 +1,2092 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.definitions = void 0;
37
+ const zigbee_herdsman_1 = require("@willieee802/zigbee-herdsman");
38
+ const fz = __importStar(require("../converters/fromZigbee"));
39
+ const tz = __importStar(require("../converters/toZigbee"));
40
+ const constants = __importStar(require("../lib/constants"));
41
+ const exposes = __importStar(require("../lib/exposes"));
42
+ const heiman_1 = require("../lib/heiman");
43
+ const m = __importStar(require("../lib/modernExtend"));
44
+ const reporting = __importStar(require("../lib/reporting"));
45
+ const tuya = __importStar(require("../lib/tuya"));
46
+ const utils = __importStar(require("../lib/utils"));
47
+ const e = exposes.presets;
48
+ const ea = exposes.access;
49
+ const defaultResponseOptions = { disableDefaultResponse: false };
50
+ const iasWarningMode = { stop: 0, burglar: 1, fire: 2, emergency: 3, police_panic: 4, fire_panic: 5, emergency_panic: 6 };
51
+ const heimanExtend = {
52
+ heimanClusterRadar: () => m.deviceAddCustomCluster("heimanClusterRadar", {
53
+ ID: 0xfc8b,
54
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD,
55
+ attributes: {
56
+ enableIndicator: { ID: 0xf001, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true }, // 0: off, 1: enable
57
+ sensitivity: { ID: 0xf002, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
58
+ enableSubRegionIsolation: { ID: 0xf006, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
59
+ installationMethod: { ID: 0xf007, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
60
+ cellMountedTable: { ID: 0xf008, type: zigbee_herdsman_1.Zcl.DataType.OCTET_STR, write: true }, // string
61
+ wallMountedTable: { ID: 0xf009, type: zigbee_herdsman_1.Zcl.DataType.OCTET_STR, write: true }, // string
62
+ subRegionIsolationTable: { ID: 0xf00a, type: zigbee_herdsman_1.Zcl.DataType.OCTET_STR, write: true }, // string
63
+ },
64
+ commands: {},
65
+ commandsResponse: {},
66
+ }),
67
+ heimanClusterSpecial: () => m.deviceAddCustomCluster("heimanClusterSpecial", {
68
+ ID: 0xfc90,
69
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD,
70
+ attributes: {
71
+ // Sensor 0x0000~0x0FFF
72
+ sensorPreheatingState: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
73
+ sensorSelfCheckState: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
74
+ sensorFaultState: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.BITMAP16, write: true },
75
+ sensorPollutionLevel: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
76
+ sensorSensitivityLevel: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
77
+ sensorPrealarmThreshold: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
78
+ sensorLifeState: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
79
+ sensorLifeTime: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true },
80
+ deviceMuteControl: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
81
+ deviceMuteState: { ID: 0x0009, type: zigbee_herdsman_1.Zcl.DataType.BITMAP16, write: true },
82
+ deviceCascadeControlEnable: { ID: 0x000a, type: zigbee_herdsman_1.Zcl.DataType.BITMAP8, write: true },
83
+ deviceSoundToneType: { ID: 0x000b, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
84
+ deviceSoundControl: { ID: 0x000c, type: zigbee_herdsman_1.Zcl.DataType.ARRAY, write: true },
85
+ deviceBlinkControl: { ID: 0x000d, type: zigbee_herdsman_1.Zcl.DataType.ARRAY, write: true },
86
+ smokeAdValue: { ID: 0x000e, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true },
87
+ smokeAlarmType: { ID: 0x000f, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
88
+ smokeWaterMistState: { ID: 0x0010, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
89
+ smokeSensorData: { ID: 0x0011, type: zigbee_herdsman_1.Zcl.DataType.ARRAY, write: true },
90
+ deviceCascadeState: { ID: 0x0012, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
91
+ sensorPrealarmState: { ID: 0x0013, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true },
92
+ smokeConcentrationLevel: { ID: 0x0016, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
93
+ smokeChamberContaminationLevel: { ID: 0x0017, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
94
+ smokeConcentationUnit: { ID: 0x0018, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
95
+ // Light/Switch 0x1000~0x1FFF
96
+ indicatorLightControl: { ID: 0x1000, type: zigbee_herdsman_1.Zcl.DataType.BITMAP8, write: true },
97
+ indicatorLightNotDisturbStartTime: { ID: 0x1001, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true },
98
+ indicatorLightNotDisturbEndTime: { ID: 0x1002, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true },
99
+ indicatorLightNotDisturbEnable: { ID: 0x1003, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
100
+ indicatorLightLevelControlOf1: { ID: 0x1004, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
101
+ indicatorLightLevelControlOf2: { ID: 0x1005, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
102
+ indicatorLightLevelControlOf3: { ID: 0x1006, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
103
+ interconnectable: { ID: 0x1007, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true },
104
+ smokeUnit: { ID: 0x1008, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
105
+ rebootedCount: { ID: 0x1009, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
106
+ rejoinedCount: { ID: 0x100a, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
107
+ reportedPackages: { ID: 0x100b, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
108
+ },
109
+ commands: {},
110
+ commandsResponse: {},
111
+ }),
112
+ heimanClusterIasZone: () => m.deviceAddCustomCluster("ssIasZone", {
113
+ ID: zigbee_herdsman_1.Zcl.Clusters.ssIasZone.ID,
114
+ attributes: {},
115
+ commands: {
116
+ initiateTestMode: {
117
+ ID: 0x02,
118
+ parameters: [
119
+ { name: "testModeDuration", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
120
+ { name: "sensitivityLevel", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
121
+ ],
122
+ },
123
+ },
124
+ commandsResponse: {},
125
+ }),
126
+ // ModernExtend define
127
+ heimanClusterRadarActiveIndicatorExtend: () => {
128
+ const clusterName = "heimanClusterRadar";
129
+ const exposes = utils.exposeEndpoints(e.binary("enable_indicator", ea.ALL, true, false).withDescription("active green indicator"));
130
+ const fromZigbee = [
131
+ {
132
+ cluster: clusterName,
133
+ type: ["attributeReport", "readResponse"],
134
+ convert: (model, msg, publish, options, meta) => {
135
+ if (msg.data.enableIndicator === undefined) {
136
+ return;
137
+ }
138
+ const state = !!msg.data["enableIndicator"];
139
+ return { enable_indicator: state };
140
+ },
141
+ },
142
+ ];
143
+ const toZigbee = [
144
+ {
145
+ key: ["enable_indicator"],
146
+ convertGet: async (entity, key, meta) => {
147
+ await entity.read(clusterName, ["enableIndicator"], defaultResponseOptions);
148
+ },
149
+ convertSet: async (entity, key, value, meta) => {
150
+ // const state = (value as Record<string, unknown>) || {};
151
+ const state = value ? 1 : 0;
152
+ await entity.write(clusterName, { enableIndicator: state }, defaultResponseOptions);
153
+ },
154
+ },
155
+ ];
156
+ return { exposes: exposes, fromZigbee, toZigbee, isModernExtend: true };
157
+ },
158
+ heimanClusterRadarSubRegionEnableExtend: () => {
159
+ const clusterName = "heimanClusterRadar";
160
+ const exposes = utils.exposeEndpoints(e.binary("enable_sub_region_isolation", ea.ALL, true, false).withDescription("active green indicator"));
161
+ const fromZigbee = [
162
+ {
163
+ cluster: clusterName,
164
+ type: ["attributeReport", "readResponse"],
165
+ convert: (model, msg, publish, options, meta) => {
166
+ if (msg.data.enableSubRegionIsolation === undefined) {
167
+ return;
168
+ }
169
+ const state = !!msg.data["enableSubRegionIsolation"];
170
+ return { enable_sub_region_isolation: state };
171
+ },
172
+ },
173
+ ];
174
+ const toZigbee = [
175
+ {
176
+ key: ["enable_sub_region_isolation"],
177
+ convertGet: async (entity, key, meta) => {
178
+ await entity.read(clusterName, ["enableSubRegionIsolation"], defaultResponseOptions);
179
+ },
180
+ convertSet: async (entity, key, value, meta) => {
181
+ const state = value ? 1 : 0;
182
+ await entity.write(clusterName, { enableSubRegionIsolation: state }, defaultResponseOptions);
183
+ },
184
+ },
185
+ ];
186
+ return {
187
+ exposes: exposes,
188
+ fromZigbee,
189
+ toZigbee,
190
+ isModernExtend: true,
191
+ };
192
+ },
193
+ heimanClusterRadarSensitivityExtend: () => {
194
+ const clusterName = "heimanClusterRadar";
195
+ const exposes = utils.exposeEndpoints(e
196
+ .numeric("sensitivity", ea.ALL)
197
+ .withUnit("%")
198
+ .withValueMin(0)
199
+ .withValueMax(100)
200
+ .withDescription("Sensitivity of the radar sensor in range of 0 ~ 100%"));
201
+ const fromZigbee = [
202
+ {
203
+ cluster: clusterName,
204
+ type: ["attributeReport", "readResponse"],
205
+ convert: (model, msg, publish, options, meta) => {
206
+ let attrData = null;
207
+ if (msg.data.sensitivity === undefined) {
208
+ return;
209
+ }
210
+ attrData = msg.data["sensitivity"];
211
+ return { sensitivity: attrData };
212
+ },
213
+ },
214
+ ];
215
+ const toZigbee = [
216
+ {
217
+ key: ["sensitivity"],
218
+ convertGet: async (entity, key, meta) => {
219
+ await entity.read(clusterName, ["sensitivity"], defaultResponseOptions);
220
+ },
221
+ convertSet: async (entity, key, value, meta) => {
222
+ const state = Number(value);
223
+ await entity.write(clusterName, { sensitivity: state }, defaultResponseOptions);
224
+ },
225
+ },
226
+ ];
227
+ return {
228
+ exposes: exposes,
229
+ fromZigbee,
230
+ toZigbee,
231
+ isModernExtend: true,
232
+ };
233
+ },
234
+ heimanClusterRadarCellMountedTableExtend: () => {
235
+ const clusterName = "heimanClusterRadar";
236
+ const exposes = utils.exposeEndpoints(e
237
+ .text("cell_mounted_table", ea.ALL)
238
+ .withDescription("Ceiling installation area coordinate table. Format: 'X1,X2,Y1,Y2,height'. Value range: -2000≤X1≤0, 0≤X2≤2000 -2500≤Y1≤0, 0≤Y2≤2500 2300≤height≤3000 Unit:mm"));
239
+ const fromZigbee = [
240
+ {
241
+ cluster: clusterName,
242
+ type: ["attributeReport", "readResponse"],
243
+ convert: (model, msg, publish, options, meta) => {
244
+ const result = {};
245
+ const value = msg.data["cellMountedTable"];
246
+ if (Buffer.isBuffer(value) && value.length >= 5) {
247
+ if (value.length !== 10) {
248
+ throw new Error(`Invalid cell_mounted_table data length: expected 10 bytes, got ${value.length}.`);
249
+ }
250
+ const coordinates = [
251
+ value.readInt16LE(0), // x1
252
+ value.readInt16LE(2), // y1
253
+ value.readInt16LE(4), // x2
254
+ value.readInt16LE(6), // y2
255
+ value.readInt16LE(8), // height
256
+ ];
257
+ result.cell_mounted_table = coordinates.join(",");
258
+ }
259
+ return result;
260
+ },
261
+ },
262
+ ];
263
+ const toZigbee = [
264
+ {
265
+ key: ["cell_mounted_table"],
266
+ convertGet: async (entity, key, meta) => {
267
+ await entity.read(clusterName, ["cellMountedTable"], defaultResponseOptions);
268
+ },
269
+ convertSet: async (entity, key, value, meta) => {
270
+ if (key === "cell_mounted_table" && value !== "") {
271
+ const coordinates = value.split(",").map((v) => Number.parseInt(v, 10));
272
+ if (coordinates.length !== 5) {
273
+ throw new Error("cell_mounted_table must be a string with 5 comma-separated values (e.g., '-2000,2000,-2500,2500,2300')");
274
+ }
275
+ // Range check
276
+ if (coordinates[0] < -2000 ||
277
+ coordinates[0] > 0 || // X1
278
+ coordinates[1] < 0 ||
279
+ coordinates[1] > 2000 || // X2
280
+ coordinates[2] < -2500 ||
281
+ coordinates[2] > 0 || // Y1
282
+ coordinates[3] < 0 ||
283
+ coordinates[3] > 2500 || // Y2
284
+ coordinates[4] < 2300 ||
285
+ coordinates[4] > 3000 // height
286
+ ) {
287
+ throw new Error("Values out of range for Cell Mounted Table.");
288
+ }
289
+ const buffer = Buffer.alloc(10); // 10 bytes + 1 byte
290
+ buffer.writeInt16LE(coordinates[0], 0); // x1
291
+ buffer.writeInt16LE(coordinates[1], 2); // x2
292
+ buffer.writeInt16LE(coordinates[2], 4); // y1
293
+ buffer.writeInt16LE(coordinates[3], 6); // y2
294
+ buffer.writeInt16LE(coordinates[4], 8); // height
295
+ await entity.write(clusterName, { cellMountedTable: buffer }, defaultResponseOptions);
296
+ }
297
+ },
298
+ },
299
+ ];
300
+ return {
301
+ exposes: exposes,
302
+ fromZigbee,
303
+ toZigbee,
304
+ isModernExtend: true,
305
+ };
306
+ },
307
+ heimanClusterRadarWallMountedTableExtend: () => {
308
+ const clusterName = "heimanClusterRadar";
309
+ const exposes = utils.exposeEndpoints(e
310
+ .text("wall_mounted_table", ea.ALL)
311
+ .withDescription("Wall-mounted installation area coordinate table. Format: 'X1,X2,Y2,height' Value range: -2000≤X1≤0, 0≤X2≤2000 200≤Y2≤4000 1500≤height≤1600 Unit:mm."));
312
+ const fromZigbee = [
313
+ {
314
+ cluster: clusterName,
315
+ type: ["attributeReport", "readResponse"],
316
+ convert: (model, msg, publish, options, meta) => {
317
+ const result = {};
318
+ const value = msg.data["wallMountedTable"];
319
+ if (Buffer.isBuffer(value) && value.length >= 5) {
320
+ if (value.length !== 8) {
321
+ throw new Error(`Invalid wall_mounted_table data length: expected 8 bytes, got ${value.length}.`);
322
+ }
323
+ const coordinates = [
324
+ value.readInt16LE(0), // x1
325
+ value.readInt16LE(2), // y1
326
+ value.readInt16LE(4), // x2
327
+ value.readInt16LE(6), // height
328
+ ];
329
+ result.wall_mounted_table = coordinates.join(",");
330
+ }
331
+ return result;
332
+ },
333
+ },
334
+ ];
335
+ const toZigbee = [
336
+ {
337
+ key: ["wall_mounted_table"],
338
+ convertGet: async (entity, key, meta) => {
339
+ await entity.read(clusterName, ["wallMountedTable"], defaultResponseOptions);
340
+ },
341
+ convertSet: async (entity, key, value, meta) => {
342
+ if (key === "wall_mounted_table" && value !== "") {
343
+ const coordinates = value.split(",").map((v) => Number.parseInt(v, 10));
344
+ if (coordinates.length !== 4) {
345
+ throw new Error("wall_mounted_table must be a string with 4 comma-separated values (e.g., '-2000,2000,4000,1600')");
346
+ }
347
+ if (coordinates[0] < -2000 ||
348
+ coordinates[0] > 0 || // X1
349
+ coordinates[1] < 0 ||
350
+ coordinates[1] > 2000 || // X2
351
+ coordinates[2] < 200 ||
352
+ coordinates[2] > 4000 || // Y2
353
+ coordinates[3] < 1500 ||
354
+ coordinates[3] > 1600 // height
355
+ ) {
356
+ throw new Error("Values out of range for Wall Mounted Table.");
357
+ }
358
+ const buffer = Buffer.alloc(8); // 8 bytes + 1 byte
359
+ buffer.writeInt16LE(coordinates[0], 0); // x1
360
+ buffer.writeInt16LE(coordinates[1], 2); // x2
361
+ buffer.writeInt16LE(coordinates[2], 4); // y2
362
+ buffer.writeInt16LE(coordinates[3], 6); // height
363
+ await entity.write(clusterName, { wallMountedTable: buffer }, defaultResponseOptions);
364
+ }
365
+ },
366
+ },
367
+ ];
368
+ return {
369
+ exposes: exposes,
370
+ fromZigbee,
371
+ toZigbee,
372
+ isModernExtend: true,
373
+ };
374
+ },
375
+ heimanClusterRadarSubRegionIsolationTableExtend: () => {
376
+ const clusterName = "heimanClusterRadar";
377
+ const exposes = utils.exposeEndpoints(e
378
+ .text("sub_region_isolation_table", ea.ALL)
379
+ .withDescription("Undetectable area coordinate table. Format: 'x1,x2,y1,y2,z1,z2'. Ranges: X1≤x1≤x2≤X2 When wall-mounted: 200≤y1≤y2≤Y2 0≤z1≤z2≤2300 Ceiling installation: Y1≤y1≤y2≤Y2 0≤z1≤z2≤height Unit:mm"));
380
+ const fromZigbee = [
381
+ {
382
+ cluster: clusterName,
383
+ type: ["attributeReport", "readResponse"],
384
+ convert: (model, msg, publish, options, meta) => {
385
+ const result = {};
386
+ const value = msg.data["subRegionIsolationTable"];
387
+ if (Buffer.isBuffer(value) && value.length >= 5) {
388
+ if (value.length !== 12) {
389
+ throw new Error(`Invalid sub_region_isolation_table data length: expected 12 bytes, got ${value.length}.`);
390
+ }
391
+ const coordinates = [
392
+ value.readInt16LE(0), // x1
393
+ value.readInt16LE(2), // y1
394
+ value.readInt16LE(4), // x2
395
+ value.readInt16LE(6), // y2
396
+ value.readInt16LE(8), // z1
397
+ value.readInt16LE(10), // z2
398
+ ];
399
+ result.sub_region_isolation_table = coordinates.join(",");
400
+ }
401
+ return result;
402
+ },
403
+ },
404
+ ];
405
+ const toZigbee = [
406
+ {
407
+ key: ["sub_region_isolation_table"],
408
+ convertGet: async (entity, key, meta) => {
409
+ await entity.read(clusterName, ["subRegionIsolationTable"], defaultResponseOptions);
410
+ },
411
+ convertSet: async (entity, key, value, meta) => {
412
+ if (key === "sub_region_isolation_table" && value !== "") {
413
+ const coordinates = value.split(",").map((v) => Number.parseInt(v, 10));
414
+ if (coordinates.length !== 6) {
415
+ throw new Error("sub_region_isolation_table must be a string with 6 comma-separated values (e.g., '-2000,2000,-2500,2500,2300,3000')");
416
+ }
417
+ if (coordinates[0] < -2000 ||
418
+ coordinates[0] > 2000 || // X1
419
+ coordinates[1] < -2000 ||
420
+ coordinates[1] > 2000 // X2
421
+ ) {
422
+ throw new Error("Values out of range for Sub-Region Isolation Table.");
423
+ }
424
+ const buffer = Buffer.alloc(12); // 12 bytes + 1 byte
425
+ buffer.writeInt16LE(coordinates[0], 0); // x1
426
+ buffer.writeInt16LE(coordinates[1], 2); // x2
427
+ buffer.writeInt16LE(coordinates[2], 4); // y1
428
+ buffer.writeInt16LE(coordinates[3], 6); // y2
429
+ buffer.writeInt16LE(coordinates[4], 8); // z1
430
+ buffer.writeInt16LE(coordinates[5], 10); // z2
431
+ await entity.write(clusterName, { subRegionIsolationTable: buffer }, defaultResponseOptions);
432
+ }
433
+ },
434
+ },
435
+ ];
436
+ return {
437
+ exposes: exposes,
438
+ fromZigbee,
439
+ toZigbee,
440
+ isModernExtend: true,
441
+ };
442
+ },
443
+ heimanClusterRadarSenseExtend: () => {
444
+ const clusterName = "msOccupancySensing";
445
+ const exposes = [
446
+ e.binary("occupancy", ea.STATE, true, false).withDescription("Indicates if someone is present"),
447
+ e.enum("sensor_status", ea.STATE, ["none", "activity", "unknown"]).withDescription("Sensor activity status"),
448
+ e.enum("fall_status", ea.STATE, ["normal", "fall_warning", "fall_alarm", "unknown"]).withDescription("Fall detection status"),
449
+ ];
450
+ const fromZigbee = [
451
+ {
452
+ cluster: clusterName,
453
+ type: ["attributeReport", "readResponse"],
454
+ convert: (model, msg, publish, options, meta) => {
455
+ const result = {};
456
+ if (Object.hasOwn(msg.data, "occupancy")) {
457
+ const occupancy = msg.data.occupancy;
458
+ const bit0 = occupancy & 0x01; // Bit 0: Occupancy (0: no one, 1: someone)
459
+ const bit1to3 = (occupancy >> 1) & 0x07; // Bits 1-3: Sensor status
460
+ const bit4to5 = (occupancy >> 4) & 0x03; // Bits 4-5: Fall status
461
+ // Interprete bitmap
462
+ result.occupancy = bit0 === 1;
463
+ result.sensor_status = ["none", "activity"][bit1to3] || "unknown";
464
+ result.fall_status = ["normal", "fall_warning", "fall_alarm"][bit4to5] || "unknown";
465
+ }
466
+ return result;
467
+ },
468
+ },
469
+ ];
470
+ return {
471
+ exposes: exposes,
472
+ fromZigbee,
473
+ isModernExtend: true,
474
+ };
475
+ },
476
+ heimanClusterLegacyIlluminanceExtend: () => {
477
+ const clusterName = "msIlluminanceMeasurement";
478
+ const exposes = utils.exposeEndpoints(e.numeric("ambient_light", ea.STATE_GET).withUnit("Lx").withDescription("ambient illuminance in lux"));
479
+ const fromZigbee = [
480
+ {
481
+ cluster: clusterName,
482
+ type: ["attributeReport", "readResponse"],
483
+ convert: (model, msg, publish, options, meta) => {
484
+ let attrData = null;
485
+ if (msg.data.measuredValue === undefined) {
486
+ return;
487
+ }
488
+ attrData = msg.data["measuredValue"];
489
+ return { ambient_light: attrData };
490
+ },
491
+ },
492
+ ];
493
+ const toZigbee = [
494
+ {
495
+ key: ["ambient_light"],
496
+ convertGet: async (entity, key, meta) => {
497
+ await entity.read(clusterName, ["measuredValue"], defaultResponseOptions);
498
+ },
499
+ },
500
+ ];
501
+ return {
502
+ exposes: exposes,
503
+ fromZigbee,
504
+ toZigbee,
505
+ isModernExtend: true,
506
+ };
507
+ },
508
+ heimanClusterSensorFaultState: () => {
509
+ const clusterName = "heimanClusterSpecial";
510
+ const faultStateBitMap = {
511
+ 0: "fault", // bit0
512
+ 1: "open_circuit_fault", // bit1
513
+ 2: "short_circuit_fault", // bit2
514
+ 3: "pollution_fault", // bit3
515
+ };
516
+ const exposes = utils.exposeEndpoints(e.text("fault_state", ea.STATE_GET).withDescription("Device fault status (normal or fault types)."));
517
+ const fromZigbee = [
518
+ {
519
+ cluster: clusterName,
520
+ type: ["attributeReport", "readResponse"],
521
+ convert: (model, msg, publish, options, meta) => {
522
+ let attrData = null;
523
+ let attrValue = 0;
524
+ if (msg.data.sensorFaultState === undefined) {
525
+ return;
526
+ }
527
+ attrData = msg.data["sensorFaultState"];
528
+ attrValue = Number(attrData);
529
+ const activeFaults = [];
530
+ for (const [bit, faultDesc] of Object.entries(faultStateBitMap)) {
531
+ const bitNum = Number(bit);
532
+ const isFault = (attrValue & (1 << bitNum)) !== 0;
533
+ if (isFault) {
534
+ activeFaults.push(faultDesc);
535
+ }
536
+ }
537
+ const faultResult = activeFaults.length > 0 ? activeFaults.join(" | ") : "normal";
538
+ return { fault_state: faultResult };
539
+ },
540
+ },
541
+ ];
542
+ const toZigbee = [
543
+ {
544
+ key: ["fault_state"],
545
+ convertGet: async (entity, key, meta) => {
546
+ await entity.read(clusterName, ["sensorFaultState"], defaultResponseOptions);
547
+ },
548
+ },
549
+ ];
550
+ return {
551
+ exposes: exposes,
552
+ fromZigbee,
553
+ toZigbee,
554
+ isModernExtend: true,
555
+ };
556
+ },
557
+ heimanClusterDeviceMuteState: () => {
558
+ const clusterName = "heimanClusterSpecial";
559
+ const muteStateBitMap = {
560
+ 0: "muted", // bit0
561
+ 1: "alarm_muted", // bit1
562
+ 2: "fault_muted", // bit2
563
+ 3: "low_battery_muted", // bit3
564
+ };
565
+ const exposes = utils.exposeEndpoints(e.text("muted", ea.STATE_GET).withDescription("Device mute status (normal or mute types)."));
566
+ const fromZigbee = [
567
+ {
568
+ cluster: clusterName,
569
+ type: ["attributeReport", "readResponse"],
570
+ convert: (model, msg, publish, options, meta) => {
571
+ let attrData = null;
572
+ let attrValue = 0;
573
+ if (msg.data.deviceMuteState === undefined) {
574
+ return;
575
+ }
576
+ attrData = msg.data["deviceMuteState"];
577
+ attrValue = Number(attrData);
578
+ const activeMutes = [];
579
+ for (const [bit, muteDesc] of Object.entries(muteStateBitMap)) {
580
+ const bitNum = Number(bit);
581
+ const isFault = (attrValue & (1 << bitNum)) !== 0;
582
+ if (isFault) {
583
+ activeMutes.push(muteDesc);
584
+ }
585
+ }
586
+ const muteResult = activeMutes.length > 0 ? activeMutes.join(" | ") : "normal";
587
+ return { muted: muteResult };
588
+ },
589
+ },
590
+ ];
591
+ const toZigbee = [
592
+ {
593
+ key: ["muted"],
594
+ convertGet: async (entity, key, meta) => {
595
+ await entity.read(clusterName, ["deviceMuteState"], defaultResponseOptions);
596
+ },
597
+ },
598
+ ];
599
+ return {
600
+ exposes: exposes,
601
+ fromZigbee,
602
+ toZigbee,
603
+ isModernExtend: true,
604
+ };
605
+ },
606
+ heimanClusterIndicatorLight: () => {
607
+ const clusterName = "heimanClusterSpecial";
608
+ const exposes = utils.exposeEndpoints(e.binary("heartbeat_indicator", ea.ALL, true, false).withDescription("active green indicator"));
609
+ const fromZigbee = [
610
+ {
611
+ cluster: clusterName,
612
+ type: ["attributeReport", "readResponse"],
613
+ convert: (model, msg, publish, options, meta) => {
614
+ if (msg.data.indicatorLightLevelControlOf1 === undefined) {
615
+ return;
616
+ }
617
+ const state = !!msg.data["indicatorLightLevelControlOf1"];
618
+ return { heartbeat_indicator: state };
619
+ },
620
+ },
621
+ ];
622
+ const toZigbee = [
623
+ {
624
+ key: ["heartbeat_indicator"],
625
+ convertGet: async (entity, key, meta) => {
626
+ await entity.read(clusterName, ["indicatorLightLevelControlOf1"], defaultResponseOptions);
627
+ },
628
+ convertSet: async (entity, key, value, meta) => {
629
+ // const state = (value as Record<string, unknown>) || {};
630
+ const state = value ? 1 : 0;
631
+ await entity.write(clusterName, { indicatorLightLevelControlOf1: state }, defaultResponseOptions);
632
+ },
633
+ },
634
+ ];
635
+ return {
636
+ exposes: exposes,
637
+ fromZigbee,
638
+ toZigbee,
639
+ isModernExtend: true,
640
+ };
641
+ },
642
+ heimanClusterSensorInterconnectable: () => {
643
+ const clusterName = "heimanClusterSpecial";
644
+ const exposes = utils.exposeEndpoints(e.binary("interconnectable", ea.STATE_GET, true, false).withDescription("used for interconnection automation."));
645
+ const fromZigbee = [
646
+ {
647
+ cluster: clusterName,
648
+ type: ["attributeReport", "readResponse"],
649
+ convert: (model, msg, publish, options, meta) => {
650
+ if (msg.data.interconnectable === undefined) {
651
+ return;
652
+ }
653
+ const state = !!msg.data["interconnectable"];
654
+ return { interconnectable: state };
655
+ },
656
+ },
657
+ ];
658
+ const toZigbee = [
659
+ {
660
+ key: ["interconnectable"],
661
+ convertGet: async (entity, key, meta) => {
662
+ await entity.read(clusterName, ["interconnectable"], defaultResponseOptions);
663
+ },
664
+ },
665
+ ];
666
+ return {
667
+ exposes: exposes,
668
+ fromZigbee,
669
+ toZigbee,
670
+ isModernExtend: true,
671
+ };
672
+ },
673
+ iasZoneInitiateTestMode: () => {
674
+ const exposes = utils.exposeEndpoints(e.enum("trigger_selftest", ea.SET, ["test"]).withDescription("Trigger smoke alarm self-check test."));
675
+ const toZigbee = [
676
+ {
677
+ key: ["trigger_selftest"],
678
+ convertSet: async (entity, key, value, meta) => {
679
+ const testMode = {
680
+ testModeDuration: 0x01,
681
+ currentZoneSensitivityLevel: 0x01,
682
+ };
683
+ await entity.command("ssIasZone", "initTestMode", testMode);
684
+ return { state: { [key]: value } };
685
+ },
686
+ },
687
+ ];
688
+ return {
689
+ exposes: exposes,
690
+ fromZigbee: [],
691
+ toZigbee,
692
+ isModernExtend: true,
693
+ };
694
+ },
695
+ iasWarningDeviceControl: (args) => {
696
+ const defaultModes = Object.keys(iasWarningMode);
697
+ const displayModes = args?.warningMode ?? defaultModes;
698
+ const invalidModes = displayModes.filter((m) => !defaultModes.includes(m));
699
+ if (invalidModes.length > 0) {
700
+ throw new Error(`Invalid alarm mode: ${invalidModes.join(", ")},
701
+ Legal values: ${defaultModes.join(", ")}`);
702
+ }
703
+ // biome-ignore lint/correctness/noUnusedVariables: In the future use.
704
+ const level = { low: 0, medium: 1, high: 2, very_high: 3 };
705
+ // biome-ignore lint/correctness/noUnusedVariables: In the future use.
706
+ const strobeLevel = { low: 0, medium: 1, high: 2, very_high: 3 };
707
+ const exposes = utils.exposeEndpoints(e
708
+ .composite("warning_control", "warning_control", ea.SET)
709
+ .withDescription("Make the device trigger an alarm.")
710
+ .withFeature(e.enum("mode", ea.SET, displayModes).withDescription("Mode of the warning (sound effect)"))
711
+ .withFeature(e.numeric("duration", ea.SET).withUnit("s").withDescription("Duration in seconds of the alarm")));
712
+ const toZigbee = [
713
+ {
714
+ key: ["warning_control"],
715
+ convertSet: async (entity, key, value, meta) => {
716
+ const warningModeKey = "mode";
717
+ const warningDurationKey = "duration";
718
+ const warningModeStr = value[warningModeKey];
719
+ const warningDurationValue = Number(value[warningDurationKey]);
720
+ const warningModeValue = iasWarningMode[warningModeStr];
721
+ if (warningModeValue === undefined) {
722
+ throw new Error(`Invalid warning mode: ${invalidModes.join(", ")}, Valid modes:${defaultModes.join(", ")}`);
723
+ }
724
+ if (Number.isNaN(warningDurationValue) || warningDurationValue < 0) {
725
+ throw new Error(`Invalid duration: ${warningDurationValue}. Must be a non-negative number.`);
726
+ }
727
+ const values = {
728
+ mode: warningModeValue,
729
+ level: warningModeValue ? 1 : 0,
730
+ strobe: false,
731
+ duration: warningDurationValue,
732
+ strobeDutyCycle: 0,
733
+ strobeLevel: 0,
734
+ };
735
+ if (Array.isArray(meta.mapped))
736
+ throw new Error("Not supported for groups");
737
+ const info = (values.mode << 4) + ((values.strobe ? 1 : 0) << 2) + values.level;
738
+ await entity.command("ssIasWd", "startWarning", {
739
+ startwarninginfo: info,
740
+ warningduration: values.duration,
741
+ strobedutycycle: values.strobeDutyCycle,
742
+ strobelevel: values.strobeLevel,
743
+ }, utils.getOptions(meta.mapped, entity));
744
+ },
745
+ },
746
+ ];
747
+ return {
748
+ exposes: exposes,
749
+ fromZigbee: [],
750
+ toZigbee,
751
+ isModernExtend: true,
752
+ };
753
+ },
754
+ iasWarningDeviceMute: () => {
755
+ const exposes = utils.exposeEndpoints(e.enum("temporary_mute", ea.SET, ["mute"]).withDescription("temporarily mute smoke alarm but please ensure there is no real fire."));
756
+ const toZigbee = [
757
+ {
758
+ key: ["temporary_mute"],
759
+ convertSet: async (entity, key, value, meta) => {
760
+ const values = {
761
+ mode: 0,
762
+ level: 0,
763
+ strobe: false,
764
+ duration: 0,
765
+ strobeDutyCycle: 0,
766
+ strobeLevel: 0,
767
+ };
768
+ if (Array.isArray(meta.mapped))
769
+ throw new Error("Not supported for groups");
770
+ const info = (values.mode << 4) + ((values.strobe ? 1 : 0) << 2) + values.level;
771
+ await entity.command("ssIasWd", "startWarning", {
772
+ startwarninginfo: info,
773
+ warningduration: values.duration,
774
+ strobedutycycle: values.strobeDutyCycle,
775
+ strobelevel: values.strobeLevel,
776
+ }, utils.getOptions(meta.mapped, entity));
777
+ },
778
+ },
779
+ ];
780
+ return {
781
+ exposes: exposes,
782
+ fromZigbee: [],
783
+ toZigbee,
784
+ isModernExtend: true,
785
+ };
786
+ },
787
+ heimanClusterSensorMutable: () => {
788
+ const clusterName = "heimanClusterSpecial";
789
+ const exposes = utils.exposeEndpoints(e.binary("temporary_mute", ea.ALL, true, false).withDescription("temporarily mute smoke alarm but please ensure there is no real fire."));
790
+ const fromZigbee = [
791
+ {
792
+ cluster: clusterName,
793
+ type: ["attributeReport", "readResponse"],
794
+ convert: (model, msg, publish, options, meta) => {
795
+ if (msg.data.deviceMuteControl === undefined) {
796
+ return;
797
+ }
798
+ const state = !!msg.data["deviceMuteControl"];
799
+ return { temporary_mute: state };
800
+ },
801
+ },
802
+ ];
803
+ const toZigbee = [
804
+ {
805
+ key: ["temporary_mute"],
806
+ convertGet: async (entity, key, meta) => {
807
+ await entity.read(clusterName, ["deviceMuteControl"], defaultResponseOptions);
808
+ },
809
+ convertSet: async (entity, key, value, meta) => {
810
+ // const state = (value as Record<string, unknown>) || {};
811
+ const state = value ? 1 : 0;
812
+ await entity.write(clusterName, { deviceMuteControl: state }, defaultResponseOptions);
813
+ },
814
+ },
815
+ ];
816
+ return {
817
+ exposes: exposes,
818
+ fromZigbee,
819
+ toZigbee,
820
+ isModernExtend: true,
821
+ };
822
+ },
823
+ };
824
+ const fzLocal = {
825
+ heimanClusterSpecialfz: {
826
+ cluster: "heimanClusterSpecial",
827
+ type: ["attributeReport", "readResponse"],
828
+ convert: (model, msg, publish, options, meta) => {
829
+ const result = {};
830
+ const data = msg.data;
831
+ // 1. Define your lookup map
832
+ const contaminationLookup = {
833
+ 0: "normal",
834
+ 1: "light_contamination",
835
+ 2: "medium_contamination",
836
+ 3: "critical_contamination",
837
+ };
838
+ const smokeSirenLookup = {
839
+ 0: "stop",
840
+ 1: "smoke_siren",
841
+ 2: "co_siren",
842
+ };
843
+ if (data.smokeConcentrationLevel !== undefined) {
844
+ const raw = Number.parseFloat(data.smokeConcentrationLevel) / 100;
845
+ // Check if valid, then force exactly 2 decimal places as a STRING
846
+ result.smoke_level = Number.isNaN(raw) ? "0.00" : raw.toFixed(2);
847
+ }
848
+ if (data.deviceCascadeState !== undefined) {
849
+ result.siren_for_automation_only = smokeSirenLookup[data.deviceCascadeState];
850
+ }
851
+ if (data.smokeChamberContaminationLevel !== undefined) {
852
+ result.chamber_contamination = contaminationLookup[data.smokeChamberContaminationLevel];
853
+ }
854
+ if (data.smokeConcentationUnit !== undefined) {
855
+ result.smoke_unit = data.smokeConcentationUnit ? "%ft OBS" : "dB/m";
856
+ }
857
+ return result;
858
+ },
859
+ },
860
+ };
861
+ exports.definitions = [
862
+ {
863
+ zigbeeModel: ["PIRILLSensor-EF-3.0"],
864
+ model: "HS1MIS-3.0",
865
+ vendor: "Heiman",
866
+ description: "Smart occupancy sensor",
867
+ fromZigbee: [fz.occupancy, fz.battery],
868
+ exposes: [e.occupancy(), e.battery()],
869
+ configure: async (device, cordinatorEndpoint) => {
870
+ const endpoint1 = device.getEndpoint(1);
871
+ await reporting.bind(endpoint1, cordinatorEndpoint, ["msOccupancySensing", "genPowerCfg"]);
872
+ await reporting.batteryPercentageRemaining(endpoint1);
873
+ await reporting.occupancy(endpoint1);
874
+ },
875
+ extend: [m.illuminance()],
876
+ },
877
+ {
878
+ fingerprint: tuya.fingerprint("TS0212", ["_TYZB01_wpmo3ja3"]),
879
+ zigbeeModel: ["CO_V15", "CO_YDLV10", "CO_V16", "1ccaa94c49a84abaa9e38687913947ba", "CO_CTPG"],
880
+ model: "HS1CA-M",
881
+ description: "Smart carbon monoxide sensor",
882
+ vendor: "Heiman",
883
+ fromZigbee: [fz.ias_carbon_monoxide_alarm_1, fz.battery],
884
+ toZigbee: [],
885
+ configure: async (device, coordinatorEndpoint) => {
886
+ const endpoint = device.getEndpoint(1);
887
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
888
+ await reporting.batteryPercentageRemaining(endpoint);
889
+ await reporting.batteryAlarmState(endpoint);
890
+ },
891
+ exposes: [e.carbon_monoxide(), e.battery_low(), e.battery()],
892
+ },
893
+ {
894
+ zigbeeModel: ["PIRSensor-N", "PIRSensor-N-3.0", "PIRSensor-EM", "PIRSensor-EF-3.0", "PIR_TPV13"],
895
+ model: "HS3MS",
896
+ vendor: "Heiman",
897
+ description: "Smart motion sensor",
898
+ fromZigbee: [fz.ias_occupancy_alarm_1],
899
+ toZigbee: [],
900
+ exposes: [e.occupancy(), e.battery_low(), e.tamper()],
901
+ },
902
+ {
903
+ zigbeeModel: ["SmartPlug", "SmartPlug-EF-3.0"],
904
+ model: "HS2SK",
905
+ description: "Smart metering plug",
906
+ vendor: "Heiman",
907
+ fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering],
908
+ toZigbee: [tz.on_off],
909
+ whiteLabel: [{ vendor: "Schneider Electric", model: "CCTFR6500" }],
910
+ configure: async (device, coordinatorEndpoint) => {
911
+ const endpoint = device.getEndpoint(1);
912
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "haElectricalMeasurement", "seMetering"]);
913
+ await reporting.onOff(endpoint);
914
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
915
+ await reporting.rmsVoltage(endpoint);
916
+ await reporting.rmsCurrent(endpoint);
917
+ await reporting.activePower(endpoint);
918
+ await reporting.readMeteringMultiplierDivisor(endpoint);
919
+ await reporting.currentSummDelivered(endpoint);
920
+ },
921
+ exposes: [e.switch(), e.power(), e.current(), e.voltage(), e.energy()],
922
+ },
923
+ {
924
+ fingerprint: [{ modelID: "SmartPlug-N", manufacturerName: "HEIMAN" }],
925
+ model: "HS2SK_nxp",
926
+ description: "Smart metering plug",
927
+ vendor: "Heiman",
928
+ fromZigbee: [fz.on_off, fz.electrical_measurement],
929
+ toZigbee: [tz.on_off],
930
+ extend: [tuya.modernExtend.electricityMeasurementPoll()],
931
+ configure: async (device, coordinatorEndpoint) => {
932
+ const endpoint = device.getEndpoint(1);
933
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "haElectricalMeasurement"]);
934
+ await reporting.onOff(endpoint);
935
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
936
+ },
937
+ exposes: [e.switch(), e.power(), e.current(), e.voltage()],
938
+ },
939
+ {
940
+ zigbeeModel: [
941
+ "SMOK_V16",
942
+ "SMOK_V15",
943
+ "b5db59bfd81e4f1f95dc57fdbba17931",
944
+ "98293058552c49f38ad0748541ee96ba",
945
+ "SMOK_YDLV10",
946
+ "FB56-SMF02HM1.4",
947
+ "SmokeSensor-N-3.0",
948
+ "319fa36e7384414a9ea62cba8f6e7626",
949
+ "c3442b4ac59b4ba1a83119d938f283ab",
950
+ "SmokeSensor-EF-3.0",
951
+ "SMOK_HV14",
952
+ "SMOK_YDLV10N",
953
+ ],
954
+ model: "HS1SA-E",
955
+ vendor: "Heiman",
956
+ description: "Smoke detector",
957
+ fromZigbee: [fz.ias_smoke_alarm_1, fz.battery],
958
+ toZigbee: [],
959
+ configure: async (device, coordinatorEndpoint) => {
960
+ const endpoint = device.getEndpoint(1);
961
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
962
+ await reporting.batteryPercentageRemaining(endpoint);
963
+ },
964
+ exposes: [e.smoke(), e.battery_low(), e.battery(), e.test()],
965
+ },
966
+ {
967
+ zigbeeModel: ["SmokeSensor-N", "SmokeSensor-EM"],
968
+ model: "HS3SA/HS1SA",
969
+ vendor: "Heiman",
970
+ description: "Smoke detector",
971
+ fromZigbee: [fz.ias_smoke_alarm_1, fz.battery],
972
+ toZigbee: [],
973
+ configure: async (device, coordinatorEndpoint) => {
974
+ const endpoint = device.getEndpoint(1);
975
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
976
+ await reporting.batteryPercentageRemaining(endpoint);
977
+ },
978
+ exposes: [e.smoke(), e.battery_low(), e.battery(), e.test()],
979
+ },
980
+ {
981
+ zigbeeModel: ["HS2SA-EF-3.0"],
982
+ model: "HS2SA-EF-3.0",
983
+ vendor: "Heiman",
984
+ description: "Smoke detector",
985
+ fromZigbee: [fz.ias_smoke_alarm_1, fz.battery],
986
+ toZigbee: [],
987
+ configure: async (device, coordinatorEndpoint) => {
988
+ const endpoint = device.getEndpoint(1);
989
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
990
+ await reporting.batteryPercentageRemaining(endpoint);
991
+ },
992
+ exposes: [e.smoke(), e.battery_low(), e.battery(), e.test()],
993
+ },
994
+ {
995
+ zigbeeModel: ["GASSensor-N", "GASSensor-N-3.0", "d90d7c61c44d468a8e906ca0841e0a0c"],
996
+ model: "HS3CG",
997
+ vendor: "Heiman",
998
+ description: "Combustible gas sensor",
999
+ fromZigbee: [fz.ias_gas_alarm_2],
1000
+ toZigbee: [],
1001
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1002
+ },
1003
+ {
1004
+ zigbeeModel: ["GASSensor-EN"],
1005
+ model: "HS1CG-M",
1006
+ vendor: "Heiman",
1007
+ description: "Combustible gas sensor",
1008
+ fromZigbee: [fz.ias_gas_alarm_1],
1009
+ toZigbee: [],
1010
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1011
+ },
1012
+ {
1013
+ zigbeeModel: ["HY0022"],
1014
+ model: "HS1CG_H",
1015
+ vendor: "Heiman",
1016
+ description: "Smart combustible gas sensor",
1017
+ fromZigbee: [fz.ias_gas_alarm_1],
1018
+ toZigbee: [],
1019
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1020
+ },
1021
+ {
1022
+ zigbeeModel: ["RH3070"],
1023
+ model: "HS1CG",
1024
+ vendor: "Heiman",
1025
+ description: "Smart combustible gas sensor",
1026
+ fromZigbee: [fz.ias_gas_alarm_1],
1027
+ toZigbee: [],
1028
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1029
+ },
1030
+ {
1031
+ zigbeeModel: ["GAS_V15"],
1032
+ model: "HS1CG_M",
1033
+ vendor: "Heiman",
1034
+ description: "Combustible gas sensor",
1035
+ fromZigbee: [fz.ias_gas_alarm_2],
1036
+ toZigbee: [],
1037
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1038
+ },
1039
+ {
1040
+ zigbeeModel: ["DoorSensor-N", "DoorSensor-N-3.0"],
1041
+ model: "HS3DS",
1042
+ vendor: "Heiman",
1043
+ description: "Door sensor",
1044
+ fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
1045
+ toZigbee: [],
1046
+ configure: async (device, coordinatorEndpoint) => {
1047
+ const endpoint = device.getEndpoint(1);
1048
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1049
+ await reporting.batteryPercentageRemaining(endpoint);
1050
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1051
+ },
1052
+ exposes: [e.contact(), e.battery(), e.battery_low(), e.tamper()],
1053
+ },
1054
+ {
1055
+ zigbeeModel: ["HS8DS-EF2-3.0"],
1056
+ model: "HS8DS-EFA",
1057
+ vendor: "Heiman",
1058
+ description: "Door sensor",
1059
+ extend: [m.battery(), m.iasZoneAlarm({ zoneType: "contact", zoneAttributes: ["alarm_1", "battery_low"] })],
1060
+ },
1061
+ {
1062
+ zigbeeModel: ["D1-EF2-3.0"],
1063
+ model: "D1-EFA",
1064
+ vendor: "Heiman",
1065
+ description: "Door sensor",
1066
+ extend: [m.battery(), m.iasZoneAlarm({ zoneType: "contact", zoneAttributes: ["alarm_1", "battery_low", "tamper"] })],
1067
+ },
1068
+ {
1069
+ zigbeeModel: ["DoorSensor-EM", "DoorSensor-EF-3.0"],
1070
+ model: "HS1DS",
1071
+ vendor: "Heiman",
1072
+ description: "Door sensor",
1073
+ fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
1074
+ toZigbee: [],
1075
+ configure: async (device, coordinatorEndpoint) => {
1076
+ const endpoint = device.getEndpoint(1);
1077
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1078
+ await reporting.batteryPercentageRemaining(endpoint);
1079
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1080
+ },
1081
+ exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
1082
+ },
1083
+ {
1084
+ zigbeeModel: ["DOOR_TPV13", "DOOR_TPV12"],
1085
+ model: "Heiman-M1",
1086
+ vendor: "Heiman",
1087
+ description: "Door sensor",
1088
+ fromZigbee: [fz.ias_contact_alarm_1],
1089
+ toZigbee: [],
1090
+ exposes: [e.contact(), e.battery_low(), e.tamper()],
1091
+ },
1092
+ {
1093
+ zigbeeModel: ["WaterSensor-N", "WaterSensor-EM", "WaterSensor-N-3.0", "WaterSensor-EF-3.0", "WATER_TPV13", "TY0207"],
1094
+ model: "HS1WL/HS3WL",
1095
+ vendor: "Heiman",
1096
+ description: "Water leakage sensor",
1097
+ fromZigbee: [fz.ias_water_leak_alarm_1, fz.battery],
1098
+ toZigbee: [],
1099
+ configure: async (device, coordinatorEndpoint) => {
1100
+ const endpoint = device.getEndpoint(1);
1101
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1102
+ await reporting.batteryPercentageRemaining(endpoint);
1103
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1104
+ },
1105
+ exposes: [e.water_leak(), e.battery_low(), e.tamper(), e.battery()],
1106
+ },
1107
+ {
1108
+ zigbeeModel: ["WaterSensor2-EF-3.0"],
1109
+ model: "HS2WL",
1110
+ vendor: "Heiman",
1111
+ description: "Water leakage sensor",
1112
+ fromZigbee: [],
1113
+ toZigbee: [],
1114
+ extend: [m.iasZoneAlarm({ zoneType: "water_leak", zoneAttributes: ["alarm_1"] }), m.temperature(), m.battery({ lowStatus: true })],
1115
+ configure: async (device, coordinatorEndpoint) => {
1116
+ const endpoint = device.getEndpoint(1);
1117
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "msTemperatureMeasurement"]);
1118
+ await reporting.batteryPercentageRemaining(endpoint);
1119
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1120
+ await endpoint.read("msTemperatureMeasurement", ["measuredValue"]);
1121
+ },
1122
+ },
1123
+ {
1124
+ fingerprint: [{ modelID: "RC-N", manufacturerName: "HEIMAN" }],
1125
+ model: "HS1RC-N",
1126
+ vendor: "Heiman",
1127
+ description: "Smart remote controller",
1128
+ fromZigbee: [fz.battery, fz.command_arm, fz.command_emergency],
1129
+ toZigbee: [],
1130
+ exposes: [e.battery(), e.action(["emergency", "disarm", "arm_partial_zones", "arm_all_zones"])],
1131
+ configure: async (device, coordinatorEndpoint) => {
1132
+ const endpoint = device.getEndpoint(1);
1133
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1134
+ await reporting.batteryPercentageRemaining(endpoint);
1135
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1136
+ },
1137
+ },
1138
+ {
1139
+ fingerprint: [{ modelID: "RC-EF-3.0", manufacturerName: "HEIMAN" }],
1140
+ model: "HM1RC-2-E",
1141
+ vendor: "Heiman",
1142
+ description: "Smart remote controller",
1143
+ fromZigbee: [fz.battery, fz.command_arm, fz.command_emergency],
1144
+ toZigbee: [],
1145
+ exposes: [e.battery(), e.action(["emergency", "disarm", "arm_day_zones", "arm_all_zones"])],
1146
+ configure: async (device, coordinatorEndpoint) => {
1147
+ const endpoint = device.getEndpoint(1);
1148
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1149
+ await reporting.batteryPercentageRemaining(endpoint);
1150
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1151
+ },
1152
+ extend: [m.iasArmCommandDefaultResponse()],
1153
+ },
1154
+ {
1155
+ fingerprint: [{ modelID: "RC-EM", manufacturerName: "HEIMAN" }],
1156
+ model: "HS1RC-EM",
1157
+ vendor: "Heiman",
1158
+ description: "Smart remote controller",
1159
+ fromZigbee: [fz.battery, fz.command_arm, fz.command_emergency],
1160
+ toZigbee: [],
1161
+ exposes: [e.battery(), e.action(["emergency", "disarm", "arm_partial_zones", "arm_all_zones"])],
1162
+ configure: async (device, coordinatorEndpoint) => {
1163
+ const endpoint = device.getEndpoint(1);
1164
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1165
+ await reporting.batteryPercentageRemaining(endpoint);
1166
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1167
+ },
1168
+ },
1169
+ {
1170
+ zigbeeModel: ["COSensor-EM", "COSensor-N", "COSensor-EF-3.0"],
1171
+ model: "HS1CA-E",
1172
+ vendor: "Heiman",
1173
+ description: "Smart carbon monoxide sensor",
1174
+ fromZigbee: [fz.ias_carbon_monoxide_alarm_1, fz.battery],
1175
+ toZigbee: [],
1176
+ configure: async (device, coordinatorEndpoint) => {
1177
+ const endpoint = device.getEndpoint(1);
1178
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1179
+ await reporting.batteryPercentageRemaining(endpoint);
1180
+ },
1181
+ exposes: [e.carbon_monoxide(), e.battery_low(), e.battery()],
1182
+ },
1183
+ {
1184
+ fingerprint: tuya.fingerprint("TS0216", ["_TYZB01_8scntis1", "_TYZB01_4obovpbi"]),
1185
+ zigbeeModel: ["WarningDevice", "WarningDevice-EF-3.0"],
1186
+ model: "HS2WD-E",
1187
+ vendor: "Heiman",
1188
+ description: "Smart siren",
1189
+ fromZigbee: [fz.battery, fz.ias_wd],
1190
+ toZigbee: [tz.warning, tz.ias_max_duration],
1191
+ meta: { disableDefaultResponse: true },
1192
+ configure: async (device, coordinatorEndpoint) => {
1193
+ const endpoint = device.getEndpoint(1);
1194
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1195
+ await reporting.batteryPercentageRemaining(endpoint);
1196
+ await endpoint.read("ssIasWd", ["maxDuration"]);
1197
+ },
1198
+ exposes: [
1199
+ e.battery(),
1200
+ e
1201
+ .numeric("max_duration", ea.ALL)
1202
+ .withUnit("s")
1203
+ .withValueMin(0)
1204
+ .withValueMax(600)
1205
+ .withDescription("Max duration of Siren")
1206
+ .withCategory("config"),
1207
+ e
1208
+ .warning()
1209
+ .removeFeature("level")
1210
+ .removeFeature("strobe_level")
1211
+ .removeFeature("mode")
1212
+ .withFeature(e.enum("mode", ea.SET, ["stop", "emergency"]).withDescription("Mode of the warning (sound effect)")),
1213
+ ],
1214
+ },
1215
+ {
1216
+ zigbeeModel: ["HT-EM", "TH-EM", "TH-T_V14"],
1217
+ model: "HS1HT",
1218
+ vendor: "Heiman",
1219
+ description: "Smart temperature & humidity Sensor",
1220
+ exposes: [e.battery(), e.temperature(), e.humidity()],
1221
+ fromZigbee: [fz.temperature, fz.humidity, fz.battery],
1222
+ toZigbee: [],
1223
+ meta: { battery: { voltageToPercentage: { min: 2500, max: 3000 } } },
1224
+ whiteLabel: [{ vendor: "Ferguson", model: "TH-T_V14" }],
1225
+ configure: async (device, coordinatorEndpoint) => {
1226
+ const endpoint1 = device.getEndpoint(1);
1227
+ await reporting.bind(endpoint1, coordinatorEndpoint, ["msTemperatureMeasurement"]);
1228
+ const endpoint2 = device.getEndpoint(2);
1229
+ await reporting.bind(endpoint2, coordinatorEndpoint, ["msRelativeHumidity", "genPowerCfg"]);
1230
+ await reporting.temperature(endpoint1);
1231
+ await reporting.humidity(endpoint2);
1232
+ await reporting.batteryVoltage(endpoint2);
1233
+ await reporting.batteryPercentageRemaining(endpoint2);
1234
+ },
1235
+ },
1236
+ {
1237
+ zigbeeModel: ["HT-N", "HT-EF-3.0"],
1238
+ model: "HS1HT-N",
1239
+ vendor: "Heiman",
1240
+ description: "Smart temperature & humidity Sensor",
1241
+ fromZigbee: [fz.temperature, fz.humidity, fz.battery],
1242
+ toZigbee: [],
1243
+ configure: async (device, coordinatorEndpoint) => {
1244
+ const endpoint1 = device.getEndpoint(1);
1245
+ await reporting.bind(endpoint1, coordinatorEndpoint, ["msTemperatureMeasurement", "genPowerCfg"]);
1246
+ await reporting.temperature(endpoint1);
1247
+ await reporting.batteryPercentageRemaining(endpoint1);
1248
+ await endpoint1.read("genPowerCfg", ["batteryPercentageRemaining"]);
1249
+ const endpoint2 = device.getEndpoint(2);
1250
+ await reporting.bind(endpoint2, coordinatorEndpoint, ["msRelativeHumidity"]);
1251
+ await reporting.humidity(endpoint2);
1252
+ },
1253
+ exposes: [e.temperature(), e.humidity(), e.battery()],
1254
+ },
1255
+ {
1256
+ zigbeeModel: ["E_Socket", "E8331510SSZB_C1"],
1257
+ model: "HS2ESK-E",
1258
+ vendor: "Heiman",
1259
+ description: "Smart in wall plug",
1260
+ fromZigbee: [fz.on_off, fz.electrical_measurement],
1261
+ toZigbee: [tz.on_off],
1262
+ configure: async (device, coordinatorEndpoint) => {
1263
+ const endpoint = device.getEndpoint(1);
1264
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "haElectricalMeasurement"]);
1265
+ await reporting.onOff(endpoint);
1266
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
1267
+ await reporting.rmsVoltage(endpoint);
1268
+ await reporting.rmsCurrent(endpoint);
1269
+ await reporting.activePower(endpoint);
1270
+ },
1271
+ exposes: [e.switch(), e.power(), e.current(), e.voltage()],
1272
+ },
1273
+ {
1274
+ fingerprint: [
1275
+ { modelID: "SOS-EM", manufacturerName: "HEIMAN" },
1276
+ { modelID: "SOS-EF-3.0", manufacturerName: "HEIMAN" },
1277
+ ],
1278
+ model: "HS1EB/HS1EB-E",
1279
+ vendor: "Heiman",
1280
+ description: "Smart emergency button",
1281
+ fromZigbee: [fz.command_status_change_notification_action, fz.battery],
1282
+ toZigbee: [],
1283
+ exposes: [e.battery(), e.action(["off", "single", "double", "hold"])],
1284
+ configure: async (device, coordinatorEndpoint) => {
1285
+ const endpoint = device.getEndpoint(1);
1286
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1287
+ await reporting.batteryPercentageRemaining(endpoint);
1288
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1289
+ },
1290
+ },
1291
+ {
1292
+ fingerprint: [{ modelID: "SceneSwitch-EM-3.0", manufacturerName: "HEIMAN" }],
1293
+ model: "HS2SS",
1294
+ vendor: "Heiman",
1295
+ description: "Smart scene switch",
1296
+ extend: [(0, heiman_1.addCustomClusterHeimanSpecificScenes)()],
1297
+ fromZigbee: [fz.battery, fz.heiman_scenes],
1298
+ exposes: [e.battery(), e.action(["cinema", "at_home", "sleep", "go_out", "repast"])],
1299
+ toZigbee: [],
1300
+ configure: async (device, coordinatorEndpoint) => {
1301
+ const endpoint = device.getEndpoint(1);
1302
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "heimanSpecificScenes"]);
1303
+ await reporting.batteryPercentageRemaining(endpoint);
1304
+ },
1305
+ },
1306
+ {
1307
+ zigbeeModel: ["TempDimmerSw-EM-3.0"],
1308
+ model: "HS2WDSC-E",
1309
+ vendor: "Heiman",
1310
+ description: "Remote dimmer and temperature control",
1311
+ fromZigbee: [
1312
+ fz.battery,
1313
+ fz.command_on,
1314
+ fz.command_off,
1315
+ fz.command_move,
1316
+ fz.command_stop,
1317
+ fz.command_move_to_color,
1318
+ fz.command_move_to_color_temp,
1319
+ ],
1320
+ exposes: [e.battery(), e.action(["on", "off", "move", "stop", "color_move", "color_temperature_move"])],
1321
+ toZigbee: [],
1322
+ configure: async (device, coordinatorEndpoint) => {
1323
+ const endpoint = device.getEndpoint(1);
1324
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "genOnOff", "genLevelCtrl", "lightingColorCtrl"]);
1325
+ await reporting.batteryPercentageRemaining(endpoint, { min: constants.repInterval.MINUTES_5, max: constants.repInterval.HOUR });
1326
+ },
1327
+ },
1328
+ {
1329
+ fingerprint: [{ modelID: "ColorDimmerSw-EM-3.0", manufacturerName: "HEIMAN" }],
1330
+ model: "HS2WDSR-E",
1331
+ vendor: "Heiman",
1332
+ description: "Remote dimmer and color control",
1333
+ fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_move, fz.command_stop, fz.command_move_to_color],
1334
+ exposes: [e.battery(), e.action(["on", "off", "move", "stop", "color_move"])],
1335
+ toZigbee: [],
1336
+ configure: async (device, coordinatorEndpoint) => {
1337
+ const endpoint = device.getEndpoint(1);
1338
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "genOnOff", "genLevelCtrl", "lightingColorCtrl"]);
1339
+ await reporting.batteryPercentageRemaining(endpoint, { min: constants.repInterval.MINUTES_5, max: constants.repInterval.HOUR });
1340
+ },
1341
+ },
1342
+ {
1343
+ zigbeeModel: ["HS3HT-EFA-3.0"],
1344
+ model: "HS3HT",
1345
+ vendor: "Heiman",
1346
+ description: "Temperature & humidity sensor with display",
1347
+ fromZigbee: [fz.temperature, fz.humidity, fz.battery],
1348
+ toZigbee: [],
1349
+ configure: async (device, coordinatorEndpoint) => {
1350
+ const endpoint1 = device.getEndpoint(1);
1351
+ await reporting.bind(endpoint1, coordinatorEndpoint, ["msTemperatureMeasurement", "genPowerCfg"]);
1352
+ await reporting.temperature(endpoint1);
1353
+ await reporting.batteryPercentageRemaining(endpoint1);
1354
+ await endpoint1.read("genPowerCfg", ["batteryPercentageRemaining"]);
1355
+ const endpoint2 = device.getEndpoint(2);
1356
+ await reporting.bind(endpoint2, coordinatorEndpoint, ["msRelativeHumidity"]);
1357
+ await reporting.humidity(endpoint2);
1358
+ },
1359
+ exposes: [e.battery(), e.temperature(), e.humidity()],
1360
+ },
1361
+ {
1362
+ zigbeeModel: ["GASSensor-EM", "358e4e3e03c644709905034dae81433e"],
1363
+ model: "HS1CG-E",
1364
+ vendor: "Heiman",
1365
+ description: "Combustible gas sensor",
1366
+ fromZigbee: [fz.ias_gas_alarm_1],
1367
+ toZigbee: [],
1368
+ whiteLabel: [{ vendor: "Piri", model: "HSIO18008" }],
1369
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1370
+ },
1371
+ {
1372
+ zigbeeModel: ["GASSensor-EFR-3.0", "GASSensor-EF-3.0"],
1373
+ model: "HS1CG-E_3.0",
1374
+ vendor: "Heiman",
1375
+ description: "Combustible gas sensor",
1376
+ fromZigbee: [fz.ias_gas_alarm_2],
1377
+ toZigbee: [],
1378
+ exposes: [e.gas(), e.battery_low(), e.tamper()],
1379
+ },
1380
+ {
1381
+ fingerprint: [{ modelID: "Vibration-N", manufacturerName: "HEIMAN" }],
1382
+ model: "HS1VS-N",
1383
+ vendor: "Heiman",
1384
+ description: "Vibration sensor",
1385
+ fromZigbee: [fz.ias_vibration_alarm_1, fz.battery],
1386
+ toZigbee: [],
1387
+ configure: async (device, coordinatorEndpoint) => {
1388
+ const endpoint = device.getEndpoint(1);
1389
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1390
+ await reporting.batteryPercentageRemaining(endpoint);
1391
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1392
+ },
1393
+ exposes: [e.vibration(), e.battery_low(), e.tamper(), e.battery()],
1394
+ },
1395
+ {
1396
+ fingerprint: [
1397
+ { modelID: "Vibration-EF_3.0", manufacturerName: "HEIMAN" },
1398
+ { modelID: "Vibration-EF-3.0", manufacturerName: "HEIMAN" },
1399
+ ],
1400
+ model: "HS1VS-EF",
1401
+ vendor: "Heiman",
1402
+ description: "Vibration sensor",
1403
+ fromZigbee: [fz.ias_vibration_alarm_1, fz.battery],
1404
+ toZigbee: [],
1405
+ configure: async (device, coordinatorEndpoint) => {
1406
+ const endpoint = device.getEndpoint(1);
1407
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1408
+ await reporting.batteryPercentageRemaining(endpoint);
1409
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1410
+ },
1411
+ exposes: [e.vibration(), e.battery_low(), e.tamper(), e.battery()],
1412
+ },
1413
+ {
1414
+ fingerprint: [{ modelID: "HS2AQ-EM", manufacturerName: "HEIMAN" }],
1415
+ model: "HS2AQ-EM",
1416
+ vendor: "Heiman",
1417
+ description: "Air quality monitor",
1418
+ extend: [(0, heiman_1.addCustomClusterHeimanSpecificAirQuality)()],
1419
+ fromZigbee: [fz.battery, fz.temperature, fz.humidity, fz.pm25, fz.heiman_hcho, fz.heiman_air_quality],
1420
+ toZigbee: [],
1421
+ configure: async (device, coordinatorEndpoint) => {
1422
+ const heiman = {
1423
+ configureReporting: {
1424
+ pm25MeasuredValue: async (endpoint, overrides) => {
1425
+ const payload = reporting.payload("measuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1426
+ await endpoint.configureReporting("pm25Measurement", payload);
1427
+ },
1428
+ formAldehydeMeasuredValue: async (endpoint, overrides) => {
1429
+ const payload = reporting.payload("measuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1430
+ await endpoint.configureReporting("msFormaldehyde", payload);
1431
+ },
1432
+ batteryState: async (endpoint, overrides) => {
1433
+ const payload = reporting.payload("batteryState", 0, constants.repInterval.HOUR, 1, overrides);
1434
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1435
+ },
1436
+ pm10measuredValue: async (endpoint, overrides) => {
1437
+ const payload = reporting.payload("pm10measuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1438
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1439
+ },
1440
+ tvocMeasuredValue: async (endpoint, overrides) => {
1441
+ const payload = reporting.payload("tvocMeasuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1442
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1443
+ },
1444
+ aqiMeasuredValue: async (endpoint, overrides) => {
1445
+ const payload = reporting.payload("aqiMeasuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1446
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1447
+ },
1448
+ },
1449
+ };
1450
+ const endpoint = device.getEndpoint(1);
1451
+ await reporting.bind(endpoint, coordinatorEndpoint, [
1452
+ "genPowerCfg",
1453
+ "genTime",
1454
+ "msTemperatureMeasurement",
1455
+ "msRelativeHumidity",
1456
+ "pm25Measurement",
1457
+ "msFormaldehyde",
1458
+ "heimanSpecificAirQuality",
1459
+ ]);
1460
+ await reporting.batteryPercentageRemaining(endpoint);
1461
+ await reporting.temperature(endpoint);
1462
+ await reporting.humidity(endpoint);
1463
+ await heiman.configureReporting.pm25MeasuredValue(endpoint);
1464
+ await heiman.configureReporting.formAldehydeMeasuredValue(endpoint);
1465
+ await heiman.configureReporting.batteryState(endpoint);
1466
+ await heiman.configureReporting.pm10measuredValue(endpoint);
1467
+ await heiman.configureReporting.tvocMeasuredValue(endpoint);
1468
+ await heiman.configureReporting.aqiMeasuredValue(endpoint);
1469
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1470
+ // Seems that it is bug in Heiman, device does not asks for the time with binding
1471
+ // So, we need to write time during configure
1472
+ const time = Math.round((Date.now() - constants.OneJanuary2000) / 1000);
1473
+ // Time-master + synchronised
1474
+ const values = { timeStatus: 3, time: time, timeZone: new Date().getTimezoneOffset() * -1 * 60 };
1475
+ await endpoint.write("genTime", values);
1476
+ },
1477
+ exposes: [
1478
+ e.battery(),
1479
+ e.temperature(),
1480
+ e.humidity(),
1481
+ e.pm25(),
1482
+ e.hcho(),
1483
+ e.voc(),
1484
+ e.aqi(),
1485
+ e.pm10(),
1486
+ e.enum("battery_state", ea.STATE, ["not_charging", "charging", "charged"]),
1487
+ ],
1488
+ },
1489
+ {
1490
+ fingerprint: [{ modelID: "IRControl-EM", manufacturerName: "HEIMAN" }],
1491
+ model: "HS1IRC",
1492
+ vendor: "Heiman",
1493
+ description: "Smart IR Control",
1494
+ extend: [(0, heiman_1.addCustomClusterHeimanSpecificInfraRedRemote)()],
1495
+ fromZigbee: [fz.battery, fz.heiman_ir_remote],
1496
+ toZigbee: [tz.heiman_ir_remote],
1497
+ exposes: [e.battery()],
1498
+ configure: async (device, coordinatorEndpoint) => {
1499
+ const endpoint = device.getEndpoint(1);
1500
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "heimanSpecificInfraRedRemote"]);
1501
+ await reporting.batteryPercentageRemaining(endpoint);
1502
+ },
1503
+ },
1504
+ {
1505
+ fingerprint: [{ modelID: "IRControl2-EF-3.0", manufacturerName: "HEIMAN" }],
1506
+ model: "HS2IRC",
1507
+ vendor: "Heiman",
1508
+ description: "Smart IR Control",
1509
+ extend: [(0, heiman_1.addCustomClusterHeimanSpecificInfraRedRemote)()],
1510
+ fromZigbee: [fz.heiman_ir_remote],
1511
+ toZigbee: [tz.heiman_ir_remote],
1512
+ configure: async (device, coordinatorEndpoint) => {
1513
+ const endpoint = device.getEndpoint(1);
1514
+ await reporting.bind(endpoint, coordinatorEndpoint, ["heimanSpecificInfraRedRemote"]);
1515
+ },
1516
+ },
1517
+ {
1518
+ zigbeeModel: ["HS2SW1L-EF-3.0", "HS2SW1L-EFR-3.0", "HS2SW1A-N", "HS6SW1A-W-EF-3.0", "HS5SW1A-W-EF-3.0"],
1519
+ fingerprint: [
1520
+ { modelID: "HS2SW1A-EF-3.0", manufacturerName: "HEIMAN" },
1521
+ { modelID: "HS2SW1A-EFR-3.0", manufacturerName: "HEIMAN" },
1522
+ ],
1523
+ model: "HS2SW1A/HS2SW1A-N",
1524
+ vendor: "Heiman",
1525
+ description: "Smart switch - 1 gang with neutral wire",
1526
+ fromZigbee: [fz.on_off, fz.device_temperature],
1527
+ toZigbee: [tz.on_off],
1528
+ configure: async (device, coordinatorEndpoint) => {
1529
+ const endpoint = device.getEndpoint(1);
1530
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff", "genDeviceTempCfg"]);
1531
+ await reporting.onOff(endpoint);
1532
+ await reporting.deviceTemperature(endpoint);
1533
+ },
1534
+ exposes: [e.switch(), e.device_temperature()],
1535
+ },
1536
+ {
1537
+ zigbeeModel: ["HS2SW2L-EF-3.0", "HS2SW2L-EFR-3.0", "HS2SW2A-N", "HS6SW2A-W-EF-3.0", "HS5SW2A-W-EF-3.0", "RT0102"],
1538
+ fingerprint: [
1539
+ { modelID: "HS2SW2A-EF-3.0", manufacturerName: "HEIMAN" },
1540
+ { modelID: "HS2SW2A-EFR-3.0", manufacturerName: "HEIMAN" },
1541
+ ],
1542
+ model: "HS2SW2A/HS2SW2A-N",
1543
+ vendor: "Heiman",
1544
+ description: "Smart switch - 2 gang with neutral wire",
1545
+ fromZigbee: [fz.on_off, fz.device_temperature],
1546
+ toZigbee: [tz.on_off],
1547
+ endpoint: (device) => {
1548
+ return { left: 1, right: 2 };
1549
+ },
1550
+ meta: { multiEndpoint: true },
1551
+ configure: async (device, coordinatorEndpoint) => {
1552
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff", "genDeviceTempCfg"]);
1553
+ await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
1554
+ await reporting.deviceTemperature(device.getEndpoint(1));
1555
+ },
1556
+ exposes: [e.switch().withEndpoint("left"), e.switch().withEndpoint("right"), e.device_temperature()],
1557
+ },
1558
+ {
1559
+ zigbeeModel: ["HS2SW3L-EF-3.0", "HS2SW3L-EFR-3.0", "HS2SW3A-N", "HS6SW3A-W-EF-3.0", "HS5SW3A-W-EF-3.0"],
1560
+ fingerprint: [
1561
+ { modelID: "HS2SW3A-EF-3.0", manufacturerName: "HEIMAN" },
1562
+ { modelID: "HS2SW3A-EFR-3.0", manufacturerName: "HEIMAN" },
1563
+ ],
1564
+ model: "HS2SW3A/HS2SW3A-N",
1565
+ vendor: "Heiman",
1566
+ description: "Smart switch - 3 gang with neutral wire",
1567
+ fromZigbee: [fz.on_off, fz.device_temperature],
1568
+ toZigbee: [tz.on_off],
1569
+ endpoint: (device) => {
1570
+ return { left: 1, center: 2, right: 3 };
1571
+ },
1572
+ meta: { multiEndpoint: true },
1573
+ configure: async (device, coordinatorEndpoint) => {
1574
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff", "genDeviceTempCfg"]);
1575
+ await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
1576
+ await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ["genOnOff"]);
1577
+ await reporting.deviceTemperature(device.getEndpoint(1));
1578
+ },
1579
+ exposes: [e.switch().withEndpoint("left"), e.switch().withEndpoint("center"), e.switch().withEndpoint("right"), e.device_temperature()],
1580
+ },
1581
+ {
1582
+ zigbeeModel: ["RelayModule-EF-3.0"],
1583
+ model: "HS1RM-EF",
1584
+ vendor: "Heiman",
1585
+ description: "Smart relay module - 2 gang with neutral wire",
1586
+ extend: [m.deviceEndpoints({ endpoints: { l1: 1, l2: 2 } }), m.onOff({ endpointNames: ["l1", "l2"] }), m.temperature()],
1587
+ },
1588
+ {
1589
+ zigbeeModel: ["TemperLight"],
1590
+ model: "HS2WDS",
1591
+ vendor: "Heiman",
1592
+ description: "LED 9W CCT E27",
1593
+ extend: [m.light({ colorTemp: { range: [153, 370] } })],
1594
+ },
1595
+ {
1596
+ zigbeeModel: ["ColorLight"],
1597
+ model: "HS1RGB",
1598
+ vendor: "Heiman",
1599
+ description: "Bulb E26/E27, RGB+WW 2700K, globe, opal, 400lm",
1600
+ extend: [m.light({ colorTemp: { range: [275, 295] }, color: { modes: ["xy", "hs"], enhancedHue: true } })],
1601
+ meta: { applyRedFix: true, turnsOffAtBrightness1: true },
1602
+ },
1603
+ {
1604
+ zigbeeModel: ["CurtainMo-EF-3.0", "CurtainMo-EF"],
1605
+ model: "HS2CM-N-DC",
1606
+ vendor: "Heiman",
1607
+ description: "Gear window shade motor",
1608
+ fromZigbee: [fz.cover_position_via_brightness],
1609
+ toZigbee: [tz.cover_via_brightness],
1610
+ configure: async (device, coordinatorEndpoint) => {
1611
+ const endpoint = device.getEndpoint(1);
1612
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genLevelCtrl", "genPowerCfg"]);
1613
+ await reporting.brightness(endpoint);
1614
+ },
1615
+ exposes: [e.cover_position().setAccess("state", ea.ALL)],
1616
+ },
1617
+ {
1618
+ zigbeeModel: ["PIR_TPV16"],
1619
+ model: "HS1MS-M",
1620
+ vendor: "Heiman",
1621
+ description: "Smart motion sensor",
1622
+ fromZigbee: [fz.ias_occupancy_alarm_1],
1623
+ toZigbee: [],
1624
+ exposes: [e.occupancy(), e.battery_low(), e.tamper()],
1625
+ },
1626
+ {
1627
+ zigbeeModel: ["TY0202"],
1628
+ model: "HS1MS-EF",
1629
+ vendor: "Heiman",
1630
+ description: "Smart motion sensor",
1631
+ fromZigbee: [fz.ias_occupancy_alarm_1],
1632
+ toZigbee: [],
1633
+ exposes: [e.occupancy(), e.battery_low(), e.tamper()],
1634
+ },
1635
+ {
1636
+ fingerprint: [{ modelID: "DoorBell-EM", manufacturerName: "HEIMAN" }],
1637
+ model: "HS2DB",
1638
+ vendor: "Heiman",
1639
+ description: "Smart doorbell button",
1640
+ fromZigbee: [fz.battery, fz.heiman_doorbell_button],
1641
+ toZigbee: [],
1642
+ configure: async (device, coordinatorEndpoint) => {
1643
+ const endpoint = device.getEndpoint(1);
1644
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1645
+ await reporting.batteryPercentageRemaining(endpoint);
1646
+ },
1647
+ exposes: [e.battery(), e.action(["pressed"]), e.battery_low(), e.tamper()],
1648
+ },
1649
+ {
1650
+ fingerprint: [{ modelID: "DoorBell-EF-3.0", manufacturerName: "HEIMAN" }],
1651
+ model: "HS2SS-E_V03",
1652
+ vendor: "Heiman",
1653
+ description: "Smart doorbell button",
1654
+ fromZigbee: [fz.battery, fz.heiman_doorbell_button],
1655
+ toZigbee: [],
1656
+ configure: async (device, coordinatorEndpoint) => {
1657
+ const endpoint = device.getEndpoint(1);
1658
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
1659
+ await reporting.batteryPercentageRemaining(endpoint);
1660
+ },
1661
+ exposes: [e.battery(), e.action(["pressed"]), e.battery_low(), e.tamper()],
1662
+ },
1663
+ {
1664
+ zigbeeModel: ["HS3AQ-EFA-3.0"],
1665
+ model: "HS3AQ",
1666
+ vendor: "Heiman",
1667
+ description: "Smart air quality monitor",
1668
+ fromZigbee: [fz.co2, fz.humidity, fz.battery, fz.temperature],
1669
+ toZigbee: [],
1670
+ configure: async (device, coordinatorEndpoint) => {
1671
+ const endpoint = device.getEndpoint(1);
1672
+ await reporting.bind(endpoint, coordinatorEndpoint, ["msRelativeHumidity", "genPowerCfg", "msTemperatureMeasurement", "msCO2"]);
1673
+ await reporting.batteryPercentageRemaining(endpoint);
1674
+ await reporting.temperature(endpoint, { min: 1, max: constants.repInterval.MINUTES_5, change: 10 }); // 0.1 degree change
1675
+ await reporting.humidity(endpoint, { min: 1, max: constants.repInterval.MINUTES_5, change: 10 }); // 0.1 % change
1676
+ await reporting.co2(endpoint, { min: 5, max: constants.repInterval.MINUTES_5, change: 0.00005 }); // 50 ppm change
1677
+ },
1678
+ exposes: [e.co2(), e.battery(), e.humidity(), e.temperature()],
1679
+ extend: [m.writeTimeDaily({ endpointId: 1 })],
1680
+ },
1681
+ {
1682
+ zigbeeModel: ["RouteLight-EF-3.0"],
1683
+ model: "HS2RNL",
1684
+ vendor: "Heiman",
1685
+ description: "Smart repeater & night light",
1686
+ fromZigbee: [fz.on_off, fz.battery],
1687
+ toZigbee: [tz.on_off],
1688
+ configure: async (device, coordinatorEndpoint) => {
1689
+ const endpoint = device.getEndpoint(1);
1690
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", "genOnOff", "genLevelCtrl"]);
1691
+ await reporting.onOff(endpoint); // switch the night light on/off
1692
+ await reporting.batteryPercentageRemaining(endpoint); // internal backup battery in case of power outage
1693
+ },
1694
+ exposes: [e.switch(), e.battery()],
1695
+ },
1696
+ {
1697
+ zigbeeModel: ["PIR_TPV12"],
1698
+ model: "PIR_TPV12",
1699
+ vendor: "Heiman",
1700
+ description: "Motion sensor",
1701
+ extend: [
1702
+ m.battery({ voltageToPercentage: { min: 2500, max: 3000 }, voltage: true }),
1703
+ m.iasZoneAlarm({ zoneType: "occupancy", zoneAttributes: ["alarm_1", "tamper", "battery_low"] }),
1704
+ ],
1705
+ },
1706
+ {
1707
+ zigbeeModel: ["HS15A-M"],
1708
+ model: "HS15A-M",
1709
+ vendor: "Heiman",
1710
+ description: "Smoke detector relabeled for zipato",
1711
+ extend: [m.iasZoneAlarm({ zoneType: "smoke", zoneAttributes: ["alarm_1", "tamper", "battery_low"] }), m.battery(), m.iasWarning()],
1712
+ },
1713
+ {
1714
+ zigbeeModel: ["HS2FD-EF1-3.0"],
1715
+ model: "HS2FD-EF1-3.0",
1716
+ vendor: "Heiman",
1717
+ description: "Fall Detection Sensor",
1718
+ extend: [
1719
+ // m.occupancy(),
1720
+ heimanExtend.heimanClusterRadar(),
1721
+ heimanExtend.heimanClusterRadarActiveIndicatorExtend(),
1722
+ heimanExtend.heimanClusterRadarSubRegionEnableExtend(),
1723
+ heimanExtend.heimanClusterRadarSenseExtend(),
1724
+ heimanExtend.heimanClusterRadarCellMountedTableExtend(),
1725
+ heimanExtend.heimanClusterRadarWallMountedTableExtend(),
1726
+ heimanExtend.heimanClusterRadarSubRegionIsolationTableExtend(),
1727
+ m.enumLookup({
1728
+ name: "sensitivity",
1729
+ lookup: { Off: 0, LowSensitivity: 1, HighSensitivity: 2 },
1730
+ cluster: "heimanClusterRadar",
1731
+ attribute: { ID: 0xf002, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
1732
+ description: "0: Off, 1: Low sensitivity, 2: High sensitivity",
1733
+ access: "ALL",
1734
+ }),
1735
+ m.enumLookup({
1736
+ name: "installation_method",
1737
+ lookup: { WallMounted: 0, Ceiling: 1, RotateCeiling45: 2 },
1738
+ cluster: "heimanClusterRadar",
1739
+ attribute: { ID: 0xf007, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
1740
+ description: "0: Wall-mounted, 1: Ceiling, 2: Rotate ceiling 45°",
1741
+ access: "ALL",
1742
+ }),
1743
+ ],
1744
+ fromZigbee: [fz.identify],
1745
+ toZigbee: [],
1746
+ ota: true,
1747
+ exposes: [],
1748
+ configure: async (device, coordinatorEndpoint, logger) => {
1749
+ const endpoint = device.getEndpoint(1);
1750
+ await reporting.bind(endpoint, coordinatorEndpoint, ["msOccupancySensing", "heimanClusterRadar"]);
1751
+ await reporting.occupancy(endpoint);
1752
+ await endpoint.read("heimanClusterRadar", [
1753
+ "cellMountedTable",
1754
+ "wallMountedTable",
1755
+ "subRegionIsolationTable",
1756
+ ]);
1757
+ },
1758
+ endpoint: (device) => ({ default: 1 }),
1759
+ },
1760
+ {
1761
+ zigbeeModel: ["HS8OS-EF1-3.0"],
1762
+ model: "HS8OS-EF1-3.0",
1763
+ vendor: "Heiman",
1764
+ description: "Human presence sensor",
1765
+ extend: [
1766
+ m.occupancy(),
1767
+ heimanExtend.heimanClusterRadar(),
1768
+ heimanExtend.heimanClusterRadarActiveIndicatorExtend(),
1769
+ heimanExtend.heimanClusterRadarSensitivityExtend(),
1770
+ heimanExtend.heimanClusterLegacyIlluminanceExtend(),
1771
+ m.numeric({
1772
+ name: "radar_delay_time",
1773
+ cluster: 0x0406,
1774
+ attribute: { ID: 0x0020, type: 0x21 },
1775
+ description: "Occupied to unoccupied delay",
1776
+ valueMin: 60,
1777
+ valueMax: 3600,
1778
+ access: "ALL",
1779
+ }),
1780
+ ],
1781
+ fromZigbee: [],
1782
+ toZigbee: [],
1783
+ ota: true,
1784
+ exposes: [],
1785
+ configure: async (device, coordinatorEndpoint, logger) => {
1786
+ const endpoint = device.getEndpoint(1);
1787
+ await reporting.bind(endpoint, coordinatorEndpoint, [
1788
+ "msOccupancySensing",
1789
+ "msIlluminanceMeasurement",
1790
+ "heimanClusterRadar",
1791
+ "haDiagnostic",
1792
+ ]);
1793
+ await endpoint.read("msIlluminanceMeasurement", ["measuredValue"]);
1794
+ await endpoint.read("msOccupancySensing", ["ultrasonicOToUDelay"]);
1795
+ await endpoint.read("heimanClusterRadar", [0xf001, 0xf002], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD });
1796
+ },
1797
+ endpoint: (device) => ({ default: 1 }),
1798
+ },
1799
+ {
1800
+ zigbeeModel: ["HS8MIS-EF1-3.0"],
1801
+ model: "HS8MIS-EF1-3.0",
1802
+ vendor: "Heiman",
1803
+ description: "PIR sensor",
1804
+ extend: [
1805
+ m.occupancy(),
1806
+ heimanExtend.heimanClusterRadar(),
1807
+ heimanExtend.heimanClusterRadarActiveIndicatorExtend(),
1808
+ heimanExtend.heimanClusterLegacyIlluminanceExtend(),
1809
+ m.numeric({
1810
+ name: "radar_delay_time",
1811
+ cluster: 0x0406,
1812
+ attribute: { ID: 0x0010, type: 0x21 },
1813
+ description: "Occupied to unoccupied delay",
1814
+ valueMin: 60,
1815
+ valueMax: 3600,
1816
+ access: "ALL",
1817
+ }),
1818
+ m.enumLookup({
1819
+ name: "sensitivity",
1820
+ lookup: { high: 0, medium: 1, low: 2 },
1821
+ cluster: "heimanClusterRadar",
1822
+ attribute: { ID: 0xf002, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
1823
+ description: "sensitivity for PIR sensor",
1824
+ access: "ALL",
1825
+ }),
1826
+ ],
1827
+ ota: true,
1828
+ configure: async (device, coordinatorEndpoint, logger) => {
1829
+ const endpoint = device.getEndpoint(1);
1830
+ await reporting.bind(endpoint, coordinatorEndpoint, [
1831
+ "msOccupancySensing",
1832
+ "msIlluminanceMeasurement",
1833
+ "heimanClusterRadar",
1834
+ "haDiagnostic",
1835
+ ]);
1836
+ await endpoint.read("msIlluminanceMeasurement", ["measuredValue"]);
1837
+ await endpoint.read("msOccupancySensing", ["ultrasonicOToUDelay"]);
1838
+ await endpoint.read("heimanClusterRadar", [0xf001, 0xf002], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD });
1839
+ },
1840
+ endpoint: (device) => ({ default: 1 }),
1841
+ },
1842
+ {
1843
+ zigbeeModel: ["HS8MIS-86-EF1-3.0"],
1844
+ model: "HS8MLS-EF1-3.0",
1845
+ vendor: "Heiman",
1846
+ description: "PIR sensor with night light",
1847
+ extend: [
1848
+ m.occupancy(),
1849
+ m.onOff(),
1850
+ heimanExtend.heimanClusterRadar(),
1851
+ heimanExtend.heimanClusterRadarActiveIndicatorExtend(),
1852
+ heimanExtend.heimanClusterLegacyIlluminanceExtend(),
1853
+ m.numeric({
1854
+ name: "radar_delay_time",
1855
+ cluster: 0x0406,
1856
+ attribute: { ID: 0x0010, type: 0x21 },
1857
+ description: "Occupied to unoccupied delay",
1858
+ valueMin: 60,
1859
+ valueMax: 3600,
1860
+ access: "ALL",
1861
+ }),
1862
+ m.enumLookup({
1863
+ name: "sensitivity",
1864
+ lookup: { high: 0, medium: 1, low: 2 },
1865
+ cluster: "heimanClusterRadar",
1866
+ attribute: { ID: 0xf002, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
1867
+ description: "sensitivity for PIR sensor",
1868
+ access: "ALL",
1869
+ }),
1870
+ ],
1871
+ ota: true,
1872
+ configure: async (device, coordinatorEndpoint, logger) => {
1873
+ const endpoint = device.getEndpoint(1);
1874
+ await reporting.bind(endpoint, coordinatorEndpoint, [
1875
+ "msOccupancySensing",
1876
+ "msIlluminanceMeasurement",
1877
+ "heimanClusterRadar",
1878
+ "haDiagnostic",
1879
+ ]);
1880
+ await endpoint.read("msIlluminanceMeasurement", ["measuredValue"]);
1881
+ await endpoint.read("msOccupancySensing", ["ultrasonicOToUDelay"]);
1882
+ await endpoint.read("heimanClusterRadar", [0xf001, 0xf002], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD });
1883
+ },
1884
+ endpoint: (device) => ({ default: 1 }),
1885
+ },
1886
+ {
1887
+ fingerprint: [{ modelID: "HS2AQ-EF-3.0", manufacturerName: "HEIMAN" }],
1888
+ model: "HS2AQ-EF-3.0",
1889
+ vendor: "Heiman",
1890
+ description: "Air quality monitor",
1891
+ extend: [
1892
+ (0, heiman_1.addCustomClusterHeimanSpecificAirQualityShort)(),
1893
+ m.battery(),
1894
+ m.humidity(),
1895
+ m.enumLookup({
1896
+ name: "charging_status",
1897
+ lookup: { NotCharged: 0, Charging: 1, FullyCharged: 2 },
1898
+ cluster: "heimanSpecificAirQuality",
1899
+ attribute: "batteryState",
1900
+ description: "Current charging status",
1901
+ access: "STATE_GET",
1902
+ }),
1903
+ ],
1904
+ fromZigbee: [fz.temperature, fz.pm25, fz.heiman_hcho, fz.heiman_air_quality],
1905
+ toZigbee: [],
1906
+ configure: async (device, coordinatorEndpoint) => {
1907
+ const endpoint = device.getEndpoint(1);
1908
+ const heiman = {
1909
+ configureReporting: {
1910
+ pm25MeasuredValue: async (endpoint, overrides) => {
1911
+ const payload = reporting.payload({ ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.UINT16 }, 0, constants.repInterval.HOUR, 1, overrides);
1912
+ await endpoint.configureReporting("pm25Measurement", payload);
1913
+ },
1914
+ formAldehydeMeasuredValue: async (endpoint, overrides) => {
1915
+ const payload = reporting.payload({ ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.UINT16 }, 0, constants.repInterval.HOUR, 1, overrides);
1916
+ await endpoint.configureReporting("msFormaldehyde", payload);
1917
+ },
1918
+ batteryState: async (endpoint, overrides) => {
1919
+ const payload = reporting.payload("batteryState", 0, constants.repInterval.HOUR, 1, overrides);
1920
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1921
+ },
1922
+ pm10measuredValue: async (endpoint, overrides) => {
1923
+ const payload = reporting.payload("pm10measuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1924
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1925
+ },
1926
+ aqiMeasuredValue: async (endpoint, overrides) => {
1927
+ const payload = reporting.payload("aqiMeasuredValue", 0, constants.repInterval.HOUR, 1, overrides);
1928
+ await endpoint.configureReporting("heimanSpecificAirQuality", payload);
1929
+ },
1930
+ },
1931
+ };
1932
+ await reporting.bind(endpoint, coordinatorEndpoint, [
1933
+ "genTime",
1934
+ "msTemperatureMeasurement",
1935
+ "pm25Measurement",
1936
+ "msFormaldehyde",
1937
+ "heimanSpecificAirQuality",
1938
+ ]);
1939
+ await reporting.temperature(endpoint);
1940
+ await heiman.configureReporting.pm25MeasuredValue(endpoint);
1941
+ await heiman.configureReporting.formAldehydeMeasuredValue(endpoint);
1942
+ await heiman.configureReporting.batteryState(endpoint);
1943
+ await heiman.configureReporting.pm10measuredValue(endpoint);
1944
+ await heiman.configureReporting.aqiMeasuredValue(endpoint);
1945
+ await endpoint.read("msTemperatureMeasurement", ["measuredValue"]);
1946
+ await endpoint.read("pm25Measurement", ["measuredValue"]);
1947
+ await endpoint.read("msFormaldehyde", ["measuredValue"]);
1948
+ await endpoint.read("heimanSpecificAirQuality", [
1949
+ "batteryState",
1950
+ "pm10measuredValue",
1951
+ "aqiMeasuredValue",
1952
+ ]);
1953
+ // Bug Heiman
1954
+ const time = Math.round((Date.now() - constants.OneJanuary2000) / 1000);
1955
+ await endpoint.write("genTime", {
1956
+ timeStatus: 3,
1957
+ time,
1958
+ timeZone: new Date().getTimezoneOffset() * -1 * 60,
1959
+ });
1960
+ },
1961
+ exposes: [e.temperature(), e.pm25(), e.hcho(), e.aqi(), e.pm10()],
1962
+ },
1963
+ {
1964
+ zigbeeModel: ["HS1SA-EF-3.0"],
1965
+ model: "HS1SA-EF",
1966
+ vendor: "Heiman",
1967
+ description: "Smoke detector",
1968
+ fromZigbee: [fz.ias_smoke_alarm_1, fz.battery, fzLocal.heimanClusterSpecialfz],
1969
+ toZigbee: [tz.warning],
1970
+ configure: async (device, coordinatorEndpoint) => {
1971
+ const endpoint = device.getEndpoint(1);
1972
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg", 0xfc90]);
1973
+ await reporting.batteryPercentageRemaining(endpoint);
1974
+ await endpoint.read("ssIasZone", ["zoneStatus", "zoneState", "iasCieAddr", "zoneId"]);
1975
+ await endpoint.read("heimanClusterSpecial", [0x0002, 0x008, 0x009, 0x1004, 0x1007, 0x0016, 0x0017, 0x0018, 0x0019, 0x001a, 0x001b], {
1976
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.HEIMAN_TECHNOLOGY_CO_LTD,
1977
+ });
1978
+ },
1979
+ exposes: [],
1980
+ extend: [
1981
+ m.battery(),
1982
+ m.identify(),
1983
+ m.temperature(),
1984
+ m.iasZoneAlarm({ zoneType: "smoke", zoneAttributes: ["alarm_1", "battery_low", "test"] }),
1985
+ heimanExtend.heimanClusterSpecial(),
1986
+ heimanExtend.heimanClusterSensorFaultState(),
1987
+ heimanExtend.heimanClusterDeviceMuteState(),
1988
+ heimanExtend.iasZoneInitiateTestMode(),
1989
+ heimanExtend.heimanClusterSensorMutable(),
1990
+ heimanExtend.heimanClusterIndicatorLight(),
1991
+ heimanExtend.heimanClusterSensorInterconnectable(),
1992
+ m.numeric({
1993
+ name: "smoke_level",
1994
+ unit: "",
1995
+ scale: 0.1,
1996
+ valueMin: 0,
1997
+ valueMax: 20,
1998
+ cluster: "heimanClusterSpecial",
1999
+ attribute: { ID: 0x0016, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
2000
+ description: "smoke level",
2001
+ access: "STATE_GET",
2002
+ }),
2003
+ m.enumLookup({
2004
+ name: "smoke_unit",
2005
+ lookup: { "dB/m": 0, "%ft OBS": 1 },
2006
+ cluster: "heimanClusterSpecial",
2007
+ attribute: { ID: 0x0018, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
2008
+ description: "smoke level unit",
2009
+ access: "STATE_GET",
2010
+ }),
2011
+ m.enumLookup({
2012
+ name: "chamber_contamination",
2013
+ lookup: { normal: 0, light_contamination: 1, medium_contamination: 2, critical_contamination: 3 },
2014
+ cluster: "heimanClusterSpecial",
2015
+ attribute: { ID: 0x0017, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
2016
+ description: "it indicates that how serious the smoke chamber get contaminated.",
2017
+ access: "STATE_GET",
2018
+ }),
2019
+ m.enumLookup({
2020
+ name: "siren_for_automation_only",
2021
+ lookup: { stop: 0, smoke_siren: 1, co_siren: 2 },
2022
+ cluster: "heimanClusterSpecial",
2023
+ attribute: { ID: 0x0012, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
2024
+ description: "siren effect",
2025
+ access: "ALL",
2026
+ }),
2027
+ m.numeric({
2028
+ name: "reported_packages",
2029
+ unit: "",
2030
+ valueMin: 0,
2031
+ valueMax: 60000,
2032
+ cluster: "heimanClusterSpecial",
2033
+ attribute: { ID: 0x001b, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
2034
+ description: "for diagnostic purpose, how many zigbee packages has the reported in a day.",
2035
+ access: "STATE_GET",
2036
+ }),
2037
+ m.numeric({
2038
+ name: "rejoin_count",
2039
+ unit: "",
2040
+ valueMin: 0,
2041
+ valueMax: 60000,
2042
+ cluster: "heimanClusterSpecial",
2043
+ attribute: { ID: 0x001a, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
2044
+ description: "for diagnostic purpose, how many times has the product rejoined to zigbee network.",
2045
+ access: "STATE_GET",
2046
+ }),
2047
+ m.numeric({
2048
+ name: "reboot_count",
2049
+ unit: "",
2050
+ valueMin: 0,
2051
+ valueMax: 60000,
2052
+ cluster: "heimanClusterSpecial",
2053
+ attribute: { ID: 0x0019, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
2054
+ description: "for diagnostic purpose, how many times has the product rebooted.",
2055
+ access: "STATE_GET",
2056
+ }),
2057
+ ],
2058
+ ota: true,
2059
+ },
2060
+ {
2061
+ zigbeeModel: ["WarningDevice-EFA1-3.0"],
2062
+ model: "HS2WD-EF",
2063
+ vendor: "Heiman",
2064
+ description: "Smart siren",
2065
+ fromZigbee: [fz.battery, fz.ias_wd],
2066
+ toZigbee: [tz.warning, tz.ias_max_duration],
2067
+ meta: { disableDefaultResponse: true },
2068
+ configure: async (device, coordinatorEndpoint) => {
2069
+ const endpoint = device.getEndpoint(1);
2070
+ await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
2071
+ await reporting.batteryPercentageRemaining(endpoint);
2072
+ await endpoint.read("ssIasWd", ["maxDuration"]);
2073
+ },
2074
+ exposes: [
2075
+ e.battery(),
2076
+ e
2077
+ .numeric("max_duration", ea.ALL)
2078
+ .withUnit("s")
2079
+ .withValueMin(0)
2080
+ .withValueMax(1800)
2081
+ .withDescription("Max duration of Siren")
2082
+ .withCategory("config"),
2083
+ e
2084
+ .warning()
2085
+ .removeFeature("strobe_level")
2086
+ .removeFeature("mode")
2087
+ .withFeature(e.enum("mode", ea.SET, ["stop", "burglar", "fire", "emergency"]).withDescription("Mode of the warning(sound effect)")),
2088
+ ],
2089
+ ota: true,
2090
+ },
2091
+ ];
2092
+ //# sourceMappingURL=heiman.js.map