zigbee-herdsman-converters 21.9.0 → 21.9.1

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 (1394) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/converters/fromZigbee.d.ts +2036 -0
  3. package/converters/fromZigbee.d.ts.map +1 -0
  4. package/converters/fromZigbee.js +5343 -0
  5. package/converters/fromZigbee.js.map +1 -0
  6. package/converters/toZigbee.d.ts +1578 -0
  7. package/converters/toZigbee.d.ts.map +1 -0
  8. package/converters/toZigbee.js +4422 -0
  9. package/converters/toZigbee.js.map +1 -0
  10. package/devices/ITCommander.d.ts +4 -0
  11. package/devices/ITCommander.d.ts.map +1 -0
  12. package/devices/ITCommander.js +77 -0
  13. package/devices/ITCommander.js.map +1 -0
  14. package/devices/acova.d.ts +4 -0
  15. package/devices/acova.d.ts.map +1 -0
  16. package/devices/acova.js +127 -0
  17. package/devices/acova.js.map +1 -0
  18. package/devices/acuity_brands_lighting.d.ts +4 -0
  19. package/devices/acuity_brands_lighting.d.ts.map +1 -0
  20. package/devices/acuity_brands_lighting.js +29 -0
  21. package/devices/acuity_brands_lighting.js.map +1 -0
  22. package/devices/adeo.d.ts +4 -0
  23. package/devices/adeo.d.ts.map +1 -0
  24. package/devices/adeo.js +486 -0
  25. package/devices/adeo.js.map +1 -0
  26. package/devices/adurosmart.d.ts +4 -0
  27. package/devices/adurosmart.d.ts.map +1 -0
  28. package/devices/adurosmart.js +183 -0
  29. package/devices/adurosmart.js.map +1 -0
  30. package/devices/aeotec.d.ts +4 -0
  31. package/devices/aeotec.d.ts.map +1 -0
  32. package/devices/aeotec.js +66 -0
  33. package/devices/aeotec.js.map +1 -0
  34. package/devices/airam.d.ts +4 -0
  35. package/devices/airam.d.ts.map +1 -0
  36. package/devices/airam.js +106 -0
  37. package/devices/airam.js.map +1 -0
  38. package/devices/airzone_aidoo.d.ts +4 -0
  39. package/devices/airzone_aidoo.d.ts.map +1 -0
  40. package/devices/airzone_aidoo.js +81 -0
  41. package/devices/airzone_aidoo.js.map +1 -0
  42. package/devices/ajax_online.d.ts +4 -0
  43. package/devices/ajax_online.d.ts.map +1 -0
  44. package/devices/ajax_online.js +84 -0
  45. package/devices/ajax_online.js.map +1 -0
  46. package/devices/akuvox.d.ts +4 -0
  47. package/devices/akuvox.d.ts.map +1 -0
  48. package/devices/akuvox.js +68 -0
  49. package/devices/akuvox.js.map +1 -0
  50. package/devices/alchemy.d.ts +4 -0
  51. package/devices/alchemy.d.ts.map +1 -0
  52. package/devices/alchemy.js +22 -0
  53. package/devices/alchemy.js.map +1 -0
  54. package/devices/aldi.d.ts +4 -0
  55. package/devices/aldi.d.ts.map +1 -0
  56. package/devices/aldi.js +57 -0
  57. package/devices/aldi.js.map +1 -0
  58. package/devices/alecto.d.ts +4 -0
  59. package/devices/alecto.d.ts.map +1 -0
  60. package/devices/alecto.js +101 -0
  61. package/devices/alecto.js.map +1 -0
  62. package/devices/amina.d.ts +4 -0
  63. package/devices/amina.d.ts.map +1 -0
  64. package/devices/amina.js +370 -0
  65. package/devices/amina.js.map +1 -0
  66. package/devices/anchor.d.ts +4 -0
  67. package/devices/anchor.d.ts.map +1 -0
  68. package/devices/anchor.js +15 -0
  69. package/devices/anchor.js.map +1 -0
  70. package/devices/atlantic.d.ts +4 -0
  71. package/devices/atlantic.d.ts.map +1 -0
  72. package/devices/atlantic.js +146 -0
  73. package/devices/atlantic.js.map +1 -0
  74. package/devices/atsmart.d.ts +4 -0
  75. package/devices/atsmart.d.ts.map +1 -0
  76. package/devices/atsmart.js +15 -0
  77. package/devices/atsmart.js.map +1 -0
  78. package/devices/aubess.d.ts +4 -0
  79. package/devices/aubess.d.ts.map +1 -0
  80. package/devices/aubess.js +60 -0
  81. package/devices/aubess.js.map +1 -0
  82. package/devices/aurora_lighting.d.ts +4 -0
  83. package/devices/aurora_lighting.d.ts.map +1 -0
  84. package/devices/aurora_lighting.js +338 -0
  85. package/devices/aurora_lighting.js.map +1 -0
  86. package/devices/automaton.d.ts +4 -0
  87. package/devices/automaton.d.ts.map +1 -0
  88. package/devices/automaton.js +65 -0
  89. package/devices/automaton.js.map +1 -0
  90. package/devices/avatto.d.ts +4 -0
  91. package/devices/avatto.d.ts.map +1 -0
  92. package/devices/avatto.js +67 -0
  93. package/devices/avatto.js.map +1 -0
  94. package/devices/awox.d.ts +4 -0
  95. package/devices/awox.d.ts.map +1 -0
  96. package/devices/awox.js +240 -0
  97. package/devices/awox.js.map +1 -0
  98. package/devices/axis.d.ts +4 -0
  99. package/devices/axis.d.ts.map +1 -0
  100. package/devices/axis.js +63 -0
  101. package/devices/axis.js.map +1 -0
  102. package/devices/bankamp.d.ts +4 -0
  103. package/devices/bankamp.d.ts.map +1 -0
  104. package/devices/bankamp.js +15 -0
  105. package/devices/bankamp.js.map +1 -0
  106. package/devices/bega.d.ts +4 -0
  107. package/devices/bega.d.ts.map +1 -0
  108. package/devices/bega.js +29 -0
  109. package/devices/bega.js.map +1 -0
  110. package/devices/belkin.d.ts +4 -0
  111. package/devices/belkin.d.ts.map +1 -0
  112. package/devices/belkin.js +15 -0
  113. package/devices/belkin.js.map +1 -0
  114. package/devices/bitron.d.ts +4 -0
  115. package/devices/bitron.d.ts.map +1 -0
  116. package/devices/bitron.js +359 -0
  117. package/devices/bitron.js.map +1 -0
  118. package/devices/bituo_technik.d.ts +4 -0
  119. package/devices/bituo_technik.d.ts.map +1 -0
  120. package/devices/bituo_technik.js +121 -0
  121. package/devices/bituo_technik.js.map +1 -0
  122. package/devices/blaupunkt.d.ts +4 -0
  123. package/devices/blaupunkt.d.ts.map +1 -0
  124. package/devices/blaupunkt.js +68 -0
  125. package/devices/blaupunkt.js.map +1 -0
  126. package/devices/blitzwolf.d.ts +4 -0
  127. package/devices/blitzwolf.d.ts.map +1 -0
  128. package/devices/blitzwolf.js +73 -0
  129. package/devices/blitzwolf.js.map +1 -0
  130. package/devices/bosch.d.ts +4 -0
  131. package/devices/bosch.d.ts.map +1 -0
  132. package/devices/bosch.js +2048 -0
  133. package/devices/bosch.js.map +1 -0
  134. package/devices/bouffalo_lab.d.ts +4 -0
  135. package/devices/bouffalo_lab.d.ts.map +1 -0
  136. package/devices/bouffalo_lab.js +15 -0
  137. package/devices/bouffalo_lab.js.map +1 -0
  138. package/devices/brimate.d.ts +4 -0
  139. package/devices/brimate.d.ts.map +1 -0
  140. package/devices/brimate.js +55 -0
  141. package/devices/brimate.js.map +1 -0
  142. package/devices/bseed.d.ts +4 -0
  143. package/devices/bseed.d.ts.map +1 -0
  144. package/devices/bseed.js +57 -0
  145. package/devices/bseed.js.map +1 -0
  146. package/devices/bticino.d.ts +4 -0
  147. package/devices/bticino.d.ts.map +1 -0
  148. package/devices/bticino.js +113 -0
  149. package/devices/bticino.js.map +1 -0
  150. package/devices/busch_jaeger.d.ts +4 -0
  151. package/devices/busch_jaeger.d.ts.map +1 -0
  152. package/devices/busch_jaeger.js +186 -0
  153. package/devices/busch_jaeger.js.map +1 -0
  154. package/devices/byun.d.ts +4 -0
  155. package/devices/byun.d.ts.map +1 -0
  156. package/devices/byun.js +64 -0
  157. package/devices/byun.js.map +1 -0
  158. package/devices/calex.d.ts +4 -0
  159. package/devices/calex.d.ts.map +1 -0
  160. package/devices/calex.js +91 -0
  161. package/devices/calex.js.map +1 -0
  162. package/devices/candeo.d.ts +4 -0
  163. package/devices/candeo.d.ts.map +1 -0
  164. package/devices/candeo.js +185 -0
  165. package/devices/candeo.js.map +1 -0
  166. package/devices/casaia.d.ts +4 -0
  167. package/devices/casaia.d.ts.map +1 -0
  168. package/devices/casaia.js +99 -0
  169. package/devices/casaia.js.map +1 -0
  170. package/devices/cel.d.ts +4 -0
  171. package/devices/cel.d.ts.map +1 -0
  172. package/devices/cel.js +20 -0
  173. package/devices/cel.js.map +1 -0
  174. package/devices/centralite.d.ts +4 -0
  175. package/devices/centralite.d.ts.map +1 -0
  176. package/devices/centralite.js +444 -0
  177. package/devices/centralite.js.map +1 -0
  178. package/devices/chacon.d.ts +4 -0
  179. package/devices/chacon.d.ts.map +1 -0
  180. package/devices/chacon.js +18 -0
  181. package/devices/chacon.js.map +1 -0
  182. package/devices/cleode.d.ts +4 -0
  183. package/devices/cleode.d.ts.map +1 -0
  184. package/devices/cleode.js +15 -0
  185. package/devices/cleode.js.map +1 -0
  186. package/devices/cleverio.d.ts +4 -0
  187. package/devices/cleverio.d.ts.map +1 -0
  188. package/devices/cleverio.js +77 -0
  189. package/devices/cleverio.js.map +1 -0
  190. package/devices/climax.d.ts +4 -0
  191. package/devices/climax.d.ts.map +1 -0
  192. package/devices/climax.js +181 -0
  193. package/devices/climax.js.map +1 -0
  194. package/devices/commercial_electric.d.ts +4 -0
  195. package/devices/commercial_electric.d.ts.map +1 -0
  196. package/devices/commercial_electric.js +15 -0
  197. package/devices/commercial_electric.js.map +1 -0
  198. package/devices/cree.d.ts +4 -0
  199. package/devices/cree.d.ts.map +1 -0
  200. package/devices/cree.js +15 -0
  201. package/devices/cree.js.map +1 -0
  202. package/devices/ctm.d.ts +4 -0
  203. package/devices/ctm.d.ts.map +1 -0
  204. package/devices/ctm.js +1383 -0
  205. package/devices/ctm.js.map +1 -0
  206. package/devices/current_products_corp.d.ts +4 -0
  207. package/devices/current_products_corp.d.ts.map +1 -0
  208. package/devices/current_products_corp.js +64 -0
  209. package/devices/current_products_corp.js.map +1 -0
  210. package/devices/custom_devices_diy.d.ts +4 -0
  211. package/devices/custom_devices_diy.d.ts.map +1 -0
  212. package/devices/custom_devices_diy.js +1206 -0
  213. package/devices/custom_devices_diy.js.map +1 -0
  214. package/devices/cy_lighting.d.ts +4 -0
  215. package/devices/cy_lighting.d.ts.map +1 -0
  216. package/devices/cy_lighting.js +15 -0
  217. package/devices/cy_lighting.js.map +1 -0
  218. package/devices/danalock.d.ts +4 -0
  219. package/devices/danalock.d.ts.map +1 -0
  220. package/devices/danalock.js +65 -0
  221. package/devices/danalock.js.map +1 -0
  222. package/devices/danfoss.d.ts +4 -0
  223. package/devices/danfoss.d.ts.map +1 -0
  224. package/devices/danfoss.js +743 -0
  225. package/devices/danfoss.js.map +1 -0
  226. package/devices/databyte.d.ts +4 -0
  227. package/devices/databyte.d.ts.map +1 -0
  228. package/devices/databyte.js +95 -0
  229. package/devices/databyte.js.map +1 -0
  230. package/devices/datek.d.ts +4 -0
  231. package/devices/datek.d.ts.map +1 -0
  232. package/devices/datek.js +298 -0
  233. package/devices/datek.js.map +1 -0
  234. package/devices/dawon_dns.d.ts +4 -0
  235. package/devices/dawon_dns.d.ts.map +1 -0
  236. package/devices/dawon_dns.js +318 -0
  237. package/devices/dawon_dns.js.map +1 -0
  238. package/devices/develco.d.ts +4 -0
  239. package/devices/develco.d.ts.map +1 -0
  240. package/devices/develco.js +1037 -0
  241. package/devices/develco.js.map +1 -0
  242. package/devices/digi.d.ts +4 -0
  243. package/devices/digi.d.ts.map +1 -0
  244. package/devices/digi.js +25 -0
  245. package/devices/digi.js.map +1 -0
  246. package/devices/diyruz.d.ts +4 -0
  247. package/devices/diyruz.d.ts.map +1 -0
  248. package/devices/diyruz.js +403 -0
  249. package/devices/diyruz.js.map +1 -0
  250. package/devices/dlink.d.ts +4 -0
  251. package/devices/dlink.d.ts.map +1 -0
  252. package/devices/dlink.js +76 -0
  253. package/devices/dlink.js.map +1 -0
  254. package/devices/dnake.d.ts +4 -0
  255. package/devices/dnake.d.ts.map +1 -0
  256. package/devices/dnake.js +15 -0
  257. package/devices/dnake.js.map +1 -0
  258. package/devices/dowsing_reynolds.d.ts +4 -0
  259. package/devices/dowsing_reynolds.d.ts.map +1 -0
  260. package/devices/dowsing_reynolds.js +15 -0
  261. package/devices/dowsing_reynolds.js.map +1 -0
  262. package/devices/dresden_elektronik.d.ts +4 -0
  263. package/devices/dresden_elektronik.d.ts.map +1 -0
  264. package/devices/dresden_elektronik.js +50 -0
  265. package/devices/dresden_elektronik.js.map +1 -0
  266. package/devices/easyaccess.d.ts +4 -0
  267. package/devices/easyaccess.d.ts.map +1 -0
  268. package/devices/easyaccess.js +71 -0
  269. package/devices/easyaccess.js.map +1 -0
  270. package/devices/easyiot.d.ts +4 -0
  271. package/devices/easyiot.d.ts.map +1 -0
  272. package/devices/easyiot.js +358 -0
  273. package/devices/easyiot.js.map +1 -0
  274. package/devices/eatonhalo_led.d.ts +4 -0
  275. package/devices/eatonhalo_led.d.ts.map +1 -0
  276. package/devices/eatonhalo_led.js +15 -0
  277. package/devices/eatonhalo_led.js.map +1 -0
  278. package/devices/echostar.d.ts +4 -0
  279. package/devices/echostar.d.ts.map +1 -0
  280. package/devices/echostar.js +65 -0
  281. package/devices/echostar.js.map +1 -0
  282. package/devices/ecodim.d.ts +4 -0
  283. package/devices/ecodim.d.ts.map +1 -0
  284. package/devices/ecodim.js +270 -0
  285. package/devices/ecodim.js.map +1 -0
  286. package/devices/ecolink.d.ts +4 -0
  287. package/devices/ecolink.d.ts.map +1 -0
  288. package/devices/ecolink.js +61 -0
  289. package/devices/ecolink.js.map +1 -0
  290. package/devices/ecosmart.d.ts +4 -0
  291. package/devices/ecosmart.d.ts.map +1 -0
  292. package/devices/ecosmart.js +83 -0
  293. package/devices/ecosmart.js.map +1 -0
  294. package/devices/ecozy.d.ts +4 -0
  295. package/devices/ecozy.d.ts.map +1 -0
  296. package/devices/ecozy.js +89 -0
  297. package/devices/ecozy.js.map +1 -0
  298. package/devices/edp.d.ts +4 -0
  299. package/devices/edp.d.ts.map +1 -0
  300. package/devices/edp.js +74 -0
  301. package/devices/edp.js.map +1 -0
  302. package/devices/efekta.d.ts +4 -0
  303. package/devices/efekta.d.ts.map +1 -0
  304. package/devices/efekta.js +754 -0
  305. package/devices/efekta.js.map +1 -0
  306. package/devices/eglo.d.ts +4 -0
  307. package/devices/eglo.d.ts.map +1 -0
  308. package/devices/eglo.js +132 -0
  309. package/devices/eglo.js.map +1 -0
  310. package/devices/elko.d.ts +4 -0
  311. package/devices/elko.d.ts.map +1 -0
  312. package/devices/elko.js +240 -0
  313. package/devices/elko.js.map +1 -0
  314. package/devices/enbrighten.d.ts +4 -0
  315. package/devices/enbrighten.d.ts.map +1 -0
  316. package/devices/enbrighten.js +97 -0
  317. package/devices/enbrighten.js.map +1 -0
  318. package/devices/enocean.d.ts +4 -0
  319. package/devices/enocean.d.ts.map +1 -0
  320. package/devices/enocean.js +153 -0
  321. package/devices/enocean.js.map +1 -0
  322. package/devices/envilar.d.ts +4 -0
  323. package/devices/envilar.d.ts.map +1 -0
  324. package/devices/envilar.js +100 -0
  325. package/devices/envilar.js.map +1 -0
  326. package/devices/essentialb.d.ts +4 -0
  327. package/devices/essentialb.d.ts.map +1 -0
  328. package/devices/essentialb.js +137 -0
  329. package/devices/essentialb.js.map +1 -0
  330. package/devices/essentials.d.ts +4 -0
  331. package/devices/essentials.d.ts.map +1 -0
  332. package/devices/essentials.js +151 -0
  333. package/devices/essentials.js.map +1 -0
  334. package/devices/eucontrols.d.ts +4 -0
  335. package/devices/eucontrols.d.ts.map +1 -0
  336. package/devices/eucontrols.js +15 -0
  337. package/devices/eucontrols.js.map +1 -0
  338. package/devices/eurotronic.d.ts +4 -0
  339. package/devices/eurotronic.d.ts.map +1 -0
  340. package/devices/eurotronic.js +128 -0
  341. package/devices/eurotronic.js.map +1 -0
  342. package/devices/evanell.d.ts +4 -0
  343. package/devices/evanell.d.ts.map +1 -0
  344. package/devices/evanell.js +75 -0
  345. package/devices/evanell.js.map +1 -0
  346. package/devices/evn.d.ts +4 -0
  347. package/devices/evn.d.ts.map +1 -0
  348. package/devices/evn.js +94 -0
  349. package/devices/evn.js.map +1 -0
  350. package/devices/evology.d.ts +4 -0
  351. package/devices/evology.d.ts.map +1 -0
  352. package/devices/evology.js +64 -0
  353. package/devices/evology.js.map +1 -0
  354. package/devices/evvr.d.ts +4 -0
  355. package/devices/evvr.d.ts.map +1 -0
  356. package/devices/evvr.js +15 -0
  357. package/devices/evvr.js.map +1 -0
  358. package/devices/ewelink.d.ts +4 -0
  359. package/devices/ewelink.d.ts.map +1 -0
  360. package/devices/ewelink.js +343 -0
  361. package/devices/ewelink.js.map +1 -0
  362. package/devices/ezex.d.ts +4 -0
  363. package/devices/ezex.d.ts.map +1 -0
  364. package/devices/ezex.js +15 -0
  365. package/devices/ezex.js.map +1 -0
  366. package/devices/fantem.d.ts +4 -0
  367. package/devices/fantem.d.ts.map +1 -0
  368. package/devices/fantem.js +118 -0
  369. package/devices/fantem.js.map +1 -0
  370. package/devices/feibit.d.ts +4 -0
  371. package/devices/feibit.d.ts.map +1 -0
  372. package/devices/feibit.js +334 -0
  373. package/devices/feibit.js.map +1 -0
  374. package/devices/fireangel.d.ts +4 -0
  375. package/devices/fireangel.d.ts.map +1 -0
  376. package/devices/fireangel.js +55 -0
  377. package/devices/fireangel.js.map +1 -0
  378. package/devices/frankever.d.ts +4 -0
  379. package/devices/frankever.d.ts.map +1 -0
  380. package/devices/frankever.js +71 -0
  381. package/devices/frankever.js.map +1 -0
  382. package/devices/frient.d.ts +4 -0
  383. package/devices/frient.d.ts.map +1 -0
  384. package/devices/frient.js +42 -0
  385. package/devices/frient.js.map +1 -0
  386. package/devices/futurehome.d.ts +4 -0
  387. package/devices/futurehome.d.ts.map +1 -0
  388. package/devices/futurehome.js +124 -0
  389. package/devices/futurehome.js.map +1 -0
  390. package/devices/ge.d.ts +4 -0
  391. package/devices/ge.d.ts.map +1 -0
  392. package/devices/ge.js +134 -0
  393. package/devices/ge.js.map +1 -0
  394. package/devices/gewiss.d.ts +4 -0
  395. package/devices/gewiss.d.ts.map +1 -0
  396. package/devices/gewiss.js +78 -0
  397. package/devices/gewiss.js.map +1 -0
  398. package/devices/gidealed.d.ts +4 -0
  399. package/devices/gidealed.d.ts.map +1 -0
  400. package/devices/gidealed.js +15 -0
  401. package/devices/gidealed.js.map +1 -0
  402. package/devices/giderwel.d.ts +4 -0
  403. package/devices/giderwel.d.ts.map +1 -0
  404. package/devices/giderwel.js +15 -0
  405. package/devices/giderwel.js.map +1 -0
  406. package/devices/giex.d.ts +4 -0
  407. package/devices/giex.d.ts.map +1 -0
  408. package/devices/giex.js +121 -0
  409. package/devices/giex.js.map +1 -0
  410. package/devices/girier.d.ts +4 -0
  411. package/devices/girier.d.ts.map +1 -0
  412. package/devices/girier.js +56 -0
  413. package/devices/girier.js.map +1 -0
  414. package/devices/gledopto.d.ts +4 -0
  415. package/devices/gledopto.d.ts.map +1 -0
  416. package/devices/gledopto.js +1046 -0
  417. package/devices/gledopto.js.map +1 -0
  418. package/devices/gmmts.d.ts +4 -0
  419. package/devices/gmmts.d.ts.map +1 -0
  420. package/devices/gmmts.js +2287 -0
  421. package/devices/gmmts.js.map +1 -0
  422. package/devices/gmy.d.ts +4 -0
  423. package/devices/gmy.d.ts.map +1 -0
  424. package/devices/gmy.js +15 -0
  425. package/devices/gmy.js.map +1 -0
  426. package/devices/gs.d.ts +4 -0
  427. package/devices/gs.d.ts.map +1 -0
  428. package/devices/gs.js +89 -0
  429. package/devices/gs.js.map +1 -0
  430. package/devices/gumax.d.ts +4 -0
  431. package/devices/gumax.d.ts.map +1 -0
  432. package/devices/gumax.js +15 -0
  433. package/devices/gumax.js.map +1 -0
  434. package/devices/halemeier.d.ts +4 -0
  435. package/devices/halemeier.d.ts.map +1 -0
  436. package/devices/halemeier.js +129 -0
  437. package/devices/halemeier.js.map +1 -0
  438. package/devices/hampton_bay.d.ts +4 -0
  439. package/devices/hampton_bay.d.ts.map +1 -0
  440. package/devices/hampton_bay.js +72 -0
  441. package/devices/hampton_bay.js.map +1 -0
  442. package/devices/heatit.d.ts +4 -0
  443. package/devices/heatit.d.ts.map +1 -0
  444. package/devices/heatit.js +15 -0
  445. package/devices/heatit.js.map +1 -0
  446. package/devices/heiman.d.ts +4 -0
  447. package/devices/heiman.d.ts.map +1 -0
  448. package/devices/heiman.js +807 -0
  449. package/devices/heiman.js.map +1 -0
  450. package/devices/heimgard_technologies.d.ts +4 -0
  451. package/devices/heimgard_technologies.d.ts.map +1 -0
  452. package/devices/heimgard_technologies.js +193 -0
  453. package/devices/heimgard_technologies.js.map +1 -0
  454. package/devices/hej.d.ts +4 -0
  455. package/devices/hej.d.ts.map +1 -0
  456. package/devices/hej.js +73 -0
  457. package/devices/hej.js.map +1 -0
  458. package/devices/hfh.d.ts +4 -0
  459. package/devices/hfh.d.ts.map +1 -0
  460. package/devices/hfh.js +15 -0
  461. package/devices/hfh.js.map +1 -0
  462. package/devices/hilux.d.ts +4 -0
  463. package/devices/hilux.d.ts.map +1 -0
  464. package/devices/hilux.js +22 -0
  465. package/devices/hilux.js.map +1 -0
  466. package/devices/hive.d.ts +4 -0
  467. package/devices/hive.d.ts.map +1 -0
  468. package/devices/hive.js +766 -0
  469. package/devices/hive.js.map +1 -0
  470. package/devices/hommyn.d.ts +4 -0
  471. package/devices/hommyn.d.ts.map +1 -0
  472. package/devices/hommyn.js +64 -0
  473. package/devices/hommyn.js.map +1 -0
  474. package/devices/honyar.d.ts +4 -0
  475. package/devices/honyar.d.ts.map +1 -0
  476. package/devices/honyar.js +171 -0
  477. package/devices/honyar.js.map +1 -0
  478. package/devices/hornbach.d.ts +4 -0
  479. package/devices/hornbach.d.ts.map +1 -0
  480. package/devices/hornbach.js +99 -0
  481. package/devices/hornbach.js.map +1 -0
  482. package/devices/hzc_electric.d.ts +4 -0
  483. package/devices/hzc_electric.d.ts.map +1 -0
  484. package/devices/hzc_electric.js +94 -0
  485. package/devices/hzc_electric.js.map +1 -0
  486. package/devices/icasa.d.ts +4 -0
  487. package/devices/icasa.d.ts.map +1 -0
  488. package/devices/icasa.js +167 -0
  489. package/devices/icasa.js.map +1 -0
  490. package/devices/idinio.d.ts +4 -0
  491. package/devices/idinio.d.ts.map +1 -0
  492. package/devices/idinio.js +15 -0
  493. package/devices/idinio.js.map +1 -0
  494. package/devices/ihorn.d.ts +4 -0
  495. package/devices/ihorn.d.ts.map +1 -0
  496. package/devices/ihorn.js +109 -0
  497. package/devices/ihorn.js.map +1 -0
  498. package/devices/ikea.d.ts +4 -0
  499. package/devices/ikea.d.ts.map +1 -0
  500. package/devices/ikea.js +927 -0
  501. package/devices/ikea.js.map +1 -0
  502. package/devices/ilightsin.d.ts +4 -0
  503. package/devices/ilightsin.d.ts.map +1 -0
  504. package/devices/ilightsin.js +15 -0
  505. package/devices/ilightsin.js.map +1 -0
  506. package/devices/iluminize.d.ts +4 -0
  507. package/devices/iluminize.d.ts.map +1 -0
  508. package/devices/iluminize.js +376 -0
  509. package/devices/iluminize.js.map +1 -0
  510. package/devices/ilux.d.ts +4 -0
  511. package/devices/ilux.d.ts.map +1 -0
  512. package/devices/ilux.js +15 -0
  513. package/devices/ilux.js.map +1 -0
  514. package/devices/imhotepcreation.d.ts +4 -0
  515. package/devices/imhotepcreation.d.ts.map +1 -0
  516. package/devices/imhotepcreation.js +251 -0
  517. package/devices/imhotepcreation.js.map +1 -0
  518. package/devices/immax.d.ts +4 -0
  519. package/devices/immax.d.ts.map +1 -0
  520. package/devices/immax.js +304 -0
  521. package/devices/immax.js.map +1 -0
  522. package/devices/imou.d.ts +4 -0
  523. package/devices/imou.d.ts.map +1 -0
  524. package/devices/imou.js +28 -0
  525. package/devices/imou.js.map +1 -0
  526. package/devices/index.d.ts +13 -0
  527. package/devices/index.d.ts.map +1 -0
  528. package/devices/index.js +642 -0
  529. package/devices/index.js.map +1 -0
  530. package/devices/innr.d.ts +4 -0
  531. package/devices/innr.d.ts.map +1 -0
  532. package/devices/innr.js +878 -0
  533. package/devices/innr.js.map +1 -0
  534. package/devices/inovelli.d.ts +4 -0
  535. package/devices/inovelli.d.ts.map +1 -0
  536. package/devices/inovelli.js +1977 -0
  537. package/devices/inovelli.js.map +1 -0
  538. package/devices/insta.d.ts +4 -0
  539. package/devices/insta.d.ts.map +1 -0
  540. package/devices/insta.js +186 -0
  541. package/devices/insta.js.map +1 -0
  542. package/devices/iolloi.d.ts +4 -0
  543. package/devices/iolloi.d.ts.map +1 -0
  544. package/devices/iolloi.js +16 -0
  545. package/devices/iolloi.js.map +1 -0
  546. package/devices/iotperfect.d.ts +4 -0
  547. package/devices/iotperfect.d.ts.map +1 -0
  548. package/devices/iotperfect.js +62 -0
  549. package/devices/iotperfect.js.map +1 -0
  550. package/devices/iris.d.ts +4 -0
  551. package/devices/iris.d.ts.map +1 -0
  552. package/devices/iris.js +211 -0
  553. package/devices/iris.js.map +1 -0
  554. package/devices/istar.d.ts +4 -0
  555. package/devices/istar.d.ts.map +1 -0
  556. package/devices/istar.js +22 -0
  557. package/devices/istar.js.map +1 -0
  558. package/devices/jasco.d.ts +4 -0
  559. package/devices/jasco.d.ts.map +1 -0
  560. package/devices/jasco.js +34 -0
  561. package/devices/jasco.js.map +1 -0
  562. package/devices/javis.d.ts +4 -0
  563. package/devices/javis.d.ts.map +1 -0
  564. package/devices/javis.js +84 -0
  565. package/devices/javis.js.map +1 -0
  566. package/devices/jethome.d.ts +4 -0
  567. package/devices/jethome.d.ts.map +1 -0
  568. package/devices/jethome.js +124 -0
  569. package/devices/jethome.js.map +1 -0
  570. package/devices/jiawen.d.ts +4 -0
  571. package/devices/jiawen.d.ts.map +1 -0
  572. package/devices/jiawen.js +22 -0
  573. package/devices/jiawen.js.map +1 -0
  574. package/devices/jumitech.d.ts +4 -0
  575. package/devices/jumitech.d.ts.map +1 -0
  576. package/devices/jumitech.js +15 -0
  577. package/devices/jumitech.js.map +1 -0
  578. package/devices/jxuan.d.ts +4 -0
  579. package/devices/jxuan.d.ts.map +1 -0
  580. package/devices/jxuan.js +89 -0
  581. package/devices/jxuan.js.map +1 -0
  582. package/devices/kami.d.ts +4 -0
  583. package/devices/kami.d.ts.map +1 -0
  584. package/devices/kami.js +55 -0
  585. package/devices/kami.js.map +1 -0
  586. package/devices/keen_home.d.ts +4 -0
  587. package/devices/keen_home.d.ts.map +1 -0
  588. package/devices/keen_home.js +160 -0
  589. package/devices/keen_home.js.map +1 -0
  590. package/devices/klikaanklikuit.d.ts +4 -0
  591. package/devices/klikaanklikuit.d.ts.map +1 -0
  592. package/devices/klikaanklikuit.js +22 -0
  593. package/devices/klikaanklikuit.js.map +1 -0
  594. package/devices/kmpcil.d.ts +4 -0
  595. package/devices/kmpcil.d.ts.map +1 -0
  596. package/devices/kmpcil.js +219 -0
  597. package/devices/kmpcil.js.map +1 -0
  598. package/devices/konke.d.ts +4 -0
  599. package/devices/konke.d.ts.map +1 -0
  600. package/devices/konke.js +210 -0
  601. package/devices/konke.js.map +1 -0
  602. package/devices/ksentry.d.ts +4 -0
  603. package/devices/ksentry.d.ts.map +1 -0
  604. package/devices/ksentry.js +15 -0
  605. package/devices/ksentry.js.map +1 -0
  606. package/devices/kurvia.d.ts +4 -0
  607. package/devices/kurvia.d.ts.map +1 -0
  608. package/devices/kurvia.js +20 -0
  609. package/devices/kurvia.js.map +1 -0
  610. package/devices/kwikset.d.ts +4 -0
  611. package/devices/kwikset.d.ts.map +1 -0
  612. package/devices/kwikset.js +157 -0
  613. package/devices/kwikset.js.map +1 -0
  614. package/devices/lanesto.d.ts +4 -0
  615. package/devices/lanesto.d.ts.map +1 -0
  616. package/devices/lanesto.js +15 -0
  617. package/devices/lanesto.js.map +1 -0
  618. package/devices/lds.d.ts +4 -0
  619. package/devices/lds.d.ts.map +1 -0
  620. package/devices/lds.js +15 -0
  621. package/devices/lds.js.map +1 -0
  622. package/devices/led_trading.d.ts +4 -0
  623. package/devices/led_trading.d.ts.map +1 -0
  624. package/devices/led_trading.js +112 -0
  625. package/devices/led_trading.js.map +1 -0
  626. package/devices/ledvance.d.ts +4 -0
  627. package/devices/ledvance.d.ts.map +1 -0
  628. package/devices/ledvance.js +337 -0
  629. package/devices/ledvance.js.map +1 -0
  630. package/devices/leedarson.d.ts +4 -0
  631. package/devices/leedarson.d.ts.map +1 -0
  632. package/devices/leedarson.js +182 -0
  633. package/devices/leedarson.js.map +1 -0
  634. package/devices/legrand.d.ts +4 -0
  635. package/devices/legrand.d.ts.map +1 -0
  636. package/devices/legrand.js +740 -0
  637. package/devices/legrand.js.map +1 -0
  638. package/devices/lellki.d.ts +4 -0
  639. package/devices/lellki.d.ts.map +1 -0
  640. package/devices/lellki.js +169 -0
  641. package/devices/lellki.js.map +1 -0
  642. package/devices/letsled.d.ts +4 -0
  643. package/devices/letsled.d.ts.map +1 -0
  644. package/devices/letsled.js +15 -0
  645. package/devices/letsled.js.map +1 -0
  646. package/devices/letv.d.ts +4 -0
  647. package/devices/letv.d.ts.map +1 -0
  648. package/devices/letv.js +90 -0
  649. package/devices/letv.js.map +1 -0
  650. package/devices/leviton.d.ts +4 -0
  651. package/devices/leviton.d.ts.map +1 -0
  652. package/devices/leviton.js +164 -0
  653. package/devices/leviton.js.map +1 -0
  654. package/devices/lg.d.ts +4 -0
  655. package/devices/lg.d.ts.map +1 -0
  656. package/devices/lg.js +29 -0
  657. package/devices/lg.js.map +1 -0
  658. package/devices/lidl.d.ts +4 -0
  659. package/devices/lidl.d.ts.map +1 -0
  660. package/devices/lidl.js +674 -0
  661. package/devices/lidl.js.map +1 -0
  662. package/devices/lifecontrol.d.ts +4 -0
  663. package/devices/lifecontrol.d.ts.map +1 -0
  664. package/devices/lifecontrol.js +149 -0
  665. package/devices/lifecontrol.js.map +1 -0
  666. package/devices/lightsolutions.d.ts +4 -0
  667. package/devices/lightsolutions.d.ts.map +1 -0
  668. package/devices/lightsolutions.js +36 -0
  669. package/devices/lightsolutions.js.map +1 -0
  670. package/devices/linkind.d.ts +4 -0
  671. package/devices/linkind.d.ts.map +1 -0
  672. package/devices/linkind.js +275 -0
  673. package/devices/linkind.js.map +1 -0
  674. package/devices/linptech.d.ts +4 -0
  675. package/devices/linptech.d.ts.map +1 -0
  676. package/devices/linptech.js +159 -0
  677. package/devices/linptech.js.map +1 -0
  678. package/devices/livingwise.d.ts +4 -0
  679. package/devices/livingwise.d.ts.map +1 -0
  680. package/devices/livingwise.js +119 -0
  681. package/devices/livingwise.js.map +1 -0
  682. package/devices/livolo.d.ts +4 -0
  683. package/devices/livolo.d.ts.map +1 -0
  684. package/devices/livolo.js +422 -0
  685. package/devices/livolo.js.map +1 -0
  686. package/devices/lixee.d.ts +4 -0
  687. package/devices/lixee.d.ts.map +1 -0
  688. package/devices/lixee.js +1926 -0
  689. package/devices/lixee.js.map +1 -0
  690. package/devices/lonsonho.d.ts +4 -0
  691. package/devices/lonsonho.d.ts.map +1 -0
  692. package/devices/lonsonho.js +303 -0
  693. package/devices/lonsonho.js.map +1 -0
  694. package/devices/ls.d.ts +4 -0
  695. package/devices/ls.d.ts.map +1 -0
  696. package/devices/ls.js +68 -0
  697. package/devices/ls.js.map +1 -0
  698. package/devices/lubeez.d.ts +4 -0
  699. package/devices/lubeez.d.ts.map +1 -0
  700. package/devices/lubeez.js +15 -0
  701. package/devices/lubeez.js.map +1 -0
  702. package/devices/lumi.d.ts +4 -0
  703. package/devices/lumi.d.ts.map +1 -0
  704. package/devices/lumi.js +4387 -0
  705. package/devices/lumi.js.map +1 -0
  706. package/devices/lupus.d.ts +4 -0
  707. package/devices/lupus.d.ts.map +1 -0
  708. package/devices/lupus.js +98 -0
  709. package/devices/lupus.js.map +1 -0
  710. package/devices/lutron.d.ts +4 -0
  711. package/devices/lutron.d.ts.map +1 -0
  712. package/devices/lutron.js +71 -0
  713. package/devices/lutron.js.map +1 -0
  714. package/devices/lux.d.ts +4 -0
  715. package/devices/lux.d.ts.map +1 -0
  716. package/devices/lux.js +91 -0
  717. package/devices/lux.js.map +1 -0
  718. package/devices/lytko.d.ts +4 -0
  719. package/devices/lytko.d.ts.map +1 -0
  720. package/devices/lytko.js +788 -0
  721. package/devices/lytko.js.map +1 -0
  722. package/devices/m_elec.d.ts +4 -0
  723. package/devices/m_elec.d.ts.map +1 -0
  724. package/devices/m_elec.js +36 -0
  725. package/devices/m_elec.js.map +1 -0
  726. package/devices/makegood.d.ts +4 -0
  727. package/devices/makegood.d.ts.map +1 -0
  728. package/devices/makegood.js +66 -0
  729. package/devices/makegood.js.map +1 -0
  730. package/devices/matcall_bv.d.ts +4 -0
  731. package/devices/matcall_bv.d.ts.map +1 -0
  732. package/devices/matcall_bv.js +22 -0
  733. package/devices/matcall_bv.js.map +1 -0
  734. package/devices/mazda.d.ts +4 -0
  735. package/devices/mazda.d.ts.map +1 -0
  736. package/devices/mazda.js +174 -0
  737. package/devices/mazda.js.map +1 -0
  738. package/devices/meazon.d.ts +4 -0
  739. package/devices/meazon.d.ts.map +1 -0
  740. package/devices/meazon.js +99 -0
  741. package/devices/meazon.js.map +1 -0
  742. package/devices/mercator.d.ts +4 -0
  743. package/devices/mercator.d.ts.map +1 -0
  744. package/devices/mercator.js +256 -0
  745. package/devices/mercator.js.map +1 -0
  746. package/devices/miboxer.d.ts +4 -0
  747. package/devices/miboxer.d.ts.map +1 -0
  748. package/devices/miboxer.js +93 -0
  749. package/devices/miboxer.js.map +1 -0
  750. package/devices/micromatic.d.ts +4 -0
  751. package/devices/micromatic.d.ts.map +1 -0
  752. package/devices/micromatic.js +15 -0
  753. package/devices/micromatic.js.map +1 -0
  754. package/devices/modular.d.ts +4 -0
  755. package/devices/modular.d.ts.map +1 -0
  756. package/devices/modular.js +15 -0
  757. package/devices/modular.js.map +1 -0
  758. package/devices/moes.d.ts +4 -0
  759. package/devices/moes.d.ts.map +1 -0
  760. package/devices/moes.js +654 -0
  761. package/devices/moes.js.map +1 -0
  762. package/devices/muller_licht.d.ts +4 -0
  763. package/devices/muller_licht.d.ts.map +1 -0
  764. package/devices/muller_licht.js +341 -0
  765. package/devices/muller_licht.js.map +1 -0
  766. package/devices/multiterm.d.ts +4 -0
  767. package/devices/multiterm.d.ts.map +1 -0
  768. package/devices/multiterm.js +123 -0
  769. package/devices/multiterm.js.map +1 -0
  770. package/devices/namron.d.ts +4 -0
  771. package/devices/namron.d.ts.map +1 -0
  772. package/devices/namron.js +1464 -0
  773. package/devices/namron.js.map +1 -0
  774. package/devices/nanoleaf.d.ts +4 -0
  775. package/devices/nanoleaf.d.ts.map +1 -0
  776. package/devices/nanoleaf.js +15 -0
  777. package/devices/nanoleaf.js.map +1 -0
  778. package/devices/nedis.d.ts +4 -0
  779. package/devices/nedis.d.ts.map +1 -0
  780. package/devices/nedis.js +88 -0
  781. package/devices/nedis.js.map +1 -0
  782. package/devices/neo.d.ts +4 -0
  783. package/devices/neo.d.ts.map +1 -0
  784. package/devices/neo.js +558 -0
  785. package/devices/neo.js.map +1 -0
  786. package/devices/net2grid.d.ts +4 -0
  787. package/devices/net2grid.d.ts.map +1 -0
  788. package/devices/net2grid.js +68 -0
  789. package/devices/net2grid.js.map +1 -0
  790. package/devices/netvox.d.ts +4 -0
  791. package/devices/netvox.d.ts.map +1 -0
  792. package/devices/netvox.js +75 -0
  793. package/devices/netvox.js.map +1 -0
  794. package/devices/nexelec.d.ts +4 -0
  795. package/devices/nexelec.d.ts.map +1 -0
  796. package/devices/nexelec.js +15 -0
  797. package/devices/nexelec.js.map +1 -0
  798. package/devices/niko.d.ts +4 -0
  799. package/devices/niko.d.ts.map +1 -0
  800. package/devices/niko.js +495 -0
  801. package/devices/niko.js.map +1 -0
  802. package/devices/ninja_blocks.d.ts +4 -0
  803. package/devices/ninja_blocks.d.ts.map +1 -0
  804. package/devices/ninja_blocks.js +64 -0
  805. package/devices/ninja_blocks.js.map +1 -0
  806. package/devices/niviss.d.ts +4 -0
  807. package/devices/niviss.d.ts.map +1 -0
  808. package/devices/niviss.js +15 -0
  809. package/devices/niviss.js.map +1 -0
  810. package/devices/nodon.d.ts +4 -0
  811. package/devices/nodon.d.ts.map +1 -0
  812. package/devices/nodon.js +386 -0
  813. package/devices/nodon.js.map +1 -0
  814. package/devices/nordtronic.d.ts +4 -0
  815. package/devices/nordtronic.d.ts.map +1 -0
  816. package/devices/nordtronic.js +41 -0
  817. package/devices/nordtronic.js.map +1 -0
  818. package/devices/nous.d.ts +4 -0
  819. package/devices/nous.d.ts.map +1 -0
  820. package/devices/nous.js +151 -0
  821. package/devices/nous.js.map +1 -0
  822. package/devices/novo.d.ts +4 -0
  823. package/devices/novo.d.ts.map +1 -0
  824. package/devices/novo.js +57 -0
  825. package/devices/novo.js.map +1 -0
  826. package/devices/nue_3a.d.ts +4 -0
  827. package/devices/nue_3a.d.ts.map +1 -0
  828. package/devices/nue_3a.js +361 -0
  829. package/devices/nue_3a.js.map +1 -0
  830. package/devices/nyce.d.ts +4 -0
  831. package/devices/nyce.d.ts.map +1 -0
  832. package/devices/nyce.js +134 -0
  833. package/devices/nyce.js.map +1 -0
  834. package/devices/onenuo.d.ts +4 -0
  835. package/devices/onenuo.d.ts.map +1 -0
  836. package/devices/onenuo.js +86 -0
  837. package/devices/onenuo.js.map +1 -0
  838. package/devices/onesti.d.ts +4 -0
  839. package/devices/onesti.d.ts.map +1 -0
  840. package/devices/onesti.js +208 -0
  841. package/devices/onesti.js.map +1 -0
  842. package/devices/openlumi.d.ts +4 -0
  843. package/devices/openlumi.d.ts.map +1 -0
  844. package/devices/openlumi.js +62 -0
  845. package/devices/openlumi.js.map +1 -0
  846. package/devices/orvibo.d.ts +4 -0
  847. package/devices/orvibo.d.ts.map +1 -0
  848. package/devices/orvibo.js +391 -0
  849. package/devices/orvibo.js.map +1 -0
  850. package/devices/osram.d.ts +4 -0
  851. package/devices/osram.d.ts.map +1 -0
  852. package/devices/osram.js +516 -0
  853. package/devices/osram.js.map +1 -0
  854. package/devices/oujiabao.d.ts +4 -0
  855. package/devices/oujiabao.d.ts.map +1 -0
  856. package/devices/oujiabao.js +55 -0
  857. package/devices/oujiabao.js.map +1 -0
  858. package/devices/owon.d.ts +4 -0
  859. package/devices/owon.d.ts.map +1 -0
  860. package/devices/owon.js +478 -0
  861. package/devices/owon.js.map +1 -0
  862. package/devices/ozsmartthings.d.ts +4 -0
  863. package/devices/ozsmartthings.d.ts.map +1 -0
  864. package/devices/ozsmartthings.js +48 -0
  865. package/devices/ozsmartthings.js.map +1 -0
  866. package/devices/paul_neuhaus.d.ts +4 -0
  867. package/devices/paul_neuhaus.d.ts.map +1 -0
  868. package/devices/paul_neuhaus.js +194 -0
  869. package/devices/paul_neuhaus.js.map +1 -0
  870. package/devices/paulmann.d.ts +4 -0
  871. package/devices/paulmann.d.ts.map +1 -0
  872. package/devices/paulmann.js +330 -0
  873. package/devices/paulmann.js.map +1 -0
  874. package/devices/peq.d.ts +4 -0
  875. package/devices/peq.d.ts.map +1 -0
  876. package/devices/peq.js +64 -0
  877. package/devices/peq.js.map +1 -0
  878. package/devices/perenio.d.ts +4 -0
  879. package/devices/perenio.d.ts.map +1 -0
  880. package/devices/perenio.js +468 -0
  881. package/devices/perenio.js.map +1 -0
  882. package/devices/philio.d.ts +4 -0
  883. package/devices/philio.d.ts.map +1 -0
  884. package/devices/philio.js +16 -0
  885. package/devices/philio.js.map +1 -0
  886. package/devices/philips.d.ts +4 -0
  887. package/devices/philips.d.ts.map +1 -0
  888. package/devices/philips.js +4051 -0
  889. package/devices/philips.js.map +1 -0
  890. package/devices/plaid.d.ts +4 -0
  891. package/devices/plaid.d.ts.map +1 -0
  892. package/devices/plaid.js +65 -0
  893. package/devices/plaid.js.map +1 -0
  894. package/devices/plugwise.d.ts +4 -0
  895. package/devices/plugwise.d.ts.map +1 -0
  896. package/devices/plugwise.js +210 -0
  897. package/devices/plugwise.js.map +1 -0
  898. package/devices/profalux.d.ts +4 -0
  899. package/devices/profalux.d.ts.map +1 -0
  900. package/devices/profalux.js +191 -0
  901. package/devices/profalux.js.map +1 -0
  902. package/devices/prolight.d.ts +4 -0
  903. package/devices/prolight.d.ts.map +1 -0
  904. package/devices/prolight.js +115 -0
  905. package/devices/prolight.js.map +1 -0
  906. package/devices/pushok.d.ts +4 -0
  907. package/devices/pushok.d.ts.map +1 -0
  908. package/devices/pushok.js +300 -0
  909. package/devices/pushok.js.map +1 -0
  910. package/devices/qa.d.ts +4 -0
  911. package/devices/qa.d.ts.map +1 -0
  912. package/devices/qa.js +295 -0
  913. package/devices/qa.js.map +1 -0
  914. package/devices/qmotion.d.ts +4 -0
  915. package/devices/qmotion.d.ts.map +1 -0
  916. package/devices/qmotion.js +73 -0
  917. package/devices/qmotion.js.map +1 -0
  918. package/devices/qoto.d.ts +4 -0
  919. package/devices/qoto.d.ts.map +1 -0
  920. package/devices/qoto.js +87 -0
  921. package/devices/qoto.js.map +1 -0
  922. package/devices/quotra.d.ts +4 -0
  923. package/devices/quotra.d.ts.map +1 -0
  924. package/devices/quotra.js +22 -0
  925. package/devices/quotra.js.map +1 -0
  926. package/devices/rademacher.d.ts +4 -0
  927. package/devices/rademacher.d.ts.map +1 -0
  928. package/devices/rademacher.js +29 -0
  929. package/devices/rademacher.js.map +1 -0
  930. package/devices/radium.d.ts +4 -0
  931. package/devices/radium.d.ts.map +1 -0
  932. package/devices/radium.js +15 -0
  933. package/devices/radium.js.map +1 -0
  934. package/devices/raex.d.ts +4 -0
  935. package/devices/raex.d.ts.map +1 -0
  936. package/devices/raex.js +15 -0
  937. package/devices/raex.js.map +1 -0
  938. package/devices/rgb_genie.d.ts +4 -0
  939. package/devices/rgb_genie.d.ts.map +1 -0
  940. package/devices/rgb_genie.js +279 -0
  941. package/devices/rgb_genie.js.map +1 -0
  942. package/devices/robb.d.ts +4 -0
  943. package/devices/robb.d.ts.map +1 -0
  944. package/devices/robb.js +449 -0
  945. package/devices/robb.js.map +1 -0
  946. package/devices/roome.d.ts +4 -0
  947. package/devices/roome.d.ts.map +1 -0
  948. package/devices/roome.js +55 -0
  949. package/devices/roome.js.map +1 -0
  950. package/devices/rtx.d.ts +4 -0
  951. package/devices/rtx.d.ts.map +1 -0
  952. package/devices/rtx.js +151 -0
  953. package/devices/rtx.js.map +1 -0
  954. package/devices/salus_controls.d.ts +4 -0
  955. package/devices/salus_controls.d.ts.map +1 -0
  956. package/devices/salus_controls.js +136 -0
  957. package/devices/salus_controls.js.map +1 -0
  958. package/devices/samotech.d.ts +4 -0
  959. package/devices/samotech.d.ts.map +1 -0
  960. package/devices/samotech.js +75 -0
  961. package/devices/samotech.js.map +1 -0
  962. package/devices/saswell.d.ts +4 -0
  963. package/devices/saswell.d.ts.map +1 -0
  964. package/devices/saswell.js +125 -0
  965. package/devices/saswell.js.map +1 -0
  966. package/devices/sber.d.ts +4 -0
  967. package/devices/sber.d.ts.map +1 -0
  968. package/devices/sber.js +66 -0
  969. package/devices/sber.js.map +1 -0
  970. package/devices/scanproducts.d.ts +4 -0
  971. package/devices/scanproducts.d.ts.map +1 -0
  972. package/devices/scanproducts.js +22 -0
  973. package/devices/scanproducts.js.map +1 -0
  974. package/devices/schlage.d.ts +4 -0
  975. package/devices/schlage.d.ts.map +1 -0
  976. package/devices/schlage.js +64 -0
  977. package/devices/schlage.js.map +1 -0
  978. package/devices/schneider_electric.d.ts +4 -0
  979. package/devices/schneider_electric.d.ts.map +1 -0
  980. package/devices/schneider_electric.js +2187 -0
  981. package/devices/schneider_electric.js.map +1 -0
  982. package/devices/schwaiger.d.ts +4 -0
  983. package/devices/schwaiger.d.ts.map +1 -0
  984. package/devices/schwaiger.js +109 -0
  985. package/devices/schwaiger.js.map +1 -0
  986. package/devices/seastar_intelligence.d.ts +4 -0
  987. package/devices/seastar_intelligence.d.ts.map +1 -0
  988. package/devices/seastar_intelligence.js +20 -0
  989. package/devices/seastar_intelligence.js.map +1 -0
  990. package/devices/securifi.d.ts +4 -0
  991. package/devices/securifi.d.ts.map +1 -0
  992. package/devices/securifi.js +83 -0
  993. package/devices/securifi.js.map +1 -0
  994. package/devices/sengled.d.ts +7 -0
  995. package/devices/sengled.d.ts.map +1 -0
  996. package/devices/sengled.js +358 -0
  997. package/devices/sengled.js.map +1 -0
  998. package/devices/sercomm.d.ts +4 -0
  999. package/devices/sercomm.d.ts.map +1 -0
  1000. package/devices/sercomm.js +189 -0
  1001. package/devices/sercomm.js.map +1 -0
  1002. package/devices/shade_control.d.ts +4 -0
  1003. package/devices/shade_control.d.ts.map +1 -0
  1004. package/devices/shade_control.js +65 -0
  1005. package/devices/shade_control.js.map +1 -0
  1006. package/devices/shenzhen_homa.d.ts +4 -0
  1007. package/devices/shenzhen_homa.d.ts.map +1 -0
  1008. package/devices/shenzhen_homa.js +111 -0
  1009. package/devices/shenzhen_homa.js.map +1 -0
  1010. package/devices/shinasystem.d.ts +4 -0
  1011. package/devices/shinasystem.d.ts.map +1 -0
  1012. package/devices/shinasystem.js +961 -0
  1013. package/devices/shinasystem.js.map +1 -0
  1014. package/devices/shyugj.d.ts +4 -0
  1015. package/devices/shyugj.d.ts.map +1 -0
  1016. package/devices/shyugj.js +21 -0
  1017. package/devices/shyugj.js.map +1 -0
  1018. package/devices/siglis.d.ts +4 -0
  1019. package/devices/siglis.d.ts.map +1 -0
  1020. package/devices/siglis.js +457 -0
  1021. package/devices/siglis.js.map +1 -0
  1022. package/devices/sikom.d.ts +4 -0
  1023. package/devices/sikom.d.ts.map +1 -0
  1024. package/devices/sikom.js +68 -0
  1025. package/devices/sikom.js.map +1 -0
  1026. package/devices/sinope.d.ts +4 -0
  1027. package/devices/sinope.d.ts.map +1 -0
  1028. package/devices/sinope.js +1755 -0
  1029. package/devices/sinope.js.map +1 -0
  1030. package/devices/siterwell.d.ts +4 -0
  1031. package/devices/siterwell.d.ts.map +1 -0
  1032. package/devices/siterwell.js +111 -0
  1033. package/devices/siterwell.js.map +1 -0
  1034. package/devices/skydance.d.ts +4 -0
  1035. package/devices/skydance.d.ts.map +1 -0
  1036. package/devices/skydance.js +156 -0
  1037. package/devices/skydance.js.map +1 -0
  1038. package/devices/slv.d.ts +4 -0
  1039. package/devices/slv.d.ts.map +1 -0
  1040. package/devices/slv.js +38 -0
  1041. package/devices/slv.js.map +1 -0
  1042. package/devices/smart9.d.ts +4 -0
  1043. package/devices/smart9.d.ts.map +1 -0
  1044. package/devices/smart9.js +67 -0
  1045. package/devices/smart9.js.map +1 -0
  1046. package/devices/smart_home_pty.d.ts +4 -0
  1047. package/devices/smart_home_pty.d.ts.map +1 -0
  1048. package/devices/smart_home_pty.js +22 -0
  1049. package/devices/smart_home_pty.js.map +1 -0
  1050. package/devices/smartenit.d.ts +4 -0
  1051. package/devices/smartenit.d.ts.map +1 -0
  1052. package/devices/smartenit.js +81 -0
  1053. package/devices/smartenit.js.map +1 -0
  1054. package/devices/smartthings.d.ts +4 -0
  1055. package/devices/smartthings.d.ts.map +1 -0
  1056. package/devices/smartthings.js +527 -0
  1057. package/devices/smartthings.js.map +1 -0
  1058. package/devices/smartwings.d.ts +4 -0
  1059. package/devices/smartwings.d.ts.map +1 -0
  1060. package/devices/smartwings.js +64 -0
  1061. package/devices/smartwings.js.map +1 -0
  1062. package/devices/smlight.d.ts +4 -0
  1063. package/devices/smlight.d.ts.map +1 -0
  1064. package/devices/smlight.js +22 -0
  1065. package/devices/smlight.js.map +1 -0
  1066. package/devices/sohan_electric.d.ts +4 -0
  1067. package/devices/sohan_electric.d.ts.map +1 -0
  1068. package/devices/sohan_electric.js +20 -0
  1069. package/devices/sohan_electric.js.map +1 -0
  1070. package/devices/solaredge.d.ts +4 -0
  1071. package/devices/solaredge.d.ts.map +1 -0
  1072. package/devices/solaredge.js +15 -0
  1073. package/devices/solaredge.js.map +1 -0
  1074. package/devices/soma.d.ts +4 -0
  1075. package/devices/soma.d.ts.map +1 -0
  1076. package/devices/soma.js +15 -0
  1077. package/devices/soma.js.map +1 -0
  1078. package/devices/somfy.d.ts +4 -0
  1079. package/devices/somfy.d.ts.map +1 -0
  1080. package/devices/somfy.js +88 -0
  1081. package/devices/somfy.js.map +1 -0
  1082. package/devices/somgoms.d.ts +4 -0
  1083. package/devices/somgoms.d.ts.map +1 -0
  1084. package/devices/somgoms.js +84 -0
  1085. package/devices/somgoms.js.map +1 -0
  1086. package/devices/sonoff.d.ts +4 -0
  1087. package/devices/sonoff.d.ts.map +1 -0
  1088. package/devices/sonoff.js +1452 -0
  1089. package/devices/sonoff.js.map +1 -0
  1090. package/devices/sowilo.d.ts +4 -0
  1091. package/devices/sowilo.d.ts.map +1 -0
  1092. package/devices/sowilo.js +15 -0
  1093. package/devices/sowilo.js.map +1 -0
  1094. package/devices/spotmau.d.ts +4 -0
  1095. package/devices/spotmau.d.ts.map +1 -0
  1096. package/devices/spotmau.js +42 -0
  1097. package/devices/spotmau.js.map +1 -0
  1098. package/devices/stelpro.d.ts +4 -0
  1099. package/devices/stelpro.d.ts.map +1 -0
  1100. package/devices/stelpro.js +366 -0
  1101. package/devices/stelpro.js.map +1 -0
  1102. package/devices/sunricher.d.ts +4 -0
  1103. package/devices/sunricher.d.ts.map +1 -0
  1104. package/devices/sunricher.js +1308 -0
  1105. package/devices/sunricher.js.map +1 -0
  1106. package/devices/swann.d.ts +4 -0
  1107. package/devices/swann.d.ts.map +1 -0
  1108. package/devices/swann.js +73 -0
  1109. package/devices/swann.js.map +1 -0
  1110. package/devices/sylvania.d.ts +4 -0
  1111. package/devices/sylvania.d.ts.map +1 -0
  1112. package/devices/sylvania.js +226 -0
  1113. package/devices/sylvania.js.map +1 -0
  1114. package/devices/tapestry.d.ts +4 -0
  1115. package/devices/tapestry.d.ts.map +1 -0
  1116. package/devices/tapestry.js +56 -0
  1117. package/devices/tapestry.js.map +1 -0
  1118. package/devices/tci.d.ts +4 -0
  1119. package/devices/tci.d.ts.map +1 -0
  1120. package/devices/tci.js +29 -0
  1121. package/devices/tci.js.map +1 -0
  1122. package/devices/tech.d.ts +4 -0
  1123. package/devices/tech.d.ts.map +1 -0
  1124. package/devices/tech.js +131 -0
  1125. package/devices/tech.js.map +1 -0
  1126. package/devices/technicolor.d.ts +4 -0
  1127. package/devices/technicolor.d.ts.map +1 -0
  1128. package/devices/technicolor.js +102 -0
  1129. package/devices/technicolor.js.map +1 -0
  1130. package/devices/terncy.d.ts +4 -0
  1131. package/devices/terncy.d.ts.map +1 -0
  1132. package/devices/terncy.js +116 -0
  1133. package/devices/terncy.js.map +1 -0
  1134. package/devices/the_light_group.d.ts +4 -0
  1135. package/devices/the_light_group.d.ts.map +1 -0
  1136. package/devices/the_light_group.js +130 -0
  1137. package/devices/the_light_group.js.map +1 -0
  1138. package/devices/third_reality.d.ts +4 -0
  1139. package/devices/third_reality.d.ts.map +1 -0
  1140. package/devices/third_reality.js +569 -0
  1141. package/devices/third_reality.js.map +1 -0
  1142. package/devices/titan_products.d.ts +4 -0
  1143. package/devices/titan_products.d.ts.map +1 -0
  1144. package/devices/titan_products.js +62 -0
  1145. package/devices/titan_products.js.map +1 -0
  1146. package/devices/tlwglobal.d.ts +4 -0
  1147. package/devices/tlwglobal.d.ts.map +1 -0
  1148. package/devices/tlwglobal.js +32 -0
  1149. package/devices/tlwglobal.js.map +1 -0
  1150. package/devices/tplink.d.ts +4 -0
  1151. package/devices/tplink.d.ts.map +1 -0
  1152. package/devices/tplink.js +82 -0
  1153. package/devices/tplink.js.map +1 -0
  1154. package/devices/trust.d.ts +4 -0
  1155. package/devices/trust.d.ts.map +1 -0
  1156. package/devices/trust.js +183 -0
  1157. package/devices/trust.js.map +1 -0
  1158. package/devices/tubeszb.d.ts +4 -0
  1159. package/devices/tubeszb.d.ts.map +1 -0
  1160. package/devices/tubeszb.js +60 -0
  1161. package/devices/tubeszb.js.map +1 -0
  1162. package/devices/tuya.d.ts +4 -0
  1163. package/devices/tuya.d.ts.map +1 -0
  1164. package/devices/tuya.js +13607 -0
  1165. package/devices/tuya.js.map +1 -0
  1166. package/devices/ubisys.d.ts +4 -0
  1167. package/devices/ubisys.d.ts.map +1 -0
  1168. package/devices/ubisys.js +1300 -0
  1169. package/devices/ubisys.js.map +1 -0
  1170. package/devices/uhome.d.ts +4 -0
  1171. package/devices/uhome.d.ts.map +1 -0
  1172. package/devices/uhome.js +64 -0
  1173. package/devices/uhome.js.map +1 -0
  1174. package/devices/universal_electronics_inc.d.ts +4 -0
  1175. package/devices/universal_electronics_inc.d.ts.map +1 -0
  1176. package/devices/universal_electronics_inc.js +186 -0
  1177. package/devices/universal_electronics_inc.js.map +1 -0
  1178. package/devices/vbled.d.ts +4 -0
  1179. package/devices/vbled.d.ts.map +1 -0
  1180. package/devices/vbled.js +15 -0
  1181. package/devices/vbled.js.map +1 -0
  1182. package/devices/vesternet.d.ts +4 -0
  1183. package/devices/vesternet.d.ts.map +1 -0
  1184. package/devices/vesternet.js +330 -0
  1185. package/devices/vesternet.js.map +1 -0
  1186. package/devices/viessmann.d.ts +4 -0
  1187. package/devices/viessmann.d.ts.map +1 -0
  1188. package/devices/viessmann.js +115 -0
  1189. package/devices/viessmann.js.map +1 -0
  1190. package/devices/villeroy_boch.d.ts +4 -0
  1191. package/devices/villeroy_boch.d.ts.map +1 -0
  1192. package/devices/villeroy_boch.js +22 -0
  1193. package/devices/villeroy_boch.js.map +1 -0
  1194. package/devices/vimar.d.ts +4 -0
  1195. package/devices/vimar.d.ts.map +1 -0
  1196. package/devices/vimar.js +137 -0
  1197. package/devices/vimar.js.map +1 -0
  1198. package/devices/visonic.d.ts +4 -0
  1199. package/devices/visonic.d.ts.map +1 -0
  1200. package/devices/visonic.js +138 -0
  1201. package/devices/visonic.js.map +1 -0
  1202. package/devices/vrey.d.ts +4 -0
  1203. package/devices/vrey.d.ts.map +1 -0
  1204. package/devices/vrey.js +18 -0
  1205. package/devices/vrey.js.map +1 -0
  1206. package/devices/wally.d.ts +4 -0
  1207. package/devices/wally.d.ts.map +1 -0
  1208. package/devices/wally.js +64 -0
  1209. package/devices/wally.js.map +1 -0
  1210. package/devices/waxman.d.ts +4 -0
  1211. package/devices/waxman.d.ts.map +1 -0
  1212. package/devices/waxman.js +85 -0
  1213. package/devices/waxman.js.map +1 -0
  1214. package/devices/weiser.d.ts +4 -0
  1215. package/devices/weiser.d.ts.map +1 -0
  1216. package/devices/weiser.js +103 -0
  1217. package/devices/weiser.js.map +1 -0
  1218. package/devices/weten.d.ts +4 -0
  1219. package/devices/weten.d.ts.map +1 -0
  1220. package/devices/weten.js +89 -0
  1221. package/devices/weten.js.map +1 -0
  1222. package/devices/wirenboard.d.ts +4 -0
  1223. package/devices/wirenboard.d.ts.map +1 -0
  1224. package/devices/wirenboard.js +626 -0
  1225. package/devices/wirenboard.js.map +1 -0
  1226. package/devices/wisdom.d.ts +4 -0
  1227. package/devices/wisdom.d.ts.map +1 -0
  1228. package/devices/wisdom.js +15 -0
  1229. package/devices/wisdom.js.map +1 -0
  1230. package/devices/woolley.d.ts +4 -0
  1231. package/devices/woolley.d.ts.map +1 -0
  1232. package/devices/woolley.js +88 -0
  1233. package/devices/woolley.js.map +1 -0
  1234. package/devices/woox.d.ts +4 -0
  1235. package/devices/woox.d.ts.map +1 -0
  1236. package/devices/woox.js +137 -0
  1237. package/devices/woox.js.map +1 -0
  1238. package/devices/wyze.d.ts +4 -0
  1239. package/devices/wyze.d.ts.map +1 -0
  1240. package/devices/wyze.js +63 -0
  1241. package/devices/wyze.js.map +1 -0
  1242. package/devices/xinghuoyuan.d.ts +4 -0
  1243. package/devices/xinghuoyuan.d.ts.map +1 -0
  1244. package/devices/xinghuoyuan.js +15 -0
  1245. package/devices/xinghuoyuan.js.map +1 -0
  1246. package/devices/xyzroe.d.ts +4 -0
  1247. package/devices/xyzroe.d.ts.map +1 -0
  1248. package/devices/xyzroe.js +519 -0
  1249. package/devices/xyzroe.js.map +1 -0
  1250. package/devices/yale.d.ts +4 -0
  1251. package/devices/yale.d.ts.map +1 -0
  1252. package/devices/yale.js +503 -0
  1253. package/devices/yale.js.map +1 -0
  1254. package/devices/yandex.d.ts +4 -0
  1255. package/devices/yandex.d.ts.map +1 -0
  1256. package/devices/yandex.js +410 -0
  1257. package/devices/yandex.js.map +1 -0
  1258. package/devices/ynoa.d.ts +4 -0
  1259. package/devices/ynoa.d.ts.map +1 -0
  1260. package/devices/ynoa.js +113 -0
  1261. package/devices/ynoa.js.map +1 -0
  1262. package/devices/yookee.d.ts +4 -0
  1263. package/devices/yookee.d.ts.map +1 -0
  1264. package/devices/yookee.js +63 -0
  1265. package/devices/yookee.js.map +1 -0
  1266. package/devices/ysrsai.d.ts +4 -0
  1267. package/devices/ysrsai.d.ts.map +1 -0
  1268. package/devices/ysrsai.js +66 -0
  1269. package/devices/ysrsai.js.map +1 -0
  1270. package/devices/zemismart.d.ts +4 -0
  1271. package/devices/zemismart.d.ts.map +1 -0
  1272. package/devices/zemismart.js +405 -0
  1273. package/devices/zemismart.js.map +1 -0
  1274. package/devices/zen.d.ts +4 -0
  1275. package/devices/zen.d.ts.map +1 -0
  1276. package/devices/zen.js +96 -0
  1277. package/devices/zen.js.map +1 -0
  1278. package/devices/zigbeetlc.d.ts +13 -0
  1279. package/devices/zigbeetlc.d.ts.map +1 -0
  1280. package/devices/zigbeetlc.js +201 -0
  1281. package/devices/zigbeetlc.js.map +1 -0
  1282. package/devices/zipato.d.ts +4 -0
  1283. package/devices/zipato.d.ts.map +1 -0
  1284. package/devices/zipato.js +15 -0
  1285. package/devices/zipato.js.map +1 -0
  1286. package/index.d.ts +21 -0
  1287. package/index.d.ts.map +1 -0
  1288. package/index.js +488 -0
  1289. package/index.js.map +1 -0
  1290. package/lib/color.d.ts +272 -0
  1291. package/lib/color.d.ts.map +1 -0
  1292. package/lib/color.js +765 -0
  1293. package/lib/color.js.map +1 -0
  1294. package/lib/configureKey.d.ts +3 -0
  1295. package/lib/configureKey.d.ts.map +1 -0
  1296. package/lib/configureKey.js +939 -0
  1297. package/lib/configureKey.js.map +1 -0
  1298. package/lib/constants.d.ts +68 -0
  1299. package/lib/constants.d.ts.map +1 -0
  1300. package/lib/constants.js +293 -0
  1301. package/lib/constants.js.map +1 -0
  1302. package/lib/develco.d.ts +15 -0
  1303. package/lib/develco.d.ts.map +1 -0
  1304. package/lib/develco.js +183 -0
  1305. package/lib/develco.js.map +1 -0
  1306. package/lib/ewelink.d.ts +30 -0
  1307. package/lib/ewelink.d.ts.map +1 -0
  1308. package/lib/ewelink.js +718 -0
  1309. package/lib/ewelink.js.map +1 -0
  1310. package/lib/exposes.d.ts +344 -0
  1311. package/lib/exposes.d.ts.map +1 -0
  1312. package/lib/exposes.js +1065 -0
  1313. package/lib/exposes.js.map +1 -0
  1314. package/lib/generateDefinition.d.ts +6 -0
  1315. package/lib/generateDefinition.d.ts.map +1 -0
  1316. package/lib/generateDefinition.js +356 -0
  1317. package/lib/generateDefinition.js.map +1 -0
  1318. package/lib/ikea.d.ts +39 -0
  1319. package/lib/ikea.d.ts.map +1 -0
  1320. package/lib/ikea.js +776 -0
  1321. package/lib/ikea.js.map +1 -0
  1322. package/lib/kelvinToXy.d.ts +8 -0
  1323. package/lib/kelvinToXy.d.ts.map +1 -0
  1324. package/lib/kelvinToXy.js +1914 -0
  1325. package/lib/kelvinToXy.js.map +1 -0
  1326. package/lib/ledvance.d.ts +20 -0
  1327. package/lib/ledvance.d.ts.map +1 -0
  1328. package/lib/ledvance.js +103 -0
  1329. package/lib/ledvance.js.map +1 -0
  1330. package/lib/legacy.d.ts +5128 -0
  1331. package/lib/legacy.d.ts.map +1 -0
  1332. package/lib/legacy.js +6603 -0
  1333. package/lib/legacy.js.map +1 -0
  1334. package/lib/legrand.d.ts +69 -0
  1335. package/lib/legrand.d.ts.map +1 -0
  1336. package/lib/legrand.js +282 -0
  1337. package/lib/legrand.js.map +1 -0
  1338. package/lib/light.d.ts +6 -0
  1339. package/lib/light.d.ts.map +1 -0
  1340. package/lib/light.js +146 -0
  1341. package/lib/light.js.map +1 -0
  1342. package/lib/logger.d.ts +4 -0
  1343. package/lib/logger.d.ts.map +1 -0
  1344. package/lib/logger.js +14 -0
  1345. package/lib/logger.js.map +1 -0
  1346. package/lib/lumi.d.ts +953 -0
  1347. package/lib/lumi.d.ts.map +1 -0
  1348. package/lib/lumi.js +4973 -0
  1349. package/lib/lumi.js.map +1 -0
  1350. package/lib/modernExtend.d.ts +325 -0
  1351. package/lib/modernExtend.d.ts.map +1 -0
  1352. package/lib/modernExtend.js +1995 -0
  1353. package/lib/modernExtend.js.map +1 -0
  1354. package/lib/ota.d.ts +71 -0
  1355. package/lib/ota.d.ts.map +1 -0
  1356. package/lib/ota.js +663 -0
  1357. package/lib/ota.js.map +1 -0
  1358. package/lib/philips.d.ts +84 -0
  1359. package/lib/philips.d.ts.map +1 -0
  1360. package/lib/philips.js +657 -0
  1361. package/lib/philips.js.map +1 -0
  1362. package/lib/reporting.d.ts +58 -0
  1363. package/lib/reporting.d.ts.map +1 -0
  1364. package/lib/reporting.js +336 -0
  1365. package/lib/reporting.js.map +1 -0
  1366. package/lib/store.d.ts +7 -0
  1367. package/lib/store.d.ts.map +1 -0
  1368. package/lib/store.js +56 -0
  1369. package/lib/store.js.map +1 -0
  1370. package/lib/sunricher.d.ts +13 -0
  1371. package/lib/sunricher.d.ts.map +1 -0
  1372. package/lib/sunricher.js +14 -0
  1373. package/lib/sunricher.js.map +1 -0
  1374. package/lib/tuya.d.ts +764 -0
  1375. package/lib/tuya.d.ts.map +1 -0
  1376. package/lib/tuya.js +2425 -0
  1377. package/lib/tuya.js.map +1 -0
  1378. package/lib/types.d.ts +433 -0
  1379. package/lib/types.d.ts.map +1 -0
  1380. package/lib/types.js +4 -0
  1381. package/lib/types.js.map +1 -0
  1382. package/lib/ubisys.d.ts +19 -0
  1383. package/lib/ubisys.d.ts.map +1 -0
  1384. package/lib/ubisys.js +293 -0
  1385. package/lib/ubisys.js.map +1 -0
  1386. package/lib/utils.d.ts +93 -0
  1387. package/lib/utils.d.ts.map +1 -0
  1388. package/lib/utils.js +790 -0
  1389. package/lib/utils.js.map +1 -0
  1390. package/lib/zosung.d.ts +52 -0
  1391. package/lib/zosung.d.ts.map +1 -0
  1392. package/lib/zosung.js +256 -0
  1393. package/lib/zosung.js.map +1 -0
  1394. package/package.json +2 -2
@@ -0,0 +1,1308 @@
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ const zigbee_herdsman_1 = require("zigbee-herdsman");
40
+ const fromZigbee_1 = __importDefault(require("../converters/fromZigbee"));
41
+ const toZigbee_1 = __importDefault(require("../converters/toZigbee"));
42
+ const constants = __importStar(require("../lib/constants"));
43
+ const exposes = __importStar(require("../lib/exposes"));
44
+ const logger_1 = require("../lib/logger");
45
+ const modernExtend_1 = require("../lib/modernExtend");
46
+ const reporting = __importStar(require("../lib/reporting"));
47
+ const globalStore = __importStar(require("../lib/store"));
48
+ const sunricher = __importStar(require("../lib/sunricher"));
49
+ const utils = __importStar(require("../lib/utils"));
50
+ const NS = 'zhc:sunricher';
51
+ const e = exposes.presets;
52
+ const ea = exposes.access;
53
+ const sunricherManufacturerCode = 0x1224;
54
+ function sunricherExternalSwitchType() {
55
+ const attribute = 0x8803;
56
+ const data_type = 0x20;
57
+ const value_map = {
58
+ 0: 'push_button',
59
+ 1: 'normal_on_off',
60
+ 2: 'three_way',
61
+ };
62
+ const value_lookup = {
63
+ push_button: 0,
64
+ normal_on_off: 1,
65
+ three_way: 2,
66
+ };
67
+ const fromZigbee = [
68
+ {
69
+ cluster: 'genBasic',
70
+ type: ['attributeReport', 'readResponse'],
71
+ convert: (model, msg, publish, options, meta) => {
72
+ if (Object.prototype.hasOwnProperty.call(msg.data, attribute)) {
73
+ const value = msg.data[attribute];
74
+ return {
75
+ external_switch_type: value_map[value] || 'unknown',
76
+ external_switch_type_numeric: value,
77
+ };
78
+ }
79
+ return undefined;
80
+ },
81
+ },
82
+ ];
83
+ const toZigbee = [
84
+ {
85
+ key: ['external_switch_type'],
86
+ convertSet: async (entity, key, value, meta) => {
87
+ const numericValue = value_lookup[value] ?? parseInt(value, 10);
88
+ await entity.write('genBasic', { [attribute]: { value: numericValue, type: data_type } }, { manufacturerCode: sunricherManufacturerCode });
89
+ return { state: { external_switch_type: value } };
90
+ },
91
+ convertGet: async (entity, key, meta) => {
92
+ await entity.read('genBasic', [attribute], { manufacturerCode: sunricherManufacturerCode });
93
+ },
94
+ },
95
+ ];
96
+ const exposes = [
97
+ e.enum('external_switch_type', ea.ALL, ['push_button', 'normal_on_off', 'three_way']).withLabel('External switch type'),
98
+ ];
99
+ const configure = [
100
+ async (device, coordinatorEndpoint, definition) => {
101
+ const endpoint = device.getEndpoint(1);
102
+ try {
103
+ await endpoint.read('genBasic', [attribute], { manufacturerCode: sunricherManufacturerCode });
104
+ }
105
+ catch (error) {
106
+ console.warn(`Failed to read external switch type attribute: ${error}`);
107
+ }
108
+ },
109
+ ];
110
+ return {
111
+ fromZigbee,
112
+ toZigbee,
113
+ exposes,
114
+ configure,
115
+ isModernExtend: true,
116
+ };
117
+ }
118
+ function sunricherMinimumPWM() {
119
+ const attribute = 0x7809;
120
+ const data_type = 0x20;
121
+ const fromZigbee = [
122
+ {
123
+ cluster: 'genBasic',
124
+ type: ['attributeReport', 'readResponse'],
125
+ convert: (model, msg, publish, options, meta) => {
126
+ if (Object.prototype.hasOwnProperty.call(msg.data, attribute)) {
127
+ console.log(`from `, msg.data[attribute]);
128
+ const value = Math.round(msg.data[attribute] / 5.1);
129
+ return {
130
+ minimum_pwm: value,
131
+ };
132
+ }
133
+ return undefined;
134
+ },
135
+ },
136
+ ];
137
+ const toZigbee = [
138
+ {
139
+ key: ['minimum_pwm'],
140
+ convertSet: async (entity, key, value, meta) => {
141
+ console.log(`to `, value);
142
+ const numValue = typeof value === 'string' ? parseInt(value) : value;
143
+ const zgValue = Math.round(numValue * 5.1);
144
+ await entity.write('genBasic', { [attribute]: { value: zgValue, type: data_type } }, { manufacturerCode: sunricherManufacturerCode });
145
+ return { state: { minimum_pwm: numValue } };
146
+ },
147
+ convertGet: async (entity, key, meta) => {
148
+ await entity.read('genBasic', [attribute], { manufacturerCode: sunricherManufacturerCode });
149
+ },
150
+ },
151
+ ];
152
+ const exposes = [
153
+ e
154
+ .numeric('minimum_pwm', ea.ALL)
155
+ .withLabel('Minimum PWM')
156
+ .withDescription('Power off the device and wait for 3 seconds before reconnecting to apply the settings.')
157
+ .withValueMin(0)
158
+ .withValueMax(50)
159
+ .withUnit('%')
160
+ .withValueStep(1),
161
+ ];
162
+ const configure = [
163
+ async (device, coordinatorEndpoint, definition) => {
164
+ const endpoint = device.getEndpoint(1);
165
+ try {
166
+ await endpoint.read('genBasic', [attribute], { manufacturerCode: sunricherManufacturerCode });
167
+ }
168
+ catch (error) {
169
+ console.warn(`Failed to read external switch type attribute: ${error}`);
170
+ }
171
+ },
172
+ ];
173
+ return {
174
+ fromZigbee,
175
+ toZigbee,
176
+ exposes,
177
+ configure,
178
+ isModernExtend: true,
179
+ };
180
+ }
181
+ function sunricherSRZG9002KR12Pro() {
182
+ const cluster = 0xff03;
183
+ const fromZigbee = [
184
+ {
185
+ cluster: 0xff03,
186
+ type: ['raw'],
187
+ convert: (model, msg, publish, options, meta) => {
188
+ const bytes = [...msg.data];
189
+ const messageType = bytes[3];
190
+ let action = 'unknown';
191
+ if (messageType === 0x01) {
192
+ const pressTypeMask = bytes[6];
193
+ const pressTypeLookup = {
194
+ 0x01: 'short_press',
195
+ 0x02: 'double_press',
196
+ 0x03: 'hold',
197
+ 0x04: 'hold_released',
198
+ };
199
+ action = pressTypeLookup[pressTypeMask] || 'unknown';
200
+ const buttonMask = (bytes[4] << 8) | bytes[5];
201
+ const specialButtonMap = {
202
+ 9: 'knob',
203
+ 11: 'k9',
204
+ 12: 'k10',
205
+ 15: 'k11',
206
+ 16: 'k12',
207
+ };
208
+ const actionButtons = [];
209
+ for (let i = 0; i < 16; i++) {
210
+ if ((buttonMask >> i) & 1) {
211
+ const button = i + 1;
212
+ actionButtons.push(specialButtonMap[button] ?? `k${button}`);
213
+ }
214
+ }
215
+ return { action, action_buttons: actionButtons };
216
+ }
217
+ else if (messageType === 0x03) {
218
+ const directionMask = bytes[4];
219
+ const actionSpeed = bytes[6];
220
+ const directionMap = {
221
+ 0x01: 'clockwise',
222
+ 0x02: 'anti_clockwise',
223
+ };
224
+ const direction = directionMap[directionMask] || 'unknown';
225
+ action = `${direction}_rotation`;
226
+ return { action, action_speed: actionSpeed };
227
+ }
228
+ return { action };
229
+ },
230
+ },
231
+ ];
232
+ const exposes = [e.action(['short_press', 'double_press', 'hold', 'hold_released', 'clockwise_rotation', 'anti_clockwise_rotation'])];
233
+ const configure = [
234
+ async (device, coordinatorEndpoint, definition) => {
235
+ const endpoint = device.getEndpoint(1);
236
+ await endpoint.bind(cluster, coordinatorEndpoint);
237
+ },
238
+ ];
239
+ return {
240
+ fromZigbee,
241
+ exposes,
242
+ configure,
243
+ isModernExtend: true,
244
+ };
245
+ }
246
+ function sunricherSRZG2836D5Pro() {
247
+ const cluster = 0xff03;
248
+ const fromZigbee = [
249
+ {
250
+ cluster: 0xff03,
251
+ type: ['raw'],
252
+ convert: (model, msg, publish, options, meta) => {
253
+ const bytes = [...msg.data];
254
+ const messageType = bytes[3];
255
+ let action = 'unknown';
256
+ if (messageType === 0x01) {
257
+ const pressTypeMask = bytes[6];
258
+ const pressTypeLookup = {
259
+ 0x01: 'short_press',
260
+ 0x02: 'double_press',
261
+ 0x03: 'hold',
262
+ 0x04: 'hold_released',
263
+ };
264
+ action = pressTypeLookup[pressTypeMask] || 'unknown';
265
+ const buttonMask = bytes[5];
266
+ const specialButtonLookup = {
267
+ 0x01: 'top_left',
268
+ 0x02: 'top_right',
269
+ 0x03: 'bottom_left',
270
+ 0x04: 'bottom_right',
271
+ 0x05: 'center',
272
+ };
273
+ const actionButtons = [];
274
+ for (let i = 0; i < 5; i++) {
275
+ if ((buttonMask >> i) & 1) {
276
+ const button = i + 1;
277
+ actionButtons.push(specialButtonLookup[button] || `unknown_${button}`);
278
+ }
279
+ }
280
+ return { action, action_buttons: actionButtons };
281
+ }
282
+ else if (messageType === 0x03) {
283
+ const directionMask = bytes[4];
284
+ const actionSpeed = bytes[6];
285
+ const isStop = bytes[5] === 0x02;
286
+ const directionMap = {
287
+ 0x01: 'clockwise',
288
+ 0x02: 'anti_clockwise',
289
+ };
290
+ const direction = isStop ? 'stop' : directionMap[directionMask] || 'unknown';
291
+ action = `${direction}_rotation`;
292
+ return { action, action_speed: actionSpeed };
293
+ }
294
+ return { action };
295
+ },
296
+ },
297
+ ];
298
+ const exposes = [
299
+ e.action(['short_press', 'double_press', 'hold', 'hold_released', 'clockwise_rotation', 'anti_clockwise_rotation', 'stop_rotation']),
300
+ ];
301
+ const configure = [
302
+ async (device, coordinatorEndpoint, definition) => {
303
+ const endpoint = device.getEndpoint(1);
304
+ await endpoint.bind(cluster, coordinatorEndpoint);
305
+ },
306
+ ];
307
+ return {
308
+ fromZigbee,
309
+ exposes,
310
+ configure,
311
+ isModernExtend: true,
312
+ };
313
+ }
314
+ const fzLocal = {
315
+ sunricher_SRZGP2801K45C: {
316
+ cluster: 'greenPower',
317
+ type: ['commandNotification', 'commandCommissioningNotification'],
318
+ convert: (model, msg, publish, options, meta) => {
319
+ const commandID = msg.data.commandID;
320
+ if (utils.hasAlreadyProcessedMessage(msg, model, msg.data.frameCounter, `${msg.device.ieeeAddr}_${commandID}`))
321
+ return;
322
+ if (commandID === 224)
323
+ return;
324
+ const lookup = {
325
+ 0x21: 'press_on',
326
+ 0x20: 'press_off',
327
+ 0x37: 'press_high',
328
+ 0x38: 'press_low',
329
+ 0x35: 'hold_high',
330
+ 0x36: 'hold_low',
331
+ 0x34: 'high_low_release',
332
+ 0x63: 'cw_ww_release',
333
+ 0x62: 'cw_dec_ww_inc',
334
+ 0x64: 'ww_inc_cw_dec',
335
+ 0x41: 'r_g_b',
336
+ 0x42: 'b_g_r',
337
+ 0x40: 'rgb_release',
338
+ };
339
+ return { action: utils.getFromLookup(commandID, lookup) };
340
+ },
341
+ },
342
+ };
343
+ async function syncTime(endpoint) {
344
+ try {
345
+ const time = Math.round((new Date().getTime() - constants.OneJanuary2000) / 1000 + new Date().getTimezoneOffset() * -1 * 60);
346
+ const values = { time: time };
347
+ await endpoint.write('genTime', values);
348
+ }
349
+ catch {
350
+ /* Do nothing*/
351
+ }
352
+ }
353
+ const definitions = [
354
+ {
355
+ zigbeeModel: ['ZG9030A-MW'],
356
+ model: 'SR-ZG9030A-MW',
357
+ vendor: 'Sunricher',
358
+ description: 'Zigbee compatible ceiling mount occupancy sensor',
359
+ extend: [
360
+ (0, modernExtend_1.numeric)({
361
+ name: 'light_pwm_frequency',
362
+ cluster: 'genBasic',
363
+ attribute: { ID: 0x9001, type: 0x21 },
364
+ valueMin: 0,
365
+ valueMax: 65535,
366
+ description: 'Light PWM frequency (0-65535, default: 3300)',
367
+ access: 'ALL',
368
+ }),
369
+ (0, modernExtend_1.enumLookup)({
370
+ name: 'brightness_curve',
371
+ cluster: 'genBasic',
372
+ attribute: { ID: 0x8806, type: 0x20 },
373
+ lookup: {
374
+ linear: 0,
375
+ gamma_logistics_1_5: 0x0f,
376
+ gamma_logistics_1_8: 0x12,
377
+ },
378
+ description: 'Brightness curve (default: Linear)',
379
+ access: 'ALL',
380
+ }),
381
+ (0, modernExtend_1.enumLookup)({
382
+ name: 'start_up_on_off',
383
+ cluster: 'genOnOff',
384
+ attribute: { ID: 0x4003, type: 0x30 },
385
+ lookup: {
386
+ last_state: 0xff,
387
+ on: 1,
388
+ off: 0,
389
+ },
390
+ description: 'Start up on/off (default: last_state)',
391
+ access: 'ALL',
392
+ }),
393
+ (0, modernExtend_1.numeric)({
394
+ name: 'motion_sensor_light_duration',
395
+ cluster: 'genBasic',
396
+ attribute: { ID: 0x8902, type: 0x21 },
397
+ valueMin: 0,
398
+ valueMax: 65535,
399
+ unit: 's',
400
+ description: 'Motion sensor light duration (0s-65535s, default: 5s)',
401
+ access: 'ALL',
402
+ }),
403
+ (0, modernExtend_1.numeric)({
404
+ name: 'motion_sensor_light_sensitivity',
405
+ cluster: 'genBasic',
406
+ attribute: { ID: 0x8903, type: 0x21 },
407
+ valueMin: 0,
408
+ valueMax: 255,
409
+ description: 'Motion sensor light sensitivity (0-255, default: 0)',
410
+ access: 'ALL',
411
+ }),
412
+ (0, modernExtend_1.enumLookup)({
413
+ name: 'motion_sensor_working_mode',
414
+ cluster: 'genBasic',
415
+ attribute: { ID: 0x8904, type: 0x20 },
416
+ lookup: {
417
+ automatic: 0,
418
+ manual: 1,
419
+ },
420
+ description: 'Motion sensor working mode (default: Automatic)',
421
+ access: 'ALL',
422
+ }),
423
+ (0, modernExtend_1.numeric)({
424
+ name: 'motion_sensor_sensing_distance',
425
+ cluster: 'genBasic',
426
+ attribute: { ID: 0x8905, type: 0x20 },
427
+ valueMin: 0,
428
+ valueMax: 15,
429
+ description: 'Motion sensor sensing distance (0-15, default: 1)',
430
+ access: 'ALL',
431
+ }),
432
+ (0, modernExtend_1.enumLookup)({
433
+ name: 'motion_sensor_microwave_switch',
434
+ cluster: 'genBasic',
435
+ attribute: { ID: 0x8906, type: 0x20 },
436
+ lookup: {
437
+ on: 1,
438
+ off: 0,
439
+ },
440
+ description: 'Motion sensor microwave switch (default: On)',
441
+ access: 'ALL',
442
+ }),
443
+ (0, modernExtend_1.enumLookup)({
444
+ name: 'motion_sensor_onoff_broadcast',
445
+ cluster: 'genBasic',
446
+ attribute: { ID: 0x8907, type: 0x20 },
447
+ lookup: {
448
+ on: 1,
449
+ off: 0,
450
+ },
451
+ description: 'Motion sensor on/off broadcast (default: On)',
452
+ access: 'ALL',
453
+ }),
454
+ (0, modernExtend_1.enumLookup)({
455
+ name: 'motion_sensor_light_state',
456
+ cluster: 'genBasic',
457
+ attribute: { ID: 0x890c, type: 0x20 },
458
+ lookup: {
459
+ on: 1,
460
+ off: 0,
461
+ },
462
+ description: 'Motion sensor light state (default: On)',
463
+ access: 'ALL',
464
+ }),
465
+ (0, modernExtend_1.numeric)({
466
+ name: 'motion_sensor_in_pwm_brightness',
467
+ cluster: 'genBasic',
468
+ attribute: { ID: 0x8908, type: 0x21 },
469
+ valueMin: 0,
470
+ valueMax: 1000,
471
+ unit: 'lux',
472
+ description: 'Motion sensor IN PWM brightness (0-1000 lux, default: 0)',
473
+ access: 'ALL',
474
+ }),
475
+ (0, modernExtend_1.numeric)({
476
+ name: 'motion_sensor_in_pwm_output',
477
+ cluster: 'genBasic',
478
+ attribute: { ID: 0x8909, type: 0x20 },
479
+ valueMin: 0,
480
+ valueMax: 254,
481
+ description: 'Motion sensor IN PWM output (0-254, default: 254)',
482
+ access: 'ALL',
483
+ }),
484
+ (0, modernExtend_1.numeric)({
485
+ name: 'motion_sensor_leave_pwm_output',
486
+ cluster: 'genBasic',
487
+ attribute: { ID: 0x890a, type: 0x20 },
488
+ valueMin: 0,
489
+ valueMax: 100,
490
+ unit: '%',
491
+ description: 'Motion sensor LEAVE PWM output (0%-100%, default: 0%)',
492
+ access: 'ALL',
493
+ }),
494
+ (0, modernExtend_1.numeric)({
495
+ name: 'motion_sensor_leave_delay',
496
+ cluster: 'genBasic',
497
+ attribute: { ID: 0x8901, type: 0x21 },
498
+ valueMin: 0,
499
+ valueMax: 65535,
500
+ unit: 's',
501
+ description: 'Motion sensor LEAVE delay (0s-65535s, default: 0s)',
502
+ access: 'ALL',
503
+ }),
504
+ (0, modernExtend_1.numeric)({
505
+ name: 'motion_sensor_pwm_output_after_delay',
506
+ cluster: 'genBasic',
507
+ attribute: { ID: 0x890b, type: 0x20 },
508
+ valueMin: 0,
509
+ valueMax: 100,
510
+ unit: '%',
511
+ description: 'Motion sensor PWM output after delay (0%-100%, default: 0%)',
512
+ access: 'ALL',
513
+ }),
514
+ (0, modernExtend_1.numeric)({
515
+ name: 'linear_error_ratio_coefficient_of_lux_measurement',
516
+ cluster: 'genBasic',
517
+ attribute: { ID: 0x890d, type: 0x21 },
518
+ valueMin: 100,
519
+ valueMax: 10000,
520
+ description: 'Linear error ratio coefficient of LUX measurement (100‰-10000‰, default: 1000‰)',
521
+ access: 'ALL',
522
+ }),
523
+ (0, modernExtend_1.numeric)({
524
+ name: 'fixed_deviation_of_lux_measurement',
525
+ cluster: 'genBasic',
526
+ attribute: { ID: 0x890e, type: 0x29 },
527
+ valueMin: -100,
528
+ valueMax: 100,
529
+ description: 'Fixed deviation of LUX measurement (-100~100, default: 0)',
530
+ access: 'ALL',
531
+ }),
532
+ (0, modernExtend_1.deviceEndpoints)({ endpoints: { '1': 1, '2': 2, '3': 3 } }),
533
+ (0, modernExtend_1.light)(),
534
+ (0, modernExtend_1.occupancy)(),
535
+ (0, modernExtend_1.illuminance)({ endpointNames: ['3'] }),
536
+ (0, modernExtend_1.commandsOnOff)(),
537
+ (0, modernExtend_1.commandsLevelCtrl)(),
538
+ ],
539
+ meta: { multiEndpoint: true },
540
+ toZigbee: [sunricher.tz.setModel],
541
+ exposes: [e.enum('model', ea.SET, ['HK-DIM', 'ZG9030A-MW']).withDescription('Model of the device')],
542
+ },
543
+ {
544
+ zigbeeModel: ['HK-ZRC-K5&RS-E'],
545
+ model: 'SR-ZG2836D5-Pro',
546
+ vendor: 'Sunricher',
547
+ description: 'Zigbee smart remote',
548
+ extend: [(0, modernExtend_1.battery)(), sunricherSRZG2836D5Pro()],
549
+ },
550
+ {
551
+ zigbeeModel: ['HK-ZRC-K12&RS-E'],
552
+ model: 'SR-ZG9002KR12-Pro',
553
+ vendor: 'Sunricher',
554
+ description: 'Zigbee smart wall panel remote',
555
+ extend: [(0, modernExtend_1.battery)(), sunricherSRZG9002KR12Pro()],
556
+ },
557
+ {
558
+ zigbeeModel: ['ZV9380A', 'ZG9380A'],
559
+ model: 'SR-ZG9042MP',
560
+ vendor: 'Sunricher',
561
+ description: 'Zigbee three phase power meter',
562
+ extend: [(0, modernExtend_1.electricityMeter)()],
563
+ },
564
+ {
565
+ zigbeeModel: ['HK-SL-DIM-AU-K-A'],
566
+ model: 'SR-ZG2835PAC-AU',
567
+ vendor: 'Sunricher',
568
+ description: 'Zigbee push button smart dimmer',
569
+ extend: [(0, modernExtend_1.light)({ configureReporting: true }), sunricherExternalSwitchType(), (0, modernExtend_1.electricityMeter)()],
570
+ },
571
+ {
572
+ zigbeeModel: ['HK-SL-DIM-CLN'],
573
+ model: 'SR-ZG9101SAC-HP-CLN',
574
+ vendor: 'Sunricher',
575
+ description: 'Zigbee micro smart dimmer',
576
+ extend: [(0, modernExtend_1.light)({ configureReporting: true }), sunricherExternalSwitchType(), sunricherMinimumPWM()],
577
+ },
578
+ {
579
+ zigbeeModel: ['HK-SENSOR-CT-MINI'],
580
+ model: 'SR-ZG9011A-DS',
581
+ vendor: 'Sunricher',
582
+ description: 'Door/window sensor',
583
+ extend: [(0, modernExtend_1.battery)(), (0, modernExtend_1.iasZoneAlarm)({ zoneType: 'contact', zoneAttributes: ['alarm_1', 'battery_low'] })],
584
+ },
585
+ {
586
+ zigbeeModel: ['ZG2858A'],
587
+ model: 'ZG2858A',
588
+ vendor: 'Sunricher',
589
+ description: 'Zigbee handheld remote RGBCCT 3 channels',
590
+ extend: [
591
+ (0, modernExtend_1.deviceEndpoints)({ endpoints: { '1': 1, '2': 2, '3': 3 } }),
592
+ (0, modernExtend_1.battery)(),
593
+ (0, modernExtend_1.identify)(),
594
+ (0, modernExtend_1.commandsOnOff)(),
595
+ (0, modernExtend_1.commandsLevelCtrl)(),
596
+ (0, modernExtend_1.commandsColorCtrl)(),
597
+ (0, modernExtend_1.commandsScenes)(),
598
+ ],
599
+ },
600
+ {
601
+ zigbeeModel: ['HK-SL-DIM-US-A'],
602
+ model: 'HK-SL-DIM-US-A',
603
+ vendor: 'Sunricher',
604
+ description: 'Keypad smart dimmer',
605
+ extend: [(0, modernExtend_1.light)({ configureReporting: true }), (0, modernExtend_1.electricityMeter)()],
606
+ },
607
+ {
608
+ zigbeeModel: ['HK-SENSOR-4IN1-A'],
609
+ model: 'HK-SENSOR-4IN1-A',
610
+ vendor: 'Sunricher',
611
+ description: '4IN1 Sensor',
612
+ extend: [(0, modernExtend_1.battery)(), (0, modernExtend_1.identify)(), (0, modernExtend_1.occupancy)(), (0, modernExtend_1.temperature)(), (0, modernExtend_1.humidity)(), (0, modernExtend_1.illuminance)()],
613
+ },
614
+ {
615
+ zigbeeModel: ['SR-ZG9023A-EU'],
616
+ model: 'SR-ZG9023A-EU',
617
+ vendor: 'Sunricher',
618
+ description: '4 ports switch with 2 usb ports (no metering)',
619
+ extend: [(0, modernExtend_1.deviceEndpoints)({ endpoints: { l1: 1, l2: 2, l3: 3, l4: 4, l5: 5 } }), (0, modernExtend_1.onOff)({ endpointNames: ['l1', 'l2', 'l3', 'l4', 'l5'] })],
620
+ },
621
+ {
622
+ zigbeeModel: ['ON/OFF(2CH)'],
623
+ model: 'UP-SA-9127D',
624
+ vendor: 'Sunricher',
625
+ description: 'LED-Trading 2 channel AC switch',
626
+ extend: [(0, modernExtend_1.deviceEndpoints)({ endpoints: { l1: 1, l2: 2 } }), (0, modernExtend_1.onOff)({ endpointNames: ['l1', 'l2'] })],
627
+ },
628
+ {
629
+ fingerprint: [{ modelID: 'ON/OFF(2CH)', softwareBuildID: '2.9.2_r54' }],
630
+ model: 'SR-ZG9101SAC-HP-SWITCH-2CH',
631
+ vendor: 'Sunricher',
632
+ description: 'Zigbee 2 channel switch',
633
+ fromZigbee: [fromZigbee_1.default.on_off, fromZigbee_1.default.electrical_measurement, fromZigbee_1.default.metering, fromZigbee_1.default.power_on_behavior, fromZigbee_1.default.ignore_genOta],
634
+ toZigbee: [toZigbee_1.default.on_off, toZigbee_1.default.power_on_behavior],
635
+ exposes: [
636
+ e.switch().withEndpoint('l1'),
637
+ e.switch().withEndpoint('l2'),
638
+ e.power(),
639
+ e.current(),
640
+ e.voltage(),
641
+ e.energy(),
642
+ e.power_on_behavior(['off', 'on', 'previous']),
643
+ ],
644
+ endpoint: (device) => {
645
+ return { l1: 1, l2: 2 };
646
+ },
647
+ meta: { multiEndpoint: true, multiEndpointSkip: ['power', 'energy', 'voltage', 'current'] },
648
+ configure: async (device, coordinatorEndpoint) => {
649
+ const endpoint1 = device.getEndpoint(1);
650
+ const endpoint2 = device.getEndpoint(2);
651
+ await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
652
+ await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
653
+ await reporting.onOff(endpoint1);
654
+ await reporting.onOff(endpoint2);
655
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint1);
656
+ await reporting.activePower(endpoint1);
657
+ await reporting.rmsCurrent(endpoint1, { min: 10, change: 10 });
658
+ await reporting.rmsVoltage(endpoint1, { min: 10 });
659
+ await reporting.readMeteringMultiplierDivisor(endpoint1);
660
+ await reporting.currentSummDelivered(endpoint1);
661
+ },
662
+ },
663
+ {
664
+ zigbeeModel: ['HK-ZD-CCT-A'],
665
+ model: 'HK-ZD-CCT-A',
666
+ vendor: 'Sunricher',
667
+ description: '50W Zigbee CCT LED driver (constant current)',
668
+ extend: [(0, modernExtend_1.light)({ colorTemp: { range: [160, 450] } })],
669
+ },
670
+ {
671
+ zigbeeModel: ['ZGRC-KEY-004'],
672
+ model: 'SR-ZG9001K2-DIM',
673
+ vendor: 'Sunricher',
674
+ description: 'Zigbee wall remote control for single color, 1 zone',
675
+ fromZigbee: [fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_move, fromZigbee_1.default.command_stop, fromZigbee_1.default.battery],
676
+ toZigbee: [],
677
+ exposes: [e.battery(), e.action(['on', 'off', 'brightness_move_up', 'brightness_move_down', 'brightness_move_stop'])],
678
+ },
679
+ {
680
+ zigbeeModel: ['ZGRC-KEY-007'],
681
+ model: 'SR-ZG9001K2-DIM2',
682
+ vendor: 'Sunricher',
683
+ description: 'Zigbee 2 button wall switch',
684
+ fromZigbee: [fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_move, fromZigbee_1.default.command_stop, fromZigbee_1.default.battery],
685
+ exposes: [
686
+ e.battery(),
687
+ e.action([
688
+ 'on_1',
689
+ 'off_1',
690
+ 'stop_1',
691
+ 'brightness_move_up_1',
692
+ 'brightness_move_down_1',
693
+ 'brightness_stop_1',
694
+ 'on_2',
695
+ 'off_2',
696
+ 'stop_2',
697
+ 'brightness_move_up_2',
698
+ 'brightness_move_down_2',
699
+ 'brightness_stop_2',
700
+ ]),
701
+ ],
702
+ toZigbee: [],
703
+ meta: { multiEndpoint: true },
704
+ },
705
+ {
706
+ zigbeeModel: ['ZGRC-KEY-009'],
707
+ model: '50208693',
708
+ vendor: 'Sunricher',
709
+ description: 'Zigbee wall remote control for RGBW, 1 zone with 2 scenes',
710
+ fromZigbee: [
711
+ fromZigbee_1.default.command_on,
712
+ fromZigbee_1.default.command_off,
713
+ fromZigbee_1.default.command_move,
714
+ fromZigbee_1.default.command_stop,
715
+ fromZigbee_1.default.battery,
716
+ fromZigbee_1.default.command_recall,
717
+ fromZigbee_1.default.command_step,
718
+ fromZigbee_1.default.command_move_to_color,
719
+ fromZigbee_1.default.command_move_to_color_temp,
720
+ ],
721
+ toZigbee: [],
722
+ exposes: [
723
+ e.battery(),
724
+ e.action([
725
+ 'on',
726
+ 'off',
727
+ 'brightness_move_up',
728
+ 'brightness_move_down',
729
+ 'brightness_move_stop',
730
+ 'brightness_step_up',
731
+ 'brightness_step_down',
732
+ 'recall_1',
733
+ 'recall_2',
734
+ ]),
735
+ ],
736
+ },
737
+ {
738
+ zigbeeModel: ['ZGRC-KEY-012'],
739
+ model: 'SR-ZG9001K12-DIM-Z5',
740
+ vendor: 'Sunricher',
741
+ description: '5 zone remote and dimmer',
742
+ fromZigbee: [fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_move, fromZigbee_1.default.command_stop, fromZigbee_1.default.battery],
743
+ toZigbee: [],
744
+ exposes: [
745
+ e.battery(),
746
+ e.action([
747
+ 'on_1',
748
+ 'off_1',
749
+ 'brightness_move_up_1',
750
+ 'brightness_move_down_1',
751
+ 'brightness_stop_1',
752
+ 'on_2',
753
+ 'off_2',
754
+ 'brightness_move_up_2',
755
+ 'brightness_move_down_2',
756
+ 'brightness_stop_2',
757
+ 'on_3',
758
+ 'off_3',
759
+ 'brightness_move_up_3',
760
+ 'brightness_move_down_3',
761
+ 'brightness_stop_3',
762
+ 'on_4',
763
+ 'off_4',
764
+ 'brightness_move_up_4',
765
+ 'brightness_move_down_4',
766
+ 'brightness_stop_4',
767
+ 'on_5',
768
+ 'off_5',
769
+ 'brightness_move_up_5',
770
+ 'brightness_move_down_5',
771
+ 'brightness_stop_5',
772
+ ]),
773
+ ],
774
+ meta: { multiEndpoint: true, battery: { dontDividePercentage: true } },
775
+ configure: async (device, coordinatorEndpoint) => {
776
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
777
+ await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
778
+ await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
779
+ await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ['genOnOff']);
780
+ await reporting.bind(device.getEndpoint(5), coordinatorEndpoint, ['genOnOff']);
781
+ },
782
+ },
783
+ {
784
+ zigbeeModel: ['ZGRC-KEY-013'],
785
+ model: 'SR-ZG9001K12-DIM-Z4',
786
+ vendor: 'Sunricher',
787
+ description: '4 zone remote and dimmer',
788
+ fromZigbee: [fromZigbee_1.default.battery, fromZigbee_1.default.command_move, fromZigbee_1.default.command_stop, fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_recall],
789
+ exposes: [e.battery(), e.action(['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'on', 'off', 'recall_*'])],
790
+ toZigbee: [],
791
+ whiteLabel: [{ vendor: 'RGB Genie', model: 'ZGRC-KEY-013' }],
792
+ meta: { multiEndpoint: true, battery: { dontDividePercentage: true } },
793
+ configure: async (device, coordinatorEndpoint) => {
794
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff', 'genScenes']);
795
+ await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
796
+ await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
797
+ await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ['genOnOff']);
798
+ },
799
+ },
800
+ {
801
+ zigbeeModel: ['ZGRC-TEUR-005'],
802
+ model: 'SR-ZG9001T4-DIM-EU',
803
+ vendor: 'Sunricher',
804
+ description: 'Zigbee wireless touch dimmer switch',
805
+ fromZigbee: [fromZigbee_1.default.command_recall, fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_step, fromZigbee_1.default.command_move, fromZigbee_1.default.command_stop],
806
+ exposes: [
807
+ e.action([
808
+ 'recall_*',
809
+ 'on',
810
+ 'off',
811
+ 'brightness_stop',
812
+ 'brightness_move_down',
813
+ 'brightness_move_up',
814
+ 'brightness_step_down',
815
+ 'brightness_step_up',
816
+ ]),
817
+ ],
818
+ toZigbee: [],
819
+ },
820
+ {
821
+ zigbeeModel: ['CCT Lighting'],
822
+ model: 'ZG192910-4',
823
+ vendor: 'Sunricher',
824
+ description: 'Zigbee LED-controller',
825
+ extend: [(0, modernExtend_1.light)({ colorTemp: { range: undefined } })],
826
+ },
827
+ {
828
+ zigbeeModel: ['ZG9101SAC-HP'],
829
+ model: 'ZG9101SAC-HP',
830
+ vendor: 'Sunricher',
831
+ description: 'ZigBee AC phase-cut dimmer',
832
+ extend: [(0, modernExtend_1.light)({ configureReporting: true })],
833
+ },
834
+ {
835
+ zigbeeModel: ['ON/OFF -M', 'ON/OFF', 'ZIGBEE-SWITCH'],
836
+ model: 'ZG9101SAC-HP-Switch',
837
+ vendor: 'Sunricher',
838
+ description: 'Zigbee AC in wall switch',
839
+ extend: [(0, modernExtend_1.onOff)({ powerOnBehavior: false }), sunricherExternalSwitchType()],
840
+ },
841
+ {
842
+ zigbeeModel: ['Micro Smart Dimmer', 'SM311', 'HK-SL-RDIM-A', 'HK-SL-DIM-EU-A'],
843
+ model: 'ZG2835RAC',
844
+ vendor: 'Sunricher',
845
+ description: 'ZigBee knob smart dimmer',
846
+ extend: [(0, modernExtend_1.light)({ configureReporting: true }), (0, modernExtend_1.electricityMeter)()],
847
+ whiteLabel: [
848
+ { vendor: 'YPHIX', model: '50208695' },
849
+ { vendor: 'Samotech', model: 'SM311' },
850
+ ],
851
+ },
852
+ {
853
+ zigbeeModel: ['HK-SL-DIM-AU-R-A'],
854
+ model: 'HK-SL-DIM-AU-R-A',
855
+ vendor: 'Sunricher',
856
+ description: 'ZigBee knob smart dimmer',
857
+ extend: [(0, modernExtend_1.identify)(), (0, modernExtend_1.electricityMeter)(), (0, modernExtend_1.light)({ configureReporting: true })],
858
+ },
859
+ {
860
+ zigbeeModel: ['ZG2835'],
861
+ model: 'ZG2835',
862
+ vendor: 'Sunricher',
863
+ description: 'ZigBee knob smart dimmer',
864
+ fromZigbee: [fromZigbee_1.default.command_on, fromZigbee_1.default.command_off, fromZigbee_1.default.command_move_to_level],
865
+ exposes: [e.action(['on', 'off', 'brightness_move_to_level'])],
866
+ toZigbee: [],
867
+ },
868
+ {
869
+ zigbeeModel: ['HK-SL-DIM-A'],
870
+ model: 'SR-ZG9040A/ZG9041A-D',
871
+ vendor: 'Sunricher',
872
+ description: 'Zigbee micro smart dimmer',
873
+ extend: [(0, modernExtend_1.light)({ configureReporting: true }), (0, modernExtend_1.electricityMeter)(), sunricherExternalSwitchType(), sunricherMinimumPWM()],
874
+ },
875
+ {
876
+ zigbeeModel: ['HK-ZD-DIM-A'],
877
+ model: 'SRP-ZG9105-CC',
878
+ vendor: 'Sunricher',
879
+ description: 'Constant Current Zigbee LED dimmable driver',
880
+ extend: [(0, modernExtend_1.light)()],
881
+ },
882
+ {
883
+ zigbeeModel: ['HK-DIM'],
884
+ model: '50208702',
885
+ vendor: 'Sunricher',
886
+ description: 'LED dimmable driver',
887
+ extend: [(0, modernExtend_1.light)()],
888
+ whiteLabel: [{ vendor: 'Yphix', model: '50208702' }],
889
+ toZigbee: [sunricher.tz.setModel],
890
+ // Some ZG9030A-MW devices were mistakenly set with the modelId HK-DIM during manufacturing.
891
+ // This allows users to update the modelId from HK-DIM to ZG9030A-MW to ensure proper device functionality.
892
+ exposes: [e.enum('model', ea.SET, ['HK-DIM', 'ZG9030A-MW']).withDescription('Model of the device')],
893
+ },
894
+ {
895
+ zigbeeModel: ['SR-ZG9040A-S'],
896
+ model: 'SR-ZG9040A-S',
897
+ vendor: 'Sunricher',
898
+ description: 'ZigBee AC phase-cut dimmer single-line',
899
+ extend: [(0, modernExtend_1.light)({ configureReporting: true })],
900
+ },
901
+ {
902
+ zigbeeModel: ['Micro Smart OnOff', 'HK-SL-RELAY-A'],
903
+ model: 'SR-ZG9100A-S',
904
+ vendor: 'Sunricher',
905
+ description: 'Zigbee AC in wall switch single-line',
906
+ extend: [(0, modernExtend_1.onOff)()],
907
+ },
908
+ {
909
+ zigbeeModel: ['ZG2819S-CCT'],
910
+ model: 'ZG2819S-CCT',
911
+ vendor: 'Sunricher',
912
+ description: 'Zigbee handheld remote CCT 4 channels',
913
+ fromZigbee: [
914
+ fromZigbee_1.default.battery,
915
+ fromZigbee_1.default.command_move_to_color,
916
+ fromZigbee_1.default.command_move_to_color_temp,
917
+ fromZigbee_1.default.command_move_hue,
918
+ fromZigbee_1.default.command_step,
919
+ fromZigbee_1.default.command_recall,
920
+ fromZigbee_1.default.command_on,
921
+ fromZigbee_1.default.command_off,
922
+ fromZigbee_1.default.command_toggle,
923
+ fromZigbee_1.default.command_stop,
924
+ fromZigbee_1.default.command_move,
925
+ fromZigbee_1.default.command_color_loop_set,
926
+ fromZigbee_1.default.command_ehanced_move_to_hue_and_saturation,
927
+ ],
928
+ exposes: [
929
+ e.battery(),
930
+ e.action([
931
+ 'color_move',
932
+ 'color_temperature_move',
933
+ 'hue_move',
934
+ 'brightness_step_up',
935
+ 'brightness_step_down',
936
+ 'recall_*',
937
+ 'on',
938
+ 'off',
939
+ 'toggle',
940
+ 'brightness_stop',
941
+ 'brightness_move_up',
942
+ 'brightness_move_down',
943
+ 'color_loop_set',
944
+ 'enhanced_move_to_hue_and_saturation',
945
+ 'hue_stop',
946
+ ]),
947
+ ],
948
+ toZigbee: [],
949
+ meta: { multiEndpoint: true },
950
+ endpoint: (device) => {
951
+ return { ep1: 1, ep2: 2, ep3: 3, ep4: 4 };
952
+ },
953
+ },
954
+ {
955
+ zigbeeModel: ['HK-ZCC-A'],
956
+ model: 'SR-ZG9080A',
957
+ vendor: 'Sunricher',
958
+ description: 'Curtain motor controller',
959
+ meta: { coverInverted: true },
960
+ fromZigbee: [fromZigbee_1.default.cover_position_tilt],
961
+ toZigbee: [toZigbee_1.default.cover_state, toZigbee_1.default.cover_position_tilt],
962
+ exposes: [e.cover_position()],
963
+ configure: async (device, coordinatorEndpoint) => {
964
+ const endpoint = device.getEndpoint(1);
965
+ await reporting.bind(endpoint, coordinatorEndpoint, ['closuresWindowCovering']);
966
+ await reporting.currentPositionLiftPercentage(endpoint);
967
+ },
968
+ },
969
+ {
970
+ fingerprint: [
971
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x00000000010.....$/ },
972
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x0000000001b.....$/ },
973
+ ],
974
+ model: 'SR-ZGP2801K2-DIM',
975
+ vendor: 'Sunricher',
976
+ description: 'Pushbutton transmitter module',
977
+ fromZigbee: [fromZigbee_1.default.sunricher_switch2801K2],
978
+ toZigbee: [],
979
+ exposes: [e.action(['press_on', 'press_off', 'hold_on', 'hold_off', 'release'])],
980
+ },
981
+ {
982
+ fingerprint: [
983
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x000000005d5.....$/ },
984
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x0000000057e.....$/ },
985
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x000000001fa.....$/ },
986
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x0000000034b.....$/ },
987
+ { modelID: 'GreenPower_2', ieeeAddr: /^0x00000000f12.....$/ },
988
+ ],
989
+ model: 'SR-ZGP2801K4-DIM',
990
+ vendor: 'Sunricher',
991
+ description: 'Pushbutton transmitter module',
992
+ fromZigbee: [fromZigbee_1.default.sunricher_switch2801K4],
993
+ toZigbee: [],
994
+ exposes: [e.action(['press_on', 'press_off', 'press_high', 'press_low', 'hold_high', 'hold_low', 'release'])],
995
+ },
996
+ {
997
+ fingerprint: [{ modelID: 'GreenPower_2', ieeeAddr: /^0x00000000aaf.....$/ }],
998
+ model: 'SR-ZGP2801K-5C',
999
+ vendor: 'Sunricher',
1000
+ description: 'Pushbutton transmitter module',
1001
+ fromZigbee: [fzLocal.sunricher_SRZGP2801K45C],
1002
+ toZigbee: [],
1003
+ exposes: [
1004
+ e.action([
1005
+ 'press_on',
1006
+ 'press_off',
1007
+ 'press_high',
1008
+ 'press_low',
1009
+ 'hold_high',
1010
+ 'hold_low',
1011
+ 'high_low_release',
1012
+ 'cw_ww_release',
1013
+ 'cw_dec_ww_inc',
1014
+ 'ww_inc_cw_dec',
1015
+ 'r_g_b',
1016
+ 'b_g_r',
1017
+ 'rgb_release',
1018
+ ]),
1019
+ ],
1020
+ },
1021
+ {
1022
+ zigbeeModel: ['ZG9092', 'HK-LN-HEATER-A', 'ROB_200-040-0'],
1023
+ model: 'SR-ZG9092A',
1024
+ vendor: 'Sunricher',
1025
+ description: 'Touch thermostat',
1026
+ fromZigbee: [fromZigbee_1.default.thermostat, fromZigbee_1.default.namron_thermostat, fromZigbee_1.default.metering, fromZigbee_1.default.electrical_measurement, fromZigbee_1.default.namron_hvac_user_interface],
1027
+ toZigbee: [
1028
+ toZigbee_1.default.thermostat_occupied_heating_setpoint,
1029
+ toZigbee_1.default.thermostat_unoccupied_heating_setpoint,
1030
+ toZigbee_1.default.thermostat_occupancy,
1031
+ toZigbee_1.default.thermostat_local_temperature_calibration,
1032
+ toZigbee_1.default.thermostat_local_temperature,
1033
+ toZigbee_1.default.thermostat_outdoor_temperature,
1034
+ toZigbee_1.default.thermostat_system_mode,
1035
+ toZigbee_1.default.thermostat_control_sequence_of_operation,
1036
+ toZigbee_1.default.thermostat_running_state,
1037
+ toZigbee_1.default.namron_thermostat,
1038
+ toZigbee_1.default.namron_thermostat_child_lock,
1039
+ ],
1040
+ exposes: [
1041
+ e.numeric('outdoor_temperature', ea.STATE_GET).withUnit('°C').withDescription('Current temperature measured from the floor sensor'),
1042
+ e
1043
+ .climate()
1044
+ .withSetpoint('occupied_heating_setpoint', 0, 40, 0.1)
1045
+ .withSetpoint('unoccupied_heating_setpoint', 0, 40, 0.1)
1046
+ .withLocalTemperature()
1047
+ .withLocalTemperatureCalibration(-3, 3, 0.1)
1048
+ .withSystemMode(['off', 'auto', 'heat'])
1049
+ .withRunningState(['idle', 'heat']),
1050
+ e.binary('away_mode', ea.ALL, 'ON', 'OFF').withDescription('Enable/disable away mode'),
1051
+ e.binary('child_lock', ea.ALL, 'UNLOCK', 'LOCK').withDescription('Enables/disables physical input on the device'),
1052
+ e.power(),
1053
+ e.current(),
1054
+ e.voltage(),
1055
+ e.energy(),
1056
+ e.enum('lcd_brightness', ea.ALL, ['low', 'mid', 'high']).withDescription('OLED brightness when operating the buttons. Default: Medium.'),
1057
+ e.enum('button_vibration_level', ea.ALL, ['off', 'low', 'high']).withDescription('Key beep volume and vibration level. Default: Low.'),
1058
+ e
1059
+ .enum('floor_sensor_type', ea.ALL, ['10k', '15k', '50k', '100k', '12k'])
1060
+ .withDescription('Type of the external floor sensor. Default: NTC 10K/25.'),
1061
+ e.enum('sensor', ea.ALL, ['air', 'floor', 'both']).withDescription('The sensor used for heat control. Default: Room Sensor.'),
1062
+ e.enum('powerup_status', ea.ALL, ['default', 'last_status']).withDescription('The mode after a power reset. Default: Previous Mode.'),
1063
+ e
1064
+ .numeric('floor_sensor_calibration', ea.ALL)
1065
+ .withUnit('°C')
1066
+ .withValueMin(-3)
1067
+ .withValueMax(3)
1068
+ .withValueStep(0.1)
1069
+ .withDescription('The tempearatue calibration for the external floor sensor, between -3 and 3 in 0.1°C. Default: 0.'),
1070
+ e
1071
+ .numeric('dry_time', ea.ALL)
1072
+ .withUnit('min')
1073
+ .withValueMin(5)
1074
+ .withValueMax(100)
1075
+ .withDescription('The duration of Dry Mode, between 5 and 100 minutes. Default: 5.'),
1076
+ e.enum('mode_after_dry', ea.ALL, ['off', 'manual', 'auto', 'away']).withDescription('The mode after Dry Mode. Default: Auto.'),
1077
+ e.enum('temperature_display', ea.ALL, ['room', 'floor']).withDescription('The temperature on the display. Default: Room Temperature.'),
1078
+ e
1079
+ .numeric('window_open_check', ea.ALL)
1080
+ .withUnit('°C')
1081
+ .withValueMin(0)
1082
+ .withValueMax(8)
1083
+ .withValueStep(0.5)
1084
+ .withDescription('The threshold to detect window open, between 0.0 and 8.0 in 0.5 °C. Default: 0 (disabled).'),
1085
+ e
1086
+ .numeric('hysterersis', ea.ALL)
1087
+ .withUnit('°C')
1088
+ .withValueMin(0.5)
1089
+ .withValueMax(2)
1090
+ .withValueStep(0.1)
1091
+ .withDescription('Hysteresis setting, between 0.5 and 2 in 0.1 °C. Default: 0.5.'),
1092
+ e.enum('display_auto_off_enabled', ea.ALL, ['disabled', 'enabled']),
1093
+ e
1094
+ .numeric('alarm_airtemp_overvalue', ea.ALL)
1095
+ .withUnit('°C')
1096
+ .withValueMin(20)
1097
+ .withValueMax(60)
1098
+ .withDescription('Room temperature alarm threshold, between 20 and 60 in °C. 0 means disabled. Default: 45.'),
1099
+ ],
1100
+ onEvent: async (type, data, device, options) => {
1101
+ if (type === 'stop') {
1102
+ clearInterval(globalStore.getValue(device, 'time'));
1103
+ globalStore.clearValue(device, 'time');
1104
+ }
1105
+ else if (!globalStore.hasValue(device, 'time')) {
1106
+ const endpoint = device.getEndpoint(1);
1107
+ const hours24 = 1000 * 60 * 60 * 24;
1108
+ // Device does not ask for the time with binding, therefore we write the time every 24 hours
1109
+ const interval = setInterval(async () => await syncTime(endpoint), hours24);
1110
+ globalStore.putValue(device, 'time', interval);
1111
+ }
1112
+ },
1113
+ configure: async (device, coordinatorEndpoint) => {
1114
+ const endpoint = device.getEndpoint(1);
1115
+ const binds = [
1116
+ 'genBasic',
1117
+ 'genIdentify',
1118
+ 'hvacThermostat',
1119
+ 'seMetering',
1120
+ 'haElectricalMeasurement',
1121
+ 'genAlarms',
1122
+ 'msOccupancySensing',
1123
+ 'genTime',
1124
+ 'hvacUserInterfaceCfg',
1125
+ ];
1126
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1127
+ // standard ZCL attributes
1128
+ await reporting.thermostatTemperature(endpoint);
1129
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1130
+ await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
1131
+ try {
1132
+ await reporting.thermostatKeypadLockMode(endpoint);
1133
+ }
1134
+ catch {
1135
+ // Fails for some
1136
+ // https://github.com/Koenkk/zigbee2mqtt/issues/15025
1137
+ logger_1.logger.debug(`Failed to setup keypadLockout reporting`, NS);
1138
+ }
1139
+ await endpoint.configureReporting('hvacThermostat', [
1140
+ {
1141
+ attribute: 'occupancy',
1142
+ minimumReportInterval: 0,
1143
+ maximumReportInterval: constants.repInterval.HOUR,
1144
+ reportableChange: null,
1145
+ },
1146
+ ]);
1147
+ await endpoint.read('haElectricalMeasurement', ['acVoltageMultiplier', 'acVoltageDivisor', 'acCurrentMultiplier']);
1148
+ await endpoint.read('haElectricalMeasurement', ['acCurrentDivisor']);
1149
+ await endpoint.read('seMetering', ['multiplier', 'divisor']);
1150
+ await reporting.activePower(endpoint, { min: 30, change: 10 }); // Min report change 10W
1151
+ await reporting.rmsCurrent(endpoint, { min: 30, change: 50 }); // Min report change 0.05A
1152
+ await reporting.rmsVoltage(endpoint, { min: 30, change: 20 }); // Min report change 2V
1153
+ await reporting.readMeteringMultiplierDivisor(endpoint);
1154
+ await reporting.currentSummDelivered(endpoint);
1155
+ // Custom attributes
1156
+ const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SHENZHEN_SUNRICHER_TECHNOLOGY_LTD };
1157
+ // OperateDisplayLcdBrightnesss
1158
+ await endpoint.configureReporting('hvacThermostat', [
1159
+ {
1160
+ attribute: { ID: 0x1000, type: 0x30 },
1161
+ minimumReportInterval: 0,
1162
+ maximumReportInterval: constants.repInterval.HOUR,
1163
+ reportableChange: null,
1164
+ },
1165
+ ], options);
1166
+ // ButtonVibrationLevel
1167
+ await endpoint.configureReporting('hvacThermostat', [
1168
+ {
1169
+ attribute: { ID: 0x1001, type: 0x30 },
1170
+ minimumReportInterval: 0,
1171
+ maximumReportInterval: constants.repInterval.HOUR,
1172
+ reportableChange: null,
1173
+ },
1174
+ ], options);
1175
+ // FloorSensorType
1176
+ await endpoint.configureReporting('hvacThermostat', [
1177
+ {
1178
+ attribute: { ID: 0x1002, type: 0x30 },
1179
+ minimumReportInterval: 0,
1180
+ maximumReportInterval: constants.repInterval.HOUR,
1181
+ reportableChange: null,
1182
+ },
1183
+ ], options);
1184
+ // ControlType
1185
+ await endpoint.configureReporting('hvacThermostat', [
1186
+ {
1187
+ attribute: { ID: 0x1003, type: 0x30 },
1188
+ minimumReportInterval: 0,
1189
+ maximumReportInterval: constants.repInterval.HOUR,
1190
+ reportableChange: null,
1191
+ },
1192
+ ], options);
1193
+ // PowerUpStatus
1194
+ await endpoint.configureReporting('hvacThermostat', [
1195
+ {
1196
+ attribute: { ID: 0x1004, type: 0x30 },
1197
+ minimumReportInterval: 0,
1198
+ maximumReportInterval: constants.repInterval.HOUR,
1199
+ reportableChange: null,
1200
+ },
1201
+ ], options);
1202
+ // FloorSensorCalibration
1203
+ await endpoint.configureReporting('hvacThermostat', [
1204
+ {
1205
+ attribute: { ID: 0x1005, type: 0x28 },
1206
+ minimumReportInterval: 0,
1207
+ maximumReportInterval: constants.repInterval.HOUR,
1208
+ reportableChange: 0,
1209
+ },
1210
+ ], options);
1211
+ // DryTime
1212
+ await endpoint.configureReporting('hvacThermostat', [
1213
+ {
1214
+ attribute: { ID: 0x1006, type: 0x20 },
1215
+ minimumReportInterval: 0,
1216
+ maximumReportInterval: constants.repInterval.HOUR,
1217
+ reportableChange: 0,
1218
+ },
1219
+ ], options);
1220
+ // ModeAfterDry
1221
+ await endpoint.configureReporting('hvacThermostat', [
1222
+ {
1223
+ attribute: { ID: 0x1007, type: 0x30 },
1224
+ minimumReportInterval: 0,
1225
+ maximumReportInterval: constants.repInterval.HOUR,
1226
+ reportableChange: null,
1227
+ },
1228
+ ], options);
1229
+ // TemperatureDisplay
1230
+ await endpoint.configureReporting('hvacThermostat', [
1231
+ {
1232
+ attribute: { ID: 0x1008, type: 0x30 },
1233
+ minimumReportInterval: 0,
1234
+ maximumReportInterval: constants.repInterval.HOUR,
1235
+ reportableChange: null,
1236
+ },
1237
+ ], options);
1238
+ // WindowOpenCheck
1239
+ await endpoint.configureReporting('hvacThermostat', [
1240
+ {
1241
+ attribute: { ID: 0x1009, type: 0x20 },
1242
+ minimumReportInterval: 0,
1243
+ maximumReportInterval: constants.repInterval.HOUR,
1244
+ reportableChange: 0,
1245
+ },
1246
+ ], options);
1247
+ // Hysterersis
1248
+ await endpoint.configureReporting('hvacThermostat', [
1249
+ {
1250
+ attribute: { ID: 0x100a, type: 0x20 },
1251
+ minimumReportInterval: 0,
1252
+ maximumReportInterval: constants.repInterval.HOUR,
1253
+ reportableChange: 0,
1254
+ },
1255
+ ], options);
1256
+ // DisplayAutoOffEnable
1257
+ await endpoint.configureReporting('hvacThermostat', [
1258
+ {
1259
+ attribute: { ID: 0x100b, type: 0x30 },
1260
+ minimumReportInterval: 0,
1261
+ maximumReportInterval: constants.repInterval.HOUR,
1262
+ reportableChange: null,
1263
+ },
1264
+ ], options);
1265
+ // AlarmAirTempOverValue
1266
+ await endpoint.configureReporting('hvacThermostat', [
1267
+ {
1268
+ attribute: { ID: 0x2001, type: 0x20 },
1269
+ minimumReportInterval: 0,
1270
+ maximumReportInterval: constants.repInterval.HOUR,
1271
+ reportableChange: 0,
1272
+ },
1273
+ ], options);
1274
+ // Away Mode Set
1275
+ await endpoint.configureReporting('hvacThermostat', [
1276
+ {
1277
+ attribute: { ID: 0x2002, type: 0x30 },
1278
+ minimumReportInterval: 0,
1279
+ maximumReportInterval: constants.repInterval.HOUR,
1280
+ reportableChange: null,
1281
+ },
1282
+ ], options);
1283
+ // Device does not asks for the time with binding, we need to write time during configure
1284
+ await syncTime(endpoint);
1285
+ // Trigger initial read
1286
+ await endpoint.read('hvacThermostat', ['systemMode', 'runningState', 'occupiedHeatingSetpoint']);
1287
+ await endpoint.read('hvacThermostat', [0x1000, 0x1001, 0x1002, 0x1003], options);
1288
+ await endpoint.read('hvacThermostat', [0x1004, 0x1005, 0x1006, 0x1007], options);
1289
+ await endpoint.read('hvacThermostat', [0x1008, 0x1009, 0x100a, 0x100b], options);
1290
+ await endpoint.read('hvacThermostat', [0x2001, 0x2002], options);
1291
+ },
1292
+ },
1293
+ {
1294
+ fingerprint: [
1295
+ { modelID: 'TERNCY-DC01', manufacturerName: 'Sunricher' },
1296
+ { modelID: 'HK-SENSOR-CT-A', manufacturerName: 'Sunricher' },
1297
+ ],
1298
+ model: 'SR-ZG9010A',
1299
+ vendor: 'Sunricher',
1300
+ description: 'Door windows sensor',
1301
+ fromZigbee: [fromZigbee_1.default.U02I007C01_contact, fromZigbee_1.default.battery],
1302
+ toZigbee: [],
1303
+ exposes: [e.contact(), e.battery()],
1304
+ },
1305
+ ];
1306
+ exports.default = definitions;
1307
+ module.exports = definitions;
1308
+ //# sourceMappingURL=sunricher.js.map