@willieee802/zigbee-herdsman-converters 19.44.0 → 19.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1609) hide show
  1. package/dist/converters/actions.d.ts +36 -0
  2. package/dist/converters/actions.d.ts.map +1 -0
  3. package/dist/converters/actions.js +137 -0
  4. package/dist/converters/actions.js.map +1 -0
  5. package/dist/converters/fromZigbee.d.ts +293 -0
  6. package/dist/converters/fromZigbee.d.ts.map +1 -0
  7. package/dist/converters/fromZigbee.js +5192 -0
  8. package/dist/converters/fromZigbee.js.map +1 -0
  9. package/dist/converters/toZigbee.d.ts +235 -0
  10. package/dist/converters/toZigbee.d.ts.map +1 -0
  11. package/dist/converters/toZigbee.js +4577 -0
  12. package/dist/converters/toZigbee.js.map +1 -0
  13. package/dist/devices/ITCommander.d.ts +3 -0
  14. package/dist/devices/ITCommander.d.ts.map +1 -0
  15. package/dist/devices/ITCommander.js +73 -0
  16. package/dist/devices/ITCommander.js.map +1 -0
  17. package/dist/devices/acova.d.ts +3 -0
  18. package/dist/devices/acova.d.ts.map +1 -0
  19. package/dist/devices/acova.js +124 -0
  20. package/dist/devices/acova.js.map +1 -0
  21. package/dist/devices/acuity_brands_lighting.d.ts +3 -0
  22. package/dist/devices/acuity_brands_lighting.d.ts.map +1 -0
  23. package/dist/devices/acuity_brands_lighting.js +61 -0
  24. package/dist/devices/acuity_brands_lighting.js.map +1 -0
  25. package/dist/devices/adeo.d.ts +3 -0
  26. package/dist/devices/adeo.d.ts.map +1 -0
  27. package/dist/devices/adeo.js +518 -0
  28. package/dist/devices/adeo.js.map +1 -0
  29. package/dist/devices/adurosmart.d.ts +3 -0
  30. package/dist/devices/adurosmart.d.ts.map +1 -0
  31. package/dist/devices/adurosmart.js +235 -0
  32. package/dist/devices/adurosmart.js.map +1 -0
  33. package/dist/devices/aeotec.d.ts +3 -0
  34. package/dist/devices/aeotec.d.ts.map +1 -0
  35. package/dist/devices/aeotec.js +95 -0
  36. package/dist/devices/aeotec.js.map +1 -0
  37. package/dist/devices/airam.d.ts +3 -0
  38. package/dist/devices/airam.d.ts.map +1 -0
  39. package/dist/devices/airam.js +102 -0
  40. package/dist/devices/airam.js.map +1 -0
  41. package/dist/devices/airzone_aidoo.d.ts +3 -0
  42. package/dist/devices/airzone_aidoo.d.ts.map +1 -0
  43. package/dist/devices/airzone_aidoo.js +77 -0
  44. package/dist/devices/airzone_aidoo.js.map +1 -0
  45. package/dist/devices/ajax_online.d.ts +3 -0
  46. package/dist/devices/ajax_online.d.ts.map +1 -0
  47. package/dist/devices/ajax_online.js +83 -0
  48. package/dist/devices/ajax_online.js.map +1 -0
  49. package/dist/devices/akuvox.d.ts +3 -0
  50. package/dist/devices/akuvox.d.ts.map +1 -0
  51. package/dist/devices/akuvox.js +65 -0
  52. package/dist/devices/akuvox.js.map +1 -0
  53. package/dist/devices/alchemy.d.ts +3 -0
  54. package/dist/devices/alchemy.d.ts.map +1 -0
  55. package/dist/devices/alchemy.js +54 -0
  56. package/dist/devices/alchemy.js.map +1 -0
  57. package/dist/devices/aldi.d.ts +3 -0
  58. package/dist/devices/aldi.d.ts.map +1 -0
  59. package/dist/devices/aldi.js +54 -0
  60. package/dist/devices/aldi.js.map +1 -0
  61. package/dist/devices/alecto.d.ts +3 -0
  62. package/dist/devices/alecto.d.ts.map +1 -0
  63. package/dist/devices/alecto.js +91 -0
  64. package/dist/devices/alecto.js.map +1 -0
  65. package/dist/devices/amina.d.ts +3 -0
  66. package/dist/devices/amina.d.ts.map +1 -0
  67. package/dist/devices/amina.js +360 -0
  68. package/dist/devices/amina.js.map +1 -0
  69. package/dist/devices/anchor.d.ts +3 -0
  70. package/dist/devices/anchor.d.ts.map +1 -0
  71. package/dist/devices/anchor.js +47 -0
  72. package/dist/devices/anchor.js.map +1 -0
  73. package/dist/devices/atlantic.d.ts +3 -0
  74. package/dist/devices/atlantic.d.ts.map +1 -0
  75. package/dist/devices/atlantic.js +147 -0
  76. package/dist/devices/atlantic.js.map +1 -0
  77. package/dist/devices/atsmart.d.ts +3 -0
  78. package/dist/devices/atsmart.d.ts.map +1 -0
  79. package/dist/devices/atsmart.js +47 -0
  80. package/dist/devices/atsmart.js.map +1 -0
  81. package/dist/devices/aubess.d.ts +3 -0
  82. package/dist/devices/aubess.d.ts.map +1 -0
  83. package/dist/devices/aubess.js +60 -0
  84. package/dist/devices/aubess.js.map +1 -0
  85. package/dist/devices/aurora_lighting.d.ts +3 -0
  86. package/dist/devices/aurora_lighting.d.ts.map +1 -0
  87. package/dist/devices/aurora_lighting.js +347 -0
  88. package/dist/devices/aurora_lighting.js.map +1 -0
  89. package/dist/devices/automaton.d.ts +3 -0
  90. package/dist/devices/automaton.d.ts.map +1 -0
  91. package/dist/devices/automaton.js +64 -0
  92. package/dist/devices/automaton.js.map +1 -0
  93. package/dist/devices/avatto.d.ts +3 -0
  94. package/dist/devices/avatto.d.ts.map +1 -0
  95. package/dist/devices/avatto.js +635 -0
  96. package/dist/devices/avatto.js.map +1 -0
  97. package/dist/devices/awox.d.ts +3 -0
  98. package/dist/devices/awox.d.ts.map +1 -0
  99. package/dist/devices/awox.js +352 -0
  100. package/dist/devices/awox.js.map +1 -0
  101. package/dist/devices/axis.d.ts +3 -0
  102. package/dist/devices/axis.d.ts.map +1 -0
  103. package/dist/devices/axis.js +59 -0
  104. package/dist/devices/axis.js.map +1 -0
  105. package/dist/devices/bacchus.d.ts +3 -0
  106. package/dist/devices/bacchus.d.ts.map +1 -0
  107. package/dist/devices/bacchus.js +902 -0
  108. package/dist/devices/bacchus.js.map +1 -0
  109. package/dist/devices/bankamp.d.ts +3 -0
  110. package/dist/devices/bankamp.d.ts.map +1 -0
  111. package/dist/devices/bankamp.js +47 -0
  112. package/dist/devices/bankamp.js.map +1 -0
  113. package/dist/devices/bega.d.ts +3 -0
  114. package/dist/devices/bega.d.ts.map +1 -0
  115. package/dist/devices/bega.js +68 -0
  116. package/dist/devices/bega.js.map +1 -0
  117. package/dist/devices/belkin.d.ts +3 -0
  118. package/dist/devices/belkin.d.ts.map +1 -0
  119. package/dist/devices/belkin.js +47 -0
  120. package/dist/devices/belkin.js.map +1 -0
  121. package/dist/devices/bitron.d.ts +3 -0
  122. package/dist/devices/bitron.d.ts.map +1 -0
  123. package/dist/devices/bitron.js +357 -0
  124. package/dist/devices/bitron.js.map +1 -0
  125. package/dist/devices/bituo_technik.d.ts +3 -0
  126. package/dist/devices/bituo_technik.d.ts.map +1 -0
  127. package/dist/devices/bituo_technik.js +487 -0
  128. package/dist/devices/bituo_technik.js.map +1 -0
  129. package/dist/devices/blaupunkt.d.ts +3 -0
  130. package/dist/devices/blaupunkt.d.ts.map +1 -0
  131. package/dist/devices/blaupunkt.js +64 -0
  132. package/dist/devices/blaupunkt.js.map +1 -0
  133. package/dist/devices/blitzwolf.d.ts +3 -0
  134. package/dist/devices/blitzwolf.d.ts.map +1 -0
  135. package/dist/devices/blitzwolf.js +77 -0
  136. package/dist/devices/blitzwolf.js.map +1 -0
  137. package/dist/devices/bosch.d.ts +3 -0
  138. package/dist/devices/bosch.d.ts.map +1 -0
  139. package/dist/devices/bosch.js +1381 -0
  140. package/dist/devices/bosch.js.map +1 -0
  141. package/dist/devices/bouffalo_lab.d.ts +3 -0
  142. package/dist/devices/bouffalo_lab.d.ts.map +1 -0
  143. package/dist/devices/bouffalo_lab.js +47 -0
  144. package/dist/devices/bouffalo_lab.js.map +1 -0
  145. package/dist/devices/box.d.ts +3 -0
  146. package/dist/devices/box.d.ts.map +1 -0
  147. package/dist/devices/box.js +370 -0
  148. package/dist/devices/box.js.map +1 -0
  149. package/dist/devices/brimate.d.ts +3 -0
  150. package/dist/devices/brimate.d.ts.map +1 -0
  151. package/dist/devices/brimate.js +51 -0
  152. package/dist/devices/brimate.js.map +1 -0
  153. package/dist/devices/brun_holding.d.ts +3 -0
  154. package/dist/devices/brun_holding.d.ts.map +1 -0
  155. package/dist/devices/brun_holding.js +59 -0
  156. package/dist/devices/brun_holding.js.map +1 -0
  157. package/dist/devices/bseed.d.ts +3 -0
  158. package/dist/devices/bseed.d.ts.map +1 -0
  159. package/dist/devices/bseed.js +53 -0
  160. package/dist/devices/bseed.js.map +1 -0
  161. package/dist/devices/bticino.d.ts +3 -0
  162. package/dist/devices/bticino.d.ts.map +1 -0
  163. package/dist/devices/bticino.js +111 -0
  164. package/dist/devices/bticino.js.map +1 -0
  165. package/dist/devices/bubendorff.d.ts +3 -0
  166. package/dist/devices/bubendorff.d.ts.map +1 -0
  167. package/dist/devices/bubendorff.js +47 -0
  168. package/dist/devices/bubendorff.js.map +1 -0
  169. package/dist/devices/busch_jaeger.d.ts +3 -0
  170. package/dist/devices/busch_jaeger.d.ts.map +1 -0
  171. package/dist/devices/busch_jaeger.js +163 -0
  172. package/dist/devices/busch_jaeger.js.map +1 -0
  173. package/dist/devices/byun.d.ts +3 -0
  174. package/dist/devices/byun.d.ts.map +1 -0
  175. package/dist/devices/byun.js +60 -0
  176. package/dist/devices/byun.js.map +1 -0
  177. package/dist/devices/calex.d.ts +3 -0
  178. package/dist/devices/calex.d.ts.map +1 -0
  179. package/dist/devices/calex.js +87 -0
  180. package/dist/devices/calex.js.map +1 -0
  181. package/dist/devices/candeo.d.ts +3 -0
  182. package/dist/devices/candeo.d.ts.map +1 -0
  183. package/dist/devices/candeo.js +887 -0
  184. package/dist/devices/candeo.js.map +1 -0
  185. package/dist/devices/casaia.d.ts +3 -0
  186. package/dist/devices/casaia.d.ts.map +1 -0
  187. package/dist/devices/casaia.js +95 -0
  188. package/dist/devices/casaia.js.map +1 -0
  189. package/dist/devices/cel.d.ts +3 -0
  190. package/dist/devices/cel.d.ts.map +1 -0
  191. package/dist/devices/cel.js +49 -0
  192. package/dist/devices/cel.js.map +1 -0
  193. package/dist/devices/centralite.d.ts +28 -0
  194. package/dist/devices/centralite.d.ts.map +1 -0
  195. package/dist/devices/centralite.js +440 -0
  196. package/dist/devices/centralite.js.map +1 -0
  197. package/dist/devices/chacon.d.ts +3 -0
  198. package/dist/devices/chacon.d.ts.map +1 -0
  199. package/dist/devices/chacon.js +57 -0
  200. package/dist/devices/chacon.js.map +1 -0
  201. package/dist/devices/cleode.d.ts +3 -0
  202. package/dist/devices/cleode.d.ts.map +1 -0
  203. package/dist/devices/cleode.js +47 -0
  204. package/dist/devices/cleode.js.map +1 -0
  205. package/dist/devices/cleverio.d.ts +3 -0
  206. package/dist/devices/cleverio.d.ts.map +1 -0
  207. package/dist/devices/cleverio.js +74 -0
  208. package/dist/devices/cleverio.js.map +1 -0
  209. package/dist/devices/climax.d.ts +3 -0
  210. package/dist/devices/climax.d.ts.map +1 -0
  211. package/dist/devices/climax.js +184 -0
  212. package/dist/devices/climax.js.map +1 -0
  213. package/dist/devices/commercial_electric.d.ts +3 -0
  214. package/dist/devices/commercial_electric.d.ts.map +1 -0
  215. package/dist/devices/commercial_electric.js +47 -0
  216. package/dist/devices/commercial_electric.js.map +1 -0
  217. package/dist/devices/cree.d.ts +3 -0
  218. package/dist/devices/cree.d.ts.map +1 -0
  219. package/dist/devices/cree.js +47 -0
  220. package/dist/devices/cree.js.map +1 -0
  221. package/dist/devices/ctm.d.ts +3 -0
  222. package/dist/devices/ctm.d.ts.map +1 -0
  223. package/dist/devices/ctm.js +1411 -0
  224. package/dist/devices/ctm.js.map +1 -0
  225. package/dist/devices/current_products_corp.d.ts +3 -0
  226. package/dist/devices/current_products_corp.d.ts.map +1 -0
  227. package/dist/devices/current_products_corp.js +60 -0
  228. package/dist/devices/current_products_corp.js.map +1 -0
  229. package/dist/devices/custom_devices_diy.d.ts +3 -0
  230. package/dist/devices/custom_devices_diy.d.ts.map +1 -0
  231. package/dist/devices/custom_devices_diy.js +1302 -0
  232. package/dist/devices/custom_devices_diy.js.map +1 -0
  233. package/dist/devices/cwd.d.ts +3 -0
  234. package/dist/devices/cwd.d.ts.map +1 -0
  235. package/dist/devices/cwd.js +47 -0
  236. package/dist/devices/cwd.js.map +1 -0
  237. package/dist/devices/cy_lighting.d.ts +3 -0
  238. package/dist/devices/cy_lighting.d.ts.map +1 -0
  239. package/dist/devices/cy_lighting.js +47 -0
  240. package/dist/devices/cy_lighting.js.map +1 -0
  241. package/dist/devices/danalock.d.ts +3 -0
  242. package/dist/devices/danalock.d.ts.map +1 -0
  243. package/dist/devices/danalock.js +61 -0
  244. package/dist/devices/danalock.js.map +1 -0
  245. package/dist/devices/danfoss.d.ts +3 -0
  246. package/dist/devices/danfoss.d.ts.map +1 -0
  247. package/dist/devices/danfoss.js +793 -0
  248. package/dist/devices/danfoss.js.map +1 -0
  249. package/dist/devices/databyte.d.ts +3 -0
  250. package/dist/devices/databyte.d.ts.map +1 -0
  251. package/dist/devices/databyte.js +90 -0
  252. package/dist/devices/databyte.js.map +1 -0
  253. package/dist/devices/datek.d.ts +3 -0
  254. package/dist/devices/datek.d.ts.map +1 -0
  255. package/dist/devices/datek.js +303 -0
  256. package/dist/devices/datek.js.map +1 -0
  257. package/dist/devices/dawon_dns.d.ts +3 -0
  258. package/dist/devices/dawon_dns.d.ts.map +1 -0
  259. package/dist/devices/dawon_dns.js +314 -0
  260. package/dist/devices/dawon_dns.js.map +1 -0
  261. package/dist/devices/develco.d.ts +3 -0
  262. package/dist/devices/develco.d.ts.map +1 -0
  263. package/dist/devices/develco.js +1113 -0
  264. package/dist/devices/develco.js.map +1 -0
  265. package/dist/devices/digi.d.ts +3 -0
  266. package/dist/devices/digi.d.ts.map +1 -0
  267. package/dist/devices/digi.js +24 -0
  268. package/dist/devices/digi.js.map +1 -0
  269. package/dist/devices/direct_signs.d.ts +3 -0
  270. package/dist/devices/direct_signs.d.ts.map +1 -0
  271. package/dist/devices/direct_signs.js +47 -0
  272. package/dist/devices/direct_signs.js.map +1 -0
  273. package/dist/devices/diyruz.d.ts +3 -0
  274. package/dist/devices/diyruz.d.ts.map +1 -0
  275. package/dist/devices/diyruz.js +397 -0
  276. package/dist/devices/diyruz.js.map +1 -0
  277. package/dist/devices/dlink.d.ts +3 -0
  278. package/dist/devices/dlink.d.ts.map +1 -0
  279. package/dist/devices/dlink.js +72 -0
  280. package/dist/devices/dlink.js.map +1 -0
  281. package/dist/devices/dnake.d.ts +3 -0
  282. package/dist/devices/dnake.d.ts.map +1 -0
  283. package/dist/devices/dnake.js +47 -0
  284. package/dist/devices/dnake.js.map +1 -0
  285. package/dist/devices/domraem.d.ts +3 -0
  286. package/dist/devices/domraem.d.ts.map +1 -0
  287. package/dist/devices/domraem.js +75 -0
  288. package/dist/devices/domraem.js.map +1 -0
  289. package/dist/devices/dowsing_reynolds.d.ts +3 -0
  290. package/dist/devices/dowsing_reynolds.d.ts.map +1 -0
  291. package/dist/devices/dowsing_reynolds.js +47 -0
  292. package/dist/devices/dowsing_reynolds.js.map +1 -0
  293. package/dist/devices/dqsmart.d.ts +3 -0
  294. package/dist/devices/dqsmart.d.ts.map +1 -0
  295. package/dist/devices/dqsmart.js +50 -0
  296. package/dist/devices/dqsmart.js.map +1 -0
  297. package/dist/devices/dresden_elektronik.d.ts +3 -0
  298. package/dist/devices/dresden_elektronik.d.ts.map +1 -0
  299. package/dist/devices/dresden_elektronik.js +167 -0
  300. package/dist/devices/dresden_elektronik.js.map +1 -0
  301. package/dist/devices/easyaccess.d.ts +3 -0
  302. package/dist/devices/easyaccess.d.ts.map +1 -0
  303. package/dist/devices/easyaccess.js +67 -0
  304. package/dist/devices/easyaccess.js.map +1 -0
  305. package/dist/devices/easyiot.d.ts +3 -0
  306. package/dist/devices/easyiot.d.ts.map +1 -0
  307. package/dist/devices/easyiot.js +359 -0
  308. package/dist/devices/easyiot.js.map +1 -0
  309. package/dist/devices/eatonhalo_led.d.ts +3 -0
  310. package/dist/devices/eatonhalo_led.d.ts.map +1 -0
  311. package/dist/devices/eatonhalo_led.js +47 -0
  312. package/dist/devices/eatonhalo_led.js.map +1 -0
  313. package/dist/devices/echostar.d.ts +3 -0
  314. package/dist/devices/echostar.d.ts.map +1 -0
  315. package/dist/devices/echostar.js +61 -0
  316. package/dist/devices/echostar.js.map +1 -0
  317. package/dist/devices/ecodim.d.ts +3 -0
  318. package/dist/devices/ecodim.d.ts.map +1 -0
  319. package/dist/devices/ecodim.js +274 -0
  320. package/dist/devices/ecodim.js.map +1 -0
  321. package/dist/devices/ecolink.d.ts +3 -0
  322. package/dist/devices/ecolink.d.ts.map +1 -0
  323. package/dist/devices/ecolink.js +57 -0
  324. package/dist/devices/ecolink.js.map +1 -0
  325. package/dist/devices/ecosmart.d.ts +3 -0
  326. package/dist/devices/ecosmart.d.ts.map +1 -0
  327. package/dist/devices/ecosmart.js +115 -0
  328. package/dist/devices/ecosmart.js.map +1 -0
  329. package/dist/devices/ecozy.d.ts +3 -0
  330. package/dist/devices/ecozy.d.ts.map +1 -0
  331. package/dist/devices/ecozy.js +85 -0
  332. package/dist/devices/ecozy.js.map +1 -0
  333. package/dist/devices/edp.d.ts +3 -0
  334. package/dist/devices/edp.d.ts.map +1 -0
  335. package/dist/devices/edp.js +70 -0
  336. package/dist/devices/edp.js.map +1 -0
  337. package/dist/devices/efekta.d.ts +3 -0
  338. package/dist/devices/efekta.d.ts.map +1 -0
  339. package/dist/devices/efekta.js +8230 -0
  340. package/dist/devices/efekta.js.map +1 -0
  341. package/dist/devices/eglo.d.ts +3 -0
  342. package/dist/devices/eglo.d.ts.map +1 -0
  343. package/dist/devices/eglo.js +142 -0
  344. package/dist/devices/eglo.js.map +1 -0
  345. package/dist/devices/elko.d.ts +27 -0
  346. package/dist/devices/elko.d.ts.map +1 -0
  347. package/dist/devices/elko.js +306 -0
  348. package/dist/devices/elko.js.map +1 -0
  349. package/dist/devices/enbrighten.d.ts +3 -0
  350. package/dist/devices/enbrighten.d.ts.map +1 -0
  351. package/dist/devices/enbrighten.js +152 -0
  352. package/dist/devices/enbrighten.js.map +1 -0
  353. package/dist/devices/engo.d.ts +3 -0
  354. package/dist/devices/engo.d.ts.map +1 -0
  355. package/dist/devices/engo.js +1041 -0
  356. package/dist/devices/engo.js.map +1 -0
  357. package/dist/devices/enkin.d.ts +3 -0
  358. package/dist/devices/enkin.d.ts.map +1 -0
  359. package/dist/devices/enkin.js +14 -0
  360. package/dist/devices/enkin.js.map +1 -0
  361. package/dist/devices/enocean.d.ts +3 -0
  362. package/dist/devices/enocean.d.ts.map +1 -0
  363. package/dist/devices/enocean.js +150 -0
  364. package/dist/devices/enocean.js.map +1 -0
  365. package/dist/devices/envilar.d.ts +3 -0
  366. package/dist/devices/envilar.d.ts.map +1 -0
  367. package/dist/devices/envilar.js +131 -0
  368. package/dist/devices/envilar.js.map +1 -0
  369. package/dist/devices/espressif.d.ts +3 -0
  370. package/dist/devices/espressif.d.ts.map +1 -0
  371. package/dist/devices/espressif.js +61 -0
  372. package/dist/devices/espressif.js.map +1 -0
  373. package/dist/devices/essentialb.d.ts +3 -0
  374. package/dist/devices/essentialb.d.ts.map +1 -0
  375. package/dist/devices/essentialb.js +133 -0
  376. package/dist/devices/essentialb.js.map +1 -0
  377. package/dist/devices/essentials.d.ts +3 -0
  378. package/dist/devices/essentials.d.ts.map +1 -0
  379. package/dist/devices/essentials.js +150 -0
  380. package/dist/devices/essentials.js.map +1 -0
  381. package/dist/devices/eucontrols.d.ts +3 -0
  382. package/dist/devices/eucontrols.d.ts.map +1 -0
  383. package/dist/devices/eucontrols.js +47 -0
  384. package/dist/devices/eucontrols.js.map +1 -0
  385. package/dist/devices/eurotronic.d.ts +3 -0
  386. package/dist/devices/eurotronic.d.ts.map +1 -0
  387. package/dist/devices/eurotronic.js +278 -0
  388. package/dist/devices/eurotronic.js.map +1 -0
  389. package/dist/devices/evanell.d.ts +3 -0
  390. package/dist/devices/evanell.d.ts.map +1 -0
  391. package/dist/devices/evanell.js +66 -0
  392. package/dist/devices/evanell.js.map +1 -0
  393. package/dist/devices/evn.d.ts +3 -0
  394. package/dist/devices/evn.d.ts.map +1 -0
  395. package/dist/devices/evn.js +97 -0
  396. package/dist/devices/evn.js.map +1 -0
  397. package/dist/devices/evology.d.ts +3 -0
  398. package/dist/devices/evology.d.ts.map +1 -0
  399. package/dist/devices/evology.js +60 -0
  400. package/dist/devices/evology.js.map +1 -0
  401. package/dist/devices/evvr.d.ts +3 -0
  402. package/dist/devices/evvr.d.ts.map +1 -0
  403. package/dist/devices/evvr.js +47 -0
  404. package/dist/devices/evvr.js.map +1 -0
  405. package/dist/devices/ewelink.d.ts +3 -0
  406. package/dist/devices/ewelink.d.ts.map +1 -0
  407. package/dist/devices/ewelink.js +326 -0
  408. package/dist/devices/ewelink.js.map +1 -0
  409. package/dist/devices/ezex.d.ts +3 -0
  410. package/dist/devices/ezex.d.ts.map +1 -0
  411. package/dist/devices/ezex.js +47 -0
  412. package/dist/devices/ezex.js.map +1 -0
  413. package/dist/devices/ezviz.d.ts +3 -0
  414. package/dist/devices/ezviz.d.ts.map +1 -0
  415. package/dist/devices/ezviz.js +47 -0
  416. package/dist/devices/ezviz.js.map +1 -0
  417. package/dist/devices/fantem.d.ts +3 -0
  418. package/dist/devices/fantem.d.ts.map +1 -0
  419. package/dist/devices/fantem.js +112 -0
  420. package/dist/devices/fantem.js.map +1 -0
  421. package/dist/devices/feibit.d.ts +3 -0
  422. package/dist/devices/feibit.d.ts.map +1 -0
  423. package/dist/devices/feibit.js +335 -0
  424. package/dist/devices/feibit.js.map +1 -0
  425. package/dist/devices/fireangel.d.ts +3 -0
  426. package/dist/devices/fireangel.d.ts.map +1 -0
  427. package/dist/devices/fireangel.js +96 -0
  428. package/dist/devices/fireangel.js.map +1 -0
  429. package/dist/devices/frankever.d.ts +3 -0
  430. package/dist/devices/frankever.d.ts.map +1 -0
  431. package/dist/devices/frankever.js +67 -0
  432. package/dist/devices/frankever.js.map +1 -0
  433. package/dist/devices/frient.d.ts +3 -0
  434. package/dist/devices/frient.d.ts.map +1 -0
  435. package/dist/devices/frient.js +84 -0
  436. package/dist/devices/frient.js.map +1 -0
  437. package/dist/devices/futurehome.d.ts +3 -0
  438. package/dist/devices/futurehome.d.ts.map +1 -0
  439. package/dist/devices/futurehome.js +137 -0
  440. package/dist/devices/futurehome.js.map +1 -0
  441. package/dist/devices/ge.d.ts +3 -0
  442. package/dist/devices/ge.d.ts.map +1 -0
  443. package/dist/devices/ge.js +130 -0
  444. package/dist/devices/ge.js.map +1 -0
  445. package/dist/devices/gewiss.d.ts +3 -0
  446. package/dist/devices/gewiss.d.ts.map +1 -0
  447. package/dist/devices/gewiss.js +148 -0
  448. package/dist/devices/gewiss.js.map +1 -0
  449. package/dist/devices/gidealed.d.ts +3 -0
  450. package/dist/devices/gidealed.d.ts.map +1 -0
  451. package/dist/devices/gidealed.js +47 -0
  452. package/dist/devices/gidealed.js.map +1 -0
  453. package/dist/devices/giderwel.d.ts +3 -0
  454. package/dist/devices/giderwel.d.ts.map +1 -0
  455. package/dist/devices/giderwel.js +47 -0
  456. package/dist/devices/giderwel.js.map +1 -0
  457. package/dist/devices/giex.d.ts +3 -0
  458. package/dist/devices/giex.d.ts.map +1 -0
  459. package/dist/devices/giex.js +114 -0
  460. package/dist/devices/giex.js.map +1 -0
  461. package/dist/devices/girier.d.ts +3 -0
  462. package/dist/devices/girier.d.ts.map +1 -0
  463. package/dist/devices/girier.js +51 -0
  464. package/dist/devices/girier.js.map +1 -0
  465. package/dist/devices/gledopto.d.ts +3 -0
  466. package/dist/devices/gledopto.d.ts.map +1 -0
  467. package/dist/devices/gledopto.js +1395 -0
  468. package/dist/devices/gledopto.js.map +1 -0
  469. package/dist/devices/gmmts.d.ts +3 -0
  470. package/dist/devices/gmmts.d.ts.map +1 -0
  471. package/dist/devices/gmmts.js +2267 -0
  472. package/dist/devices/gmmts.js.map +1 -0
  473. package/dist/devices/gmy.d.ts +3 -0
  474. package/dist/devices/gmy.d.ts.map +1 -0
  475. package/dist/devices/gmy.js +47 -0
  476. package/dist/devices/gmy.js.map +1 -0
  477. package/dist/devices/gs.d.ts +3 -0
  478. package/dist/devices/gs.d.ts.map +1 -0
  479. package/dist/devices/gs.js +121 -0
  480. package/dist/devices/gs.js.map +1 -0
  481. package/dist/devices/gumax.d.ts +3 -0
  482. package/dist/devices/gumax.d.ts.map +1 -0
  483. package/dist/devices/gumax.js +47 -0
  484. package/dist/devices/gumax.js.map +1 -0
  485. package/dist/devices/halemeier.d.ts +3 -0
  486. package/dist/devices/halemeier.d.ts.map +1 -0
  487. package/dist/devices/halemeier.js +142 -0
  488. package/dist/devices/halemeier.js.map +1 -0
  489. package/dist/devices/hampton_bay.d.ts +3 -0
  490. package/dist/devices/hampton_bay.d.ts.map +1 -0
  491. package/dist/devices/hampton_bay.js +68 -0
  492. package/dist/devices/hampton_bay.js.map +1 -0
  493. package/dist/devices/heatit.d.ts +3 -0
  494. package/dist/devices/heatit.d.ts.map +1 -0
  495. package/dist/devices/heatit.js +47 -0
  496. package/dist/devices/heatit.js.map +1 -0
  497. package/dist/devices/heiman.d.ts +3 -0
  498. package/dist/devices/heiman.d.ts.map +1 -0
  499. package/dist/devices/heiman.js +2092 -0
  500. package/dist/devices/heiman.js.map +1 -0
  501. package/dist/devices/heimgard_technologies.d.ts +3 -0
  502. package/dist/devices/heimgard_technologies.d.ts.map +1 -0
  503. package/dist/devices/heimgard_technologies.js +189 -0
  504. package/dist/devices/heimgard_technologies.js.map +1 -0
  505. package/dist/devices/hej.d.ts +3 -0
  506. package/dist/devices/hej.d.ts.map +1 -0
  507. package/dist/devices/hej.js +126 -0
  508. package/dist/devices/hej.js.map +1 -0
  509. package/dist/devices/hfh.d.ts +3 -0
  510. package/dist/devices/hfh.d.ts.map +1 -0
  511. package/dist/devices/hfh.js +47 -0
  512. package/dist/devices/hfh.js.map +1 -0
  513. package/dist/devices/hilux.d.ts +3 -0
  514. package/dist/devices/hilux.d.ts.map +1 -0
  515. package/dist/devices/hilux.js +54 -0
  516. package/dist/devices/hilux.js.map +1 -0
  517. package/dist/devices/hive.d.ts +3 -0
  518. package/dist/devices/hive.d.ts.map +1 -0
  519. package/dist/devices/hive.js +798 -0
  520. package/dist/devices/hive.js.map +1 -0
  521. package/dist/devices/hoftronic.d.ts +3 -0
  522. package/dist/devices/hoftronic.d.ts.map +1 -0
  523. package/dist/devices/hoftronic.js +56 -0
  524. package/dist/devices/hoftronic.js.map +1 -0
  525. package/dist/devices/homeseer.d.ts +3 -0
  526. package/dist/devices/homeseer.d.ts.map +1 -0
  527. package/dist/devices/homeseer.js +53 -0
  528. package/dist/devices/homeseer.js.map +1 -0
  529. package/dist/devices/hommyn.d.ts +3 -0
  530. package/dist/devices/hommyn.d.ts.map +1 -0
  531. package/dist/devices/hommyn.js +60 -0
  532. package/dist/devices/hommyn.js.map +1 -0
  533. package/dist/devices/honyar.d.ts +3 -0
  534. package/dist/devices/honyar.d.ts.map +1 -0
  535. package/dist/devices/honyar.js +167 -0
  536. package/dist/devices/honyar.js.map +1 -0
  537. package/dist/devices/hornbach.d.ts +3 -0
  538. package/dist/devices/hornbach.d.ts.map +1 -0
  539. package/dist/devices/hornbach.js +138 -0
  540. package/dist/devices/hornbach.js.map +1 -0
  541. package/dist/devices/hzc_electric.d.ts +3 -0
  542. package/dist/devices/hzc_electric.d.ts.map +1 -0
  543. package/dist/devices/hzc_electric.js +102 -0
  544. package/dist/devices/hzc_electric.js.map +1 -0
  545. package/dist/devices/icasa.d.ts +3 -0
  546. package/dist/devices/icasa.d.ts.map +1 -0
  547. package/dist/devices/icasa.js +174 -0
  548. package/dist/devices/icasa.js.map +1 -0
  549. package/dist/devices/idinio.d.ts +3 -0
  550. package/dist/devices/idinio.d.ts.map +1 -0
  551. package/dist/devices/idinio.js +47 -0
  552. package/dist/devices/idinio.js.map +1 -0
  553. package/dist/devices/ihorn.d.ts +3 -0
  554. package/dist/devices/ihorn.d.ts.map +1 -0
  555. package/dist/devices/ihorn.js +105 -0
  556. package/dist/devices/ihorn.js.map +1 -0
  557. package/dist/devices/ikea.d.ts +3 -0
  558. package/dist/devices/ikea.d.ts.map +1 -0
  559. package/dist/devices/ikea.js +1241 -0
  560. package/dist/devices/ikea.js.map +1 -0
  561. package/dist/devices/ilightsin.d.ts +3 -0
  562. package/dist/devices/ilightsin.d.ts.map +1 -0
  563. package/dist/devices/ilightsin.js +59 -0
  564. package/dist/devices/ilightsin.js.map +1 -0
  565. package/dist/devices/iluminize.d.ts +3 -0
  566. package/dist/devices/iluminize.d.ts.map +1 -0
  567. package/dist/devices/iluminize.js +385 -0
  568. package/dist/devices/iluminize.js.map +1 -0
  569. package/dist/devices/ilux.d.ts +3 -0
  570. package/dist/devices/ilux.d.ts.map +1 -0
  571. package/dist/devices/ilux.js +47 -0
  572. package/dist/devices/ilux.js.map +1 -0
  573. package/dist/devices/imhotepcreation.d.ts +3 -0
  574. package/dist/devices/imhotepcreation.d.ts.map +1 -0
  575. package/dist/devices/imhotepcreation.js +240 -0
  576. package/dist/devices/imhotepcreation.js.map +1 -0
  577. package/dist/devices/immax.d.ts +3 -0
  578. package/dist/devices/immax.d.ts.map +1 -0
  579. package/dist/devices/immax.js +471 -0
  580. package/dist/devices/immax.js.map +1 -0
  581. package/dist/devices/imou.d.ts +3 -0
  582. package/dist/devices/imou.d.ts.map +1 -0
  583. package/dist/devices/imou.js +109 -0
  584. package/dist/devices/imou.js.map +1 -0
  585. package/dist/devices/index.d.ts +4 -0
  586. package/dist/devices/index.d.ts.map +1 -0
  587. package/dist/devices/index.js +738 -0
  588. package/dist/devices/index.js.map +1 -0
  589. package/dist/devices/innr.d.ts +3 -0
  590. package/dist/devices/innr.d.ts.map +1 -0
  591. package/dist/devices/innr.js +1033 -0
  592. package/dist/devices/innr.js.map +1 -0
  593. package/dist/devices/inovelli.d.ts +3 -0
  594. package/dist/devices/inovelli.d.ts.map +1 -0
  595. package/dist/devices/inovelli.js +2474 -0
  596. package/dist/devices/inovelli.js.map +1 -0
  597. package/dist/devices/insta.d.ts +3 -0
  598. package/dist/devices/insta.d.ts.map +1 -0
  599. package/dist/devices/insta.js +182 -0
  600. package/dist/devices/insta.js.map +1 -0
  601. package/dist/devices/intuis.d.ts +3 -0
  602. package/dist/devices/intuis.d.ts.map +1 -0
  603. package/dist/devices/intuis.js +95 -0
  604. package/dist/devices/intuis.js.map +1 -0
  605. package/dist/devices/iolloi.d.ts +3 -0
  606. package/dist/devices/iolloi.d.ts.map +1 -0
  607. package/dist/devices/iolloi.js +48 -0
  608. package/dist/devices/iolloi.js.map +1 -0
  609. package/dist/devices/iotperfect.d.ts +3 -0
  610. package/dist/devices/iotperfect.d.ts.map +1 -0
  611. package/dist/devices/iotperfect.js +60 -0
  612. package/dist/devices/iotperfect.js.map +1 -0
  613. package/dist/devices/iris.d.ts +3 -0
  614. package/dist/devices/iris.d.ts.map +1 -0
  615. package/dist/devices/iris.js +208 -0
  616. package/dist/devices/iris.js.map +1 -0
  617. package/dist/devices/istar.d.ts +3 -0
  618. package/dist/devices/istar.d.ts.map +1 -0
  619. package/dist/devices/istar.js +61 -0
  620. package/dist/devices/istar.js.map +1 -0
  621. package/dist/devices/jasco.d.ts +3 -0
  622. package/dist/devices/jasco.d.ts.map +1 -0
  623. package/dist/devices/jasco.js +63 -0
  624. package/dist/devices/jasco.js.map +1 -0
  625. package/dist/devices/javis.d.ts +3 -0
  626. package/dist/devices/javis.d.ts.map +1 -0
  627. package/dist/devices/javis.js +77 -0
  628. package/dist/devices/javis.js.map +1 -0
  629. package/dist/devices/jethome.d.ts +3 -0
  630. package/dist/devices/jethome.d.ts.map +1 -0
  631. package/dist/devices/jethome.js +120 -0
  632. package/dist/devices/jethome.js.map +1 -0
  633. package/dist/devices/jiawen.d.ts +3 -0
  634. package/dist/devices/jiawen.d.ts.map +1 -0
  635. package/dist/devices/jiawen.js +54 -0
  636. package/dist/devices/jiawen.js.map +1 -0
  637. package/dist/devices/jumitech.d.ts +3 -0
  638. package/dist/devices/jumitech.d.ts.map +1 -0
  639. package/dist/devices/jumitech.js +47 -0
  640. package/dist/devices/jumitech.js.map +1 -0
  641. package/dist/devices/jxuan.d.ts +3 -0
  642. package/dist/devices/jxuan.d.ts.map +1 -0
  643. package/dist/devices/jxuan.js +85 -0
  644. package/dist/devices/jxuan.js.map +1 -0
  645. package/dist/devices/kami.d.ts +3 -0
  646. package/dist/devices/kami.d.ts.map +1 -0
  647. package/dist/devices/kami.js +51 -0
  648. package/dist/devices/kami.js.map +1 -0
  649. package/dist/devices/keen_home.d.ts +3 -0
  650. package/dist/devices/keen_home.d.ts.map +1 -0
  651. package/dist/devices/keen_home.js +155 -0
  652. package/dist/devices/keen_home.js.map +1 -0
  653. package/dist/devices/klikaanklikuit.d.ts +3 -0
  654. package/dist/devices/klikaanklikuit.d.ts.map +1 -0
  655. package/dist/devices/klikaanklikuit.js +54 -0
  656. package/dist/devices/klikaanklikuit.js.map +1 -0
  657. package/dist/devices/kmpcil.d.ts +3 -0
  658. package/dist/devices/kmpcil.d.ts.map +1 -0
  659. package/dist/devices/kmpcil.js +212 -0
  660. package/dist/devices/kmpcil.js.map +1 -0
  661. package/dist/devices/konke.d.ts +3 -0
  662. package/dist/devices/konke.d.ts.map +1 -0
  663. package/dist/devices/konke.js +207 -0
  664. package/dist/devices/konke.js.map +1 -0
  665. package/dist/devices/ksentry.d.ts +3 -0
  666. package/dist/devices/ksentry.d.ts.map +1 -0
  667. package/dist/devices/ksentry.js +47 -0
  668. package/dist/devices/ksentry.js.map +1 -0
  669. package/dist/devices/kurvia.d.ts +3 -0
  670. package/dist/devices/kurvia.d.ts.map +1 -0
  671. package/dist/devices/kurvia.js +49 -0
  672. package/dist/devices/kurvia.js.map +1 -0
  673. package/dist/devices/kwikset.d.ts +3 -0
  674. package/dist/devices/kwikset.d.ts.map +1 -0
  675. package/dist/devices/kwikset.js +153 -0
  676. package/dist/devices/kwikset.js.map +1 -0
  677. package/dist/devices/lanesto.d.ts +3 -0
  678. package/dist/devices/lanesto.d.ts.map +1 -0
  679. package/dist/devices/lanesto.js +47 -0
  680. package/dist/devices/lanesto.js.map +1 -0
  681. package/dist/devices/lds.d.ts +3 -0
  682. package/dist/devices/lds.d.ts.map +1 -0
  683. package/dist/devices/lds.js +54 -0
  684. package/dist/devices/lds.js.map +1 -0
  685. package/dist/devices/led_trading.d.ts +3 -0
  686. package/dist/devices/led_trading.d.ts.map +1 -0
  687. package/dist/devices/led_trading.js +108 -0
  688. package/dist/devices/led_trading.js.map +1 -0
  689. package/dist/devices/ledvance.d.ts +3 -0
  690. package/dist/devices/ledvance.d.ts.map +1 -0
  691. package/dist/devices/ledvance.js +407 -0
  692. package/dist/devices/ledvance.js.map +1 -0
  693. package/dist/devices/leedarson.d.ts +3 -0
  694. package/dist/devices/leedarson.d.ts.map +1 -0
  695. package/dist/devices/leedarson.js +180 -0
  696. package/dist/devices/leedarson.js.map +1 -0
  697. package/dist/devices/legrand.d.ts +3 -0
  698. package/dist/devices/legrand.d.ts.map +1 -0
  699. package/dist/devices/legrand.js +809 -0
  700. package/dist/devices/legrand.js.map +1 -0
  701. package/dist/devices/lellki.d.ts +3 -0
  702. package/dist/devices/lellki.d.ts.map +1 -0
  703. package/dist/devices/lellki.js +162 -0
  704. package/dist/devices/lellki.js.map +1 -0
  705. package/dist/devices/letsled.d.ts +3 -0
  706. package/dist/devices/letsled.d.ts.map +1 -0
  707. package/dist/devices/letsled.js +47 -0
  708. package/dist/devices/letsled.js.map +1 -0
  709. package/dist/devices/letv.d.ts +3 -0
  710. package/dist/devices/letv.d.ts.map +1 -0
  711. package/dist/devices/letv.js +86 -0
  712. package/dist/devices/letv.js.map +1 -0
  713. package/dist/devices/leviton.d.ts +3 -0
  714. package/dist/devices/leviton.d.ts.map +1 -0
  715. package/dist/devices/leviton.js +160 -0
  716. package/dist/devices/leviton.js.map +1 -0
  717. package/dist/devices/lg.d.ts +3 -0
  718. package/dist/devices/lg.d.ts.map +1 -0
  719. package/dist/devices/lg.js +61 -0
  720. package/dist/devices/lg.js.map +1 -0
  721. package/dist/devices/lidl.d.ts +3 -0
  722. package/dist/devices/lidl.d.ts.map +1 -0
  723. package/dist/devices/lidl.js +669 -0
  724. package/dist/devices/lidl.js.map +1 -0
  725. package/dist/devices/lifecontrol.d.ts +3 -0
  726. package/dist/devices/lifecontrol.d.ts.map +1 -0
  727. package/dist/devices/lifecontrol.js +141 -0
  728. package/dist/devices/lifecontrol.js.map +1 -0
  729. package/dist/devices/lightsolutions.d.ts +3 -0
  730. package/dist/devices/lightsolutions.d.ts.map +1 -0
  731. package/dist/devices/lightsolutions.js +90 -0
  732. package/dist/devices/lightsolutions.js.map +1 -0
  733. package/dist/devices/lincukoo.d.ts +3 -0
  734. package/dist/devices/lincukoo.d.ts.map +1 -0
  735. package/dist/devices/lincukoo.js +788 -0
  736. package/dist/devices/lincukoo.js.map +1 -0
  737. package/dist/devices/linkind.d.ts +3 -0
  738. package/dist/devices/linkind.d.ts.map +1 -0
  739. package/dist/devices/linkind.js +251 -0
  740. package/dist/devices/linkind.js.map +1 -0
  741. package/dist/devices/linptech.d.ts +3 -0
  742. package/dist/devices/linptech.d.ts.map +1 -0
  743. package/dist/devices/linptech.js +157 -0
  744. package/dist/devices/linptech.js.map +1 -0
  745. package/dist/devices/livingwise.d.ts +3 -0
  746. package/dist/devices/livingwise.d.ts.map +1 -0
  747. package/dist/devices/livingwise.js +115 -0
  748. package/dist/devices/livingwise.js.map +1 -0
  749. package/dist/devices/livolo.d.ts +3 -0
  750. package/dist/devices/livolo.d.ts.map +1 -0
  751. package/dist/devices/livolo.js +263 -0
  752. package/dist/devices/livolo.js.map +1 -0
  753. package/dist/devices/lixee.d.ts +3 -0
  754. package/dist/devices/lixee.d.ts.map +1 -0
  755. package/dist/devices/lixee.js +2038 -0
  756. package/dist/devices/lixee.js.map +1 -0
  757. package/dist/devices/lonsonho.d.ts +3 -0
  758. package/dist/devices/lonsonho.d.ts.map +1 -0
  759. package/dist/devices/lonsonho.js +310 -0
  760. package/dist/devices/lonsonho.js.map +1 -0
  761. package/dist/devices/ls.d.ts +3 -0
  762. package/dist/devices/ls.d.ts.map +1 -0
  763. package/dist/devices/ls.js +152 -0
  764. package/dist/devices/ls.js.map +1 -0
  765. package/dist/devices/lubeez.d.ts +3 -0
  766. package/dist/devices/lubeez.d.ts.map +1 -0
  767. package/dist/devices/lubeez.js +47 -0
  768. package/dist/devices/lubeez.js.map +1 -0
  769. package/dist/devices/lumi.d.ts +3 -0
  770. package/dist/devices/lumi.d.ts.map +1 -0
  771. package/dist/devices/lumi.js +5345 -0
  772. package/dist/devices/lumi.js.map +1 -0
  773. package/dist/devices/lupus.d.ts +3 -0
  774. package/dist/devices/lupus.d.ts.map +1 -0
  775. package/dist/devices/lupus.js +94 -0
  776. package/dist/devices/lupus.js.map +1 -0
  777. package/dist/devices/lutron.d.ts +3 -0
  778. package/dist/devices/lutron.d.ts.map +1 -0
  779. package/dist/devices/lutron.js +81 -0
  780. package/dist/devices/lutron.js.map +1 -0
  781. package/dist/devices/lux.d.ts +3 -0
  782. package/dist/devices/lux.d.ts.map +1 -0
  783. package/dist/devices/lux.js +87 -0
  784. package/dist/devices/lux.js.map +1 -0
  785. package/dist/devices/lytko.d.ts +3 -0
  786. package/dist/devices/lytko.d.ts.map +1 -0
  787. package/dist/devices/lytko.js +1809 -0
  788. package/dist/devices/lytko.js.map +1 -0
  789. package/dist/devices/m_elec.d.ts +3 -0
  790. package/dist/devices/m_elec.d.ts.map +1 -0
  791. package/dist/devices/m_elec.js +68 -0
  792. package/dist/devices/m_elec.js.map +1 -0
  793. package/dist/devices/makegood.d.ts +3 -0
  794. package/dist/devices/makegood.d.ts.map +1 -0
  795. package/dist/devices/makegood.js +117 -0
  796. package/dist/devices/makegood.js.map +1 -0
  797. package/dist/devices/matcall_bv.d.ts +3 -0
  798. package/dist/devices/matcall_bv.d.ts.map +1 -0
  799. package/dist/devices/matcall_bv.js +54 -0
  800. package/dist/devices/matcall_bv.js.map +1 -0
  801. package/dist/devices/mazda.d.ts +3 -0
  802. package/dist/devices/mazda.d.ts.map +1 -0
  803. package/dist/devices/mazda.js +146 -0
  804. package/dist/devices/mazda.js.map +1 -0
  805. package/dist/devices/meazon.d.ts +3 -0
  806. package/dist/devices/meazon.d.ts.map +1 -0
  807. package/dist/devices/meazon.js +95 -0
  808. package/dist/devices/meazon.js.map +1 -0
  809. package/dist/devices/mercator.d.ts +3 -0
  810. package/dist/devices/mercator.d.ts.map +1 -0
  811. package/dist/devices/mercator.js +242 -0
  812. package/dist/devices/mercator.js.map +1 -0
  813. package/dist/devices/miboxer.d.ts +3 -0
  814. package/dist/devices/miboxer.d.ts.map +1 -0
  815. package/dist/devices/miboxer.js +304 -0
  816. package/dist/devices/miboxer.js.map +1 -0
  817. package/dist/devices/micromatic.d.ts +3 -0
  818. package/dist/devices/micromatic.d.ts.map +1 -0
  819. package/dist/devices/micromatic.js +47 -0
  820. package/dist/devices/micromatic.js.map +1 -0
  821. package/dist/devices/mill.d.ts +3 -0
  822. package/dist/devices/mill.d.ts.map +1 -0
  823. package/dist/devices/mill.js +52 -0
  824. package/dist/devices/mill.js.map +1 -0
  825. package/dist/devices/mindy.d.ts +3 -0
  826. package/dist/devices/mindy.d.ts.map +1 -0
  827. package/dist/devices/mindy.js +379 -0
  828. package/dist/devices/mindy.js.map +1 -0
  829. package/dist/devices/modular.d.ts +3 -0
  830. package/dist/devices/modular.d.ts.map +1 -0
  831. package/dist/devices/modular.js +47 -0
  832. package/dist/devices/modular.js.map +1 -0
  833. package/dist/devices/moes.d.ts +3 -0
  834. package/dist/devices/moes.d.ts.map +1 -0
  835. package/dist/devices/moes.js +2368 -0
  836. package/dist/devices/moes.js.map +1 -0
  837. package/dist/devices/muller_licht.d.ts +3 -0
  838. package/dist/devices/muller_licht.d.ts.map +1 -0
  839. package/dist/devices/muller_licht.js +366 -0
  840. package/dist/devices/muller_licht.js.map +1 -0
  841. package/dist/devices/multir.d.ts +3 -0
  842. package/dist/devices/multir.d.ts.map +1 -0
  843. package/dist/devices/multir.js +152 -0
  844. package/dist/devices/multir.js.map +1 -0
  845. package/dist/devices/multiterm.d.ts +3 -0
  846. package/dist/devices/multiterm.d.ts.map +1 -0
  847. package/dist/devices/multiterm.js +119 -0
  848. package/dist/devices/multiterm.js.map +1 -0
  849. package/dist/devices/namron.d.ts +3 -0
  850. package/dist/devices/namron.d.ts.map +1 -0
  851. package/dist/devices/namron.js +2004 -0
  852. package/dist/devices/namron.js.map +1 -0
  853. package/dist/devices/nanoleaf.d.ts +3 -0
  854. package/dist/devices/nanoleaf.d.ts.map +1 -0
  855. package/dist/devices/nanoleaf.js +47 -0
  856. package/dist/devices/nanoleaf.js.map +1 -0
  857. package/dist/devices/nedis.d.ts +3 -0
  858. package/dist/devices/nedis.d.ts.map +1 -0
  859. package/dist/devices/nedis.js +87 -0
  860. package/dist/devices/nedis.js.map +1 -0
  861. package/dist/devices/neo.d.ts +3 -0
  862. package/dist/devices/neo.d.ts.map +1 -0
  863. package/dist/devices/neo.js +526 -0
  864. package/dist/devices/neo.js.map +1 -0
  865. package/dist/devices/net2grid.d.ts +3 -0
  866. package/dist/devices/net2grid.d.ts.map +1 -0
  867. package/dist/devices/net2grid.js +64 -0
  868. package/dist/devices/net2grid.js.map +1 -0
  869. package/dist/devices/netvox.d.ts +3 -0
  870. package/dist/devices/netvox.d.ts.map +1 -0
  871. package/dist/devices/netvox.js +71 -0
  872. package/dist/devices/netvox.js.map +1 -0
  873. package/dist/devices/nexelec.d.ts +3 -0
  874. package/dist/devices/nexelec.d.ts.map +1 -0
  875. package/dist/devices/nexelec.js +47 -0
  876. package/dist/devices/nexelec.js.map +1 -0
  877. package/dist/devices/niko.d.ts +3 -0
  878. package/dist/devices/niko.d.ts.map +1 -0
  879. package/dist/devices/niko.js +769 -0
  880. package/dist/devices/niko.js.map +1 -0
  881. package/dist/devices/ninja_blocks.d.ts +3 -0
  882. package/dist/devices/ninja_blocks.d.ts.map +1 -0
  883. package/dist/devices/ninja_blocks.js +60 -0
  884. package/dist/devices/ninja_blocks.js.map +1 -0
  885. package/dist/devices/niviss.d.ts +3 -0
  886. package/dist/devices/niviss.d.ts.map +1 -0
  887. package/dist/devices/niviss.js +47 -0
  888. package/dist/devices/niviss.js.map +1 -0
  889. package/dist/devices/nobo.d.ts +3 -0
  890. package/dist/devices/nobo.d.ts.map +1 -0
  891. package/dist/devices/nobo.js +88 -0
  892. package/dist/devices/nobo.js.map +1 -0
  893. package/dist/devices/nodon.d.ts +3 -0
  894. package/dist/devices/nodon.d.ts.map +1 -0
  895. package/dist/devices/nodon.js +483 -0
  896. package/dist/devices/nodon.js.map +1 -0
  897. package/dist/devices/nordtronic.d.ts +3 -0
  898. package/dist/devices/nordtronic.d.ts.map +1 -0
  899. package/dist/devices/nordtronic.js +95 -0
  900. package/dist/devices/nordtronic.js.map +1 -0
  901. package/dist/devices/nous.d.ts +3 -0
  902. package/dist/devices/nous.d.ts.map +1 -0
  903. package/dist/devices/nous.js +367 -0
  904. package/dist/devices/nous.js.map +1 -0
  905. package/dist/devices/novo.d.ts +3 -0
  906. package/dist/devices/novo.d.ts.map +1 -0
  907. package/dist/devices/novo.js +53 -0
  908. package/dist/devices/novo.js.map +1 -0
  909. package/dist/devices/nue_3a.d.ts +3 -0
  910. package/dist/devices/nue_3a.d.ts.map +1 -0
  911. package/dist/devices/nue_3a.js +359 -0
  912. package/dist/devices/nue_3a.js.map +1 -0
  913. package/dist/devices/nyce.d.ts +3 -0
  914. package/dist/devices/nyce.d.ts.map +1 -0
  915. package/dist/devices/nyce.js +124 -0
  916. package/dist/devices/nyce.js.map +1 -0
  917. package/dist/devices/onenuo.d.ts +3 -0
  918. package/dist/devices/onenuo.d.ts.map +1 -0
  919. package/dist/devices/onenuo.js +83 -0
  920. package/dist/devices/onenuo.js.map +1 -0
  921. package/dist/devices/onesti.d.ts +3 -0
  922. package/dist/devices/onesti.d.ts.map +1 -0
  923. package/dist/devices/onesti.js +265 -0
  924. package/dist/devices/onesti.js.map +1 -0
  925. package/dist/devices/onokom.d.ts +3 -0
  926. package/dist/devices/onokom.d.ts.map +1 -0
  927. package/dist/devices/onokom.js +2715 -0
  928. package/dist/devices/onokom.js.map +1 -0
  929. package/dist/devices/openlumi.d.ts +3 -0
  930. package/dist/devices/openlumi.d.ts.map +1 -0
  931. package/dist/devices/openlumi.js +47 -0
  932. package/dist/devices/openlumi.js.map +1 -0
  933. package/dist/devices/orvibo.d.ts +12 -0
  934. package/dist/devices/orvibo.d.ts.map +1 -0
  935. package/dist/devices/orvibo.js +715 -0
  936. package/dist/devices/orvibo.js.map +1 -0
  937. package/dist/devices/orztech.d.ts +3 -0
  938. package/dist/devices/orztech.d.ts.map +1 -0
  939. package/dist/devices/orztech.js +195 -0
  940. package/dist/devices/orztech.js.map +1 -0
  941. package/dist/devices/osram.d.ts +3 -0
  942. package/dist/devices/osram.d.ts.map +1 -0
  943. package/dist/devices/osram.js +513 -0
  944. package/dist/devices/osram.js.map +1 -0
  945. package/dist/devices/oujiabao.d.ts +3 -0
  946. package/dist/devices/oujiabao.d.ts.map +1 -0
  947. package/dist/devices/oujiabao.js +51 -0
  948. package/dist/devices/oujiabao.js.map +1 -0
  949. package/dist/devices/owon.d.ts +3 -0
  950. package/dist/devices/owon.d.ts.map +1 -0
  951. package/dist/devices/owon.js +888 -0
  952. package/dist/devices/owon.js.map +1 -0
  953. package/dist/devices/ozsmartthings.d.ts +3 -0
  954. package/dist/devices/ozsmartthings.d.ts.map +1 -0
  955. package/dist/devices/ozsmartthings.js +47 -0
  956. package/dist/devices/ozsmartthings.js.map +1 -0
  957. package/dist/devices/paul_neuhaus.d.ts +3 -0
  958. package/dist/devices/paul_neuhaus.d.ts.map +1 -0
  959. package/dist/devices/paul_neuhaus.js +190 -0
  960. package/dist/devices/paul_neuhaus.js.map +1 -0
  961. package/dist/devices/paulmann.d.ts +3 -0
  962. package/dist/devices/paulmann.d.ts.map +1 -0
  963. package/dist/devices/paulmann.js +426 -0
  964. package/dist/devices/paulmann.js.map +1 -0
  965. package/dist/devices/peq.d.ts +3 -0
  966. package/dist/devices/peq.d.ts.map +1 -0
  967. package/dist/devices/peq.js +60 -0
  968. package/dist/devices/peq.js.map +1 -0
  969. package/dist/devices/perenio.d.ts +3 -0
  970. package/dist/devices/perenio.d.ts.map +1 -0
  971. package/dist/devices/perenio.js +461 -0
  972. package/dist/devices/perenio.js.map +1 -0
  973. package/dist/devices/philio.d.ts +3 -0
  974. package/dist/devices/philio.d.ts.map +1 -0
  975. package/dist/devices/philio.js +48 -0
  976. package/dist/devices/philio.js.map +1 -0
  977. package/dist/devices/philips.d.ts +3 -0
  978. package/dist/devices/philips.d.ts.map +1 -0
  979. package/dist/devices/philips.js +4948 -0
  980. package/dist/devices/philips.js.map +1 -0
  981. package/dist/devices/plaid.d.ts +3 -0
  982. package/dist/devices/plaid.d.ts.map +1 -0
  983. package/dist/devices/plaid.js +61 -0
  984. package/dist/devices/plaid.js.map +1 -0
  985. package/dist/devices/plugwise.d.ts +3 -0
  986. package/dist/devices/plugwise.d.ts.map +1 -0
  987. package/dist/devices/plugwise.js +217 -0
  988. package/dist/devices/plugwise.js.map +1 -0
  989. package/dist/devices/profalux.d.ts +3 -0
  990. package/dist/devices/profalux.d.ts.map +1 -0
  991. package/dist/devices/profalux.js +215 -0
  992. package/dist/devices/profalux.js.map +1 -0
  993. package/dist/devices/prolight.d.ts +3 -0
  994. package/dist/devices/prolight.d.ts.map +1 -0
  995. package/dist/devices/prolight.js +111 -0
  996. package/dist/devices/prolight.js.map +1 -0
  997. package/dist/devices/purmo.d.ts +3 -0
  998. package/dist/devices/purmo.d.ts.map +1 -0
  999. package/dist/devices/purmo.js +91 -0
  1000. package/dist/devices/purmo.js.map +1 -0
  1001. package/dist/devices/pushok.d.ts +3 -0
  1002. package/dist/devices/pushok.d.ts.map +1 -0
  1003. package/dist/devices/pushok.js +736 -0
  1004. package/dist/devices/pushok.js.map +1 -0
  1005. package/dist/devices/qa.d.ts +3 -0
  1006. package/dist/devices/qa.d.ts.map +1 -0
  1007. package/dist/devices/qa.js +445 -0
  1008. package/dist/devices/qa.js.map +1 -0
  1009. package/dist/devices/qmotion.d.ts +3 -0
  1010. package/dist/devices/qmotion.d.ts.map +1 -0
  1011. package/dist/devices/qmotion.js +69 -0
  1012. package/dist/devices/qmotion.js.map +1 -0
  1013. package/dist/devices/qoto.d.ts +3 -0
  1014. package/dist/devices/qoto.d.ts.map +1 -0
  1015. package/dist/devices/qoto.js +83 -0
  1016. package/dist/devices/qoto.js.map +1 -0
  1017. package/dist/devices/quirky.d.ts +8 -0
  1018. package/dist/devices/quirky.d.ts.map +1 -0
  1019. package/dist/devices/quirky.js +47 -0
  1020. package/dist/devices/quirky.js.map +1 -0
  1021. package/dist/devices/quotra.d.ts +3 -0
  1022. package/dist/devices/quotra.d.ts.map +1 -0
  1023. package/dist/devices/quotra.js +54 -0
  1024. package/dist/devices/quotra.js.map +1 -0
  1025. package/dist/devices/rademacher.d.ts +3 -0
  1026. package/dist/devices/rademacher.d.ts.map +1 -0
  1027. package/dist/devices/rademacher.js +61 -0
  1028. package/dist/devices/rademacher.js.map +1 -0
  1029. package/dist/devices/radium.d.ts +3 -0
  1030. package/dist/devices/radium.d.ts.map +1 -0
  1031. package/dist/devices/radium.js +47 -0
  1032. package/dist/devices/radium.js.map +1 -0
  1033. package/dist/devices/raex.d.ts +3 -0
  1034. package/dist/devices/raex.d.ts.map +1 -0
  1035. package/dist/devices/raex.js +47 -0
  1036. package/dist/devices/raex.js.map +1 -0
  1037. package/dist/devices/rgb_genie.d.ts +3 -0
  1038. package/dist/devices/rgb_genie.d.ts.map +1 -0
  1039. package/dist/devices/rgb_genie.js +277 -0
  1040. package/dist/devices/rgb_genie.js.map +1 -0
  1041. package/dist/devices/robb.d.ts +3 -0
  1042. package/dist/devices/robb.d.ts.map +1 -0
  1043. package/dist/devices/robb.js +492 -0
  1044. package/dist/devices/robb.js.map +1 -0
  1045. package/dist/devices/roome.d.ts +3 -0
  1046. package/dist/devices/roome.d.ts.map +1 -0
  1047. package/dist/devices/roome.js +51 -0
  1048. package/dist/devices/roome.js.map +1 -0
  1049. package/dist/devices/rtx.d.ts +3 -0
  1050. package/dist/devices/rtx.d.ts.map +1 -0
  1051. package/dist/devices/rtx.js +143 -0
  1052. package/dist/devices/rtx.js.map +1 -0
  1053. package/dist/devices/salus_controls.d.ts +3 -0
  1054. package/dist/devices/salus_controls.d.ts.map +1 -0
  1055. package/dist/devices/salus_controls.js +222 -0
  1056. package/dist/devices/salus_controls.js.map +1 -0
  1057. package/dist/devices/samotech.d.ts +3 -0
  1058. package/dist/devices/samotech.d.ts.map +1 -0
  1059. package/dist/devices/samotech.js +123 -0
  1060. package/dist/devices/samotech.js.map +1 -0
  1061. package/dist/devices/saswell.d.ts +3 -0
  1062. package/dist/devices/saswell.d.ts.map +1 -0
  1063. package/dist/devices/saswell.js +120 -0
  1064. package/dist/devices/saswell.js.map +1 -0
  1065. package/dist/devices/sber.d.ts +3 -0
  1066. package/dist/devices/sber.d.ts.map +1 -0
  1067. package/dist/devices/sber.js +1921 -0
  1068. package/dist/devices/sber.js.map +1 -0
  1069. package/dist/devices/scanproducts.d.ts +3 -0
  1070. package/dist/devices/scanproducts.d.ts.map +1 -0
  1071. package/dist/devices/scanproducts.js +54 -0
  1072. package/dist/devices/scanproducts.js.map +1 -0
  1073. package/dist/devices/schlage.d.ts +3 -0
  1074. package/dist/devices/schlage.d.ts.map +1 -0
  1075. package/dist/devices/schlage.js +60 -0
  1076. package/dist/devices/schlage.js.map +1 -0
  1077. package/dist/devices/schneider_electric.d.ts +10 -0
  1078. package/dist/devices/schneider_electric.d.ts.map +1 -0
  1079. package/dist/devices/schneider_electric.js +2801 -0
  1080. package/dist/devices/schneider_electric.js.map +1 -0
  1081. package/dist/devices/schwaiger.d.ts +3 -0
  1082. package/dist/devices/schwaiger.d.ts.map +1 -0
  1083. package/dist/devices/schwaiger.js +105 -0
  1084. package/dist/devices/schwaiger.js.map +1 -0
  1085. package/dist/devices/seastar_intelligence.d.ts +3 -0
  1086. package/dist/devices/seastar_intelligence.d.ts.map +1 -0
  1087. package/dist/devices/seastar_intelligence.js +52 -0
  1088. package/dist/devices/seastar_intelligence.js.map +1 -0
  1089. package/dist/devices/securifi.d.ts +3 -0
  1090. package/dist/devices/securifi.d.ts.map +1 -0
  1091. package/dist/devices/securifi.js +79 -0
  1092. package/dist/devices/securifi.js.map +1 -0
  1093. package/dist/devices/sengled.d.ts +6 -0
  1094. package/dist/devices/sengled.d.ts.map +1 -0
  1095. package/dist/devices/sengled.js +395 -0
  1096. package/dist/devices/sengled.js.map +1 -0
  1097. package/dist/devices/senoro.d.ts +3 -0
  1098. package/dist/devices/senoro.d.ts.map +1 -0
  1099. package/dist/devices/senoro.js +64 -0
  1100. package/dist/devices/senoro.js.map +1 -0
  1101. package/dist/devices/sercomm.d.ts +3 -0
  1102. package/dist/devices/sercomm.d.ts.map +1 -0
  1103. package/dist/devices/sercomm.js +193 -0
  1104. package/dist/devices/sercomm.js.map +1 -0
  1105. package/dist/devices/shade_control.d.ts +3 -0
  1106. package/dist/devices/shade_control.d.ts.map +1 -0
  1107. package/dist/devices/shade_control.js +61 -0
  1108. package/dist/devices/shade_control.js.map +1 -0
  1109. package/dist/devices/shelly.d.ts +3 -0
  1110. package/dist/devices/shelly.d.ts.map +1 -0
  1111. package/dist/devices/shelly.js +1304 -0
  1112. package/dist/devices/shelly.js.map +1 -0
  1113. package/dist/devices/shenzhen_homa.d.ts +3 -0
  1114. package/dist/devices/shenzhen_homa.d.ts.map +1 -0
  1115. package/dist/devices/shenzhen_homa.js +143 -0
  1116. package/dist/devices/shenzhen_homa.js.map +1 -0
  1117. package/dist/devices/shinasystem.d.ts +3 -0
  1118. package/dist/devices/shinasystem.d.ts.map +1 -0
  1119. package/dist/devices/shinasystem.js +1322 -0
  1120. package/dist/devices/shinasystem.js.map +1 -0
  1121. package/dist/devices/shyugj.d.ts +3 -0
  1122. package/dist/devices/shyugj.d.ts.map +1 -0
  1123. package/dist/devices/shyugj.js +53 -0
  1124. package/dist/devices/shyugj.js.map +1 -0
  1125. package/dist/devices/siglis.d.ts +3 -0
  1126. package/dist/devices/siglis.d.ts.map +1 -0
  1127. package/dist/devices/siglis.js +440 -0
  1128. package/dist/devices/siglis.js.map +1 -0
  1129. package/dist/devices/sikom.d.ts +3 -0
  1130. package/dist/devices/sikom.d.ts.map +1 -0
  1131. package/dist/devices/sikom.js +64 -0
  1132. package/dist/devices/sikom.js.map +1 -0
  1133. package/dist/devices/silicon_labs.d.ts +3 -0
  1134. package/dist/devices/silicon_labs.d.ts.map +1 -0
  1135. package/dist/devices/silicon_labs.js +47 -0
  1136. package/dist/devices/silicon_labs.js.map +1 -0
  1137. package/dist/devices/simon.d.ts +3 -0
  1138. package/dist/devices/simon.d.ts.map +1 -0
  1139. package/dist/devices/simon.js +54 -0
  1140. package/dist/devices/simon.js.map +1 -0
  1141. package/dist/devices/simpla_home.d.ts +3 -0
  1142. package/dist/devices/simpla_home.d.ts.map +1 -0
  1143. package/dist/devices/simpla_home.js +97 -0
  1144. package/dist/devices/simpla_home.js.map +1 -0
  1145. package/dist/devices/sinope.d.ts +3 -0
  1146. package/dist/devices/sinope.d.ts.map +1 -0
  1147. package/dist/devices/sinope.js +2015 -0
  1148. package/dist/devices/sinope.js.map +1 -0
  1149. package/dist/devices/siterwell.d.ts +3 -0
  1150. package/dist/devices/siterwell.d.ts.map +1 -0
  1151. package/dist/devices/siterwell.js +107 -0
  1152. package/dist/devices/siterwell.js.map +1 -0
  1153. package/dist/devices/skydance.d.ts +3 -0
  1154. package/dist/devices/skydance.d.ts.map +1 -0
  1155. package/dist/devices/skydance.js +138 -0
  1156. package/dist/devices/skydance.js.map +1 -0
  1157. package/dist/devices/slacky_diy.d.ts +3 -0
  1158. package/dist/devices/slacky_diy.d.ts.map +1 -0
  1159. package/dist/devices/slacky_diy.js +3694 -0
  1160. package/dist/devices/slacky_diy.js.map +1 -0
  1161. package/dist/devices/slv.d.ts +3 -0
  1162. package/dist/devices/slv.d.ts.map +1 -0
  1163. package/dist/devices/slv.js +77 -0
  1164. package/dist/devices/slv.js.map +1 -0
  1165. package/dist/devices/smarli.d.ts +3 -0
  1166. package/dist/devices/smarli.d.ts.map +1 -0
  1167. package/dist/devices/smarli.js +99 -0
  1168. package/dist/devices/smarli.js.map +1 -0
  1169. package/dist/devices/smart9.d.ts +3 -0
  1170. package/dist/devices/smart9.d.ts.map +1 -0
  1171. package/dist/devices/smart9.js +58 -0
  1172. package/dist/devices/smart9.js.map +1 -0
  1173. package/dist/devices/smart_home_pty.d.ts +3 -0
  1174. package/dist/devices/smart_home_pty.d.ts.map +1 -0
  1175. package/dist/devices/smart_home_pty.js +54 -0
  1176. package/dist/devices/smart_home_pty.js.map +1 -0
  1177. package/dist/devices/smartenit.d.ts +3 -0
  1178. package/dist/devices/smartenit.d.ts.map +1 -0
  1179. package/dist/devices/smartenit.js +77 -0
  1180. package/dist/devices/smartenit.js.map +1 -0
  1181. package/dist/devices/smartthings.d.ts +26 -0
  1182. package/dist/devices/smartthings.d.ts.map +1 -0
  1183. package/dist/devices/smartthings.js +571 -0
  1184. package/dist/devices/smartthings.js.map +1 -0
  1185. package/dist/devices/smartwings.d.ts +3 -0
  1186. package/dist/devices/smartwings.d.ts.map +1 -0
  1187. package/dist/devices/smartwings.js +60 -0
  1188. package/dist/devices/smartwings.js.map +1 -0
  1189. package/dist/devices/smlight.d.ts +3 -0
  1190. package/dist/devices/smlight.d.ts.map +1 -0
  1191. package/dist/devices/smlight.js +73 -0
  1192. package/dist/devices/smlight.js.map +1 -0
  1193. package/dist/devices/soanalarm.d.ts +3 -0
  1194. package/dist/devices/soanalarm.d.ts.map +1 -0
  1195. package/dist/devices/soanalarm.js +58 -0
  1196. package/dist/devices/soanalarm.js.map +1 -0
  1197. package/dist/devices/sohan_electric.d.ts +3 -0
  1198. package/dist/devices/sohan_electric.d.ts.map +1 -0
  1199. package/dist/devices/sohan_electric.js +49 -0
  1200. package/dist/devices/sohan_electric.js.map +1 -0
  1201. package/dist/devices/solaredge.d.ts +3 -0
  1202. package/dist/devices/solaredge.d.ts.map +1 -0
  1203. package/dist/devices/solaredge.js +47 -0
  1204. package/dist/devices/solaredge.js.map +1 -0
  1205. package/dist/devices/soma.d.ts +3 -0
  1206. package/dist/devices/soma.d.ts.map +1 -0
  1207. package/dist/devices/soma.js +47 -0
  1208. package/dist/devices/soma.js.map +1 -0
  1209. package/dist/devices/somfy.d.ts +3 -0
  1210. package/dist/devices/somfy.d.ts.map +1 -0
  1211. package/dist/devices/somfy.js +173 -0
  1212. package/dist/devices/somfy.js.map +1 -0
  1213. package/dist/devices/somgoms.d.ts +3 -0
  1214. package/dist/devices/somgoms.d.ts.map +1 -0
  1215. package/dist/devices/somgoms.js +80 -0
  1216. package/dist/devices/somgoms.js.map +1 -0
  1217. package/dist/devices/sonoff.d.ts +42 -0
  1218. package/dist/devices/sonoff.d.ts.map +1 -0
  1219. package/dist/devices/sonoff.js +4921 -0
  1220. package/dist/devices/sonoff.js.map +1 -0
  1221. package/dist/devices/sowilo.d.ts +3 -0
  1222. package/dist/devices/sowilo.d.ts.map +1 -0
  1223. package/dist/devices/sowilo.js +47 -0
  1224. package/dist/devices/sowilo.js.map +1 -0
  1225. package/dist/devices/spacetronik.d.ts +3 -0
  1226. package/dist/devices/spacetronik.d.ts.map +1 -0
  1227. package/dist/devices/spacetronik.js +53 -0
  1228. package/dist/devices/spacetronik.js.map +1 -0
  1229. package/dist/devices/spotmau.d.ts +3 -0
  1230. package/dist/devices/spotmau.d.ts.map +1 -0
  1231. package/dist/devices/spotmau.js +74 -0
  1232. package/dist/devices/spotmau.js.map +1 -0
  1233. package/dist/devices/sprut.d.ts +3 -0
  1234. package/dist/devices/sprut.d.ts.map +1 -0
  1235. package/dist/devices/sprut.js +328 -0
  1236. package/dist/devices/sprut.js.map +1 -0
  1237. package/dist/devices/stello.d.ts +3 -0
  1238. package/dist/devices/stello.d.ts.map +1 -0
  1239. package/dist/devices/stello.js +142 -0
  1240. package/dist/devices/stello.js.map +1 -0
  1241. package/dist/devices/stelpro.d.ts +3 -0
  1242. package/dist/devices/stelpro.d.ts.map +1 -0
  1243. package/dist/devices/stelpro.js +376 -0
  1244. package/dist/devices/stelpro.js.map +1 -0
  1245. package/dist/devices/sunricher.d.ts +30 -0
  1246. package/dist/devices/sunricher.d.ts.map +1 -0
  1247. package/dist/devices/sunricher.js +2337 -0
  1248. package/dist/devices/sunricher.js.map +1 -0
  1249. package/dist/devices/superled.d.ts +3 -0
  1250. package/dist/devices/superled.d.ts.map +1 -0
  1251. package/dist/devices/superled.js +47 -0
  1252. package/dist/devices/superled.js.map +1 -0
  1253. package/dist/devices/swann.d.ts +3 -0
  1254. package/dist/devices/swann.d.ts.map +1 -0
  1255. package/dist/devices/swann.js +69 -0
  1256. package/dist/devices/swann.js.map +1 -0
  1257. package/dist/devices/sylvania.d.ts +3 -0
  1258. package/dist/devices/sylvania.d.ts.map +1 -0
  1259. package/dist/devices/sylvania.js +223 -0
  1260. package/dist/devices/sylvania.js.map +1 -0
  1261. package/dist/devices/tapestry.d.ts +3 -0
  1262. package/dist/devices/tapestry.d.ts.map +1 -0
  1263. package/dist/devices/tapestry.js +52 -0
  1264. package/dist/devices/tapestry.js.map +1 -0
  1265. package/dist/devices/task_lighting.d.ts +3 -0
  1266. package/dist/devices/task_lighting.d.ts.map +1 -0
  1267. package/dist/devices/task_lighting.js +47 -0
  1268. package/dist/devices/task_lighting.js.map +1 -0
  1269. package/dist/devices/tci.d.ts +3 -0
  1270. package/dist/devices/tci.d.ts.map +1 -0
  1271. package/dist/devices/tci.js +68 -0
  1272. package/dist/devices/tci.js.map +1 -0
  1273. package/dist/devices/tcl.d.ts +3 -0
  1274. package/dist/devices/tcl.d.ts.map +1 -0
  1275. package/dist/devices/tcl.js +47 -0
  1276. package/dist/devices/tcl.js.map +1 -0
  1277. package/dist/devices/tech.d.ts +3 -0
  1278. package/dist/devices/tech.d.ts.map +1 -0
  1279. package/dist/devices/tech.js +213 -0
  1280. package/dist/devices/tech.js.map +1 -0
  1281. package/dist/devices/technicolor.d.ts +3 -0
  1282. package/dist/devices/technicolor.d.ts.map +1 -0
  1283. package/dist/devices/technicolor.js +85 -0
  1284. package/dist/devices/technicolor.js.map +1 -0
  1285. package/dist/devices/terncy.d.ts +3 -0
  1286. package/dist/devices/terncy.d.ts.map +1 -0
  1287. package/dist/devices/terncy.js +192 -0
  1288. package/dist/devices/terncy.js.map +1 -0
  1289. package/dist/devices/the_light_group.d.ts +3 -0
  1290. package/dist/devices/the_light_group.d.ts.map +1 -0
  1291. package/dist/devices/the_light_group.js +145 -0
  1292. package/dist/devices/the_light_group.js.map +1 -0
  1293. package/dist/devices/third_reality.d.ts +3 -0
  1294. package/dist/devices/third_reality.d.ts.map +1 -0
  1295. package/dist/devices/third_reality.js +1067 -0
  1296. package/dist/devices/third_reality.js.map +1 -0
  1297. package/dist/devices/tis_control.d.ts +3 -0
  1298. package/dist/devices/tis_control.d.ts.map +1 -0
  1299. package/dist/devices/tis_control.js +47 -0
  1300. package/dist/devices/tis_control.js.map +1 -0
  1301. package/dist/devices/titan_products.d.ts +3 -0
  1302. package/dist/devices/titan_products.d.ts.map +1 -0
  1303. package/dist/devices/titan_products.js +58 -0
  1304. package/dist/devices/titan_products.js.map +1 -0
  1305. package/dist/devices/tlwglobal.d.ts +3 -0
  1306. package/dist/devices/tlwglobal.d.ts.map +1 -0
  1307. package/dist/devices/tlwglobal.js +64 -0
  1308. package/dist/devices/tlwglobal.js.map +1 -0
  1309. package/dist/devices/tnce.d.ts +3 -0
  1310. package/dist/devices/tnce.d.ts.map +1 -0
  1311. package/dist/devices/tnce.js +54 -0
  1312. package/dist/devices/tnce.js.map +1 -0
  1313. package/dist/devices/tplink.d.ts +3 -0
  1314. package/dist/devices/tplink.d.ts.map +1 -0
  1315. package/dist/devices/tplink.js +77 -0
  1316. package/dist/devices/tplink.js.map +1 -0
  1317. package/dist/devices/trust.d.ts +3 -0
  1318. package/dist/devices/trust.d.ts.map +1 -0
  1319. package/dist/devices/trust.js +180 -0
  1320. package/dist/devices/trust.js.map +1 -0
  1321. package/dist/devices/tubeszb.d.ts +3 -0
  1322. package/dist/devices/tubeszb.d.ts.map +1 -0
  1323. package/dist/devices/tubeszb.js +56 -0
  1324. package/dist/devices/tubeszb.js.map +1 -0
  1325. package/dist/devices/tuya.d.ts +3 -0
  1326. package/dist/devices/tuya.d.ts.map +1 -0
  1327. package/dist/devices/tuya.js +24771 -0
  1328. package/dist/devices/tuya.js.map +1 -0
  1329. package/dist/devices/ubisys.d.ts +3 -0
  1330. package/dist/devices/ubisys.d.ts.map +1 -0
  1331. package/dist/devices/ubisys.js +1295 -0
  1332. package/dist/devices/ubisys.js.map +1 -0
  1333. package/dist/devices/uhome.d.ts +3 -0
  1334. package/dist/devices/uhome.d.ts.map +1 -0
  1335. package/dist/devices/uhome.js +60 -0
  1336. package/dist/devices/uhome.js.map +1 -0
  1337. package/dist/devices/universal_electronics_inc.d.ts +3 -0
  1338. package/dist/devices/universal_electronics_inc.d.ts.map +1 -0
  1339. package/dist/devices/universal_electronics_inc.js +156 -0
  1340. package/dist/devices/universal_electronics_inc.js.map +1 -0
  1341. package/dist/devices/vav.d.ts +3 -0
  1342. package/dist/devices/vav.d.ts.map +1 -0
  1343. package/dist/devices/vav.js +57 -0
  1344. package/dist/devices/vav.js.map +1 -0
  1345. package/dist/devices/vbled.d.ts +3 -0
  1346. package/dist/devices/vbled.d.ts.map +1 -0
  1347. package/dist/devices/vbled.js +47 -0
  1348. package/dist/devices/vbled.js.map +1 -0
  1349. package/dist/devices/vesternet.d.ts +3 -0
  1350. package/dist/devices/vesternet.d.ts.map +1 -0
  1351. package/dist/devices/vesternet.js +355 -0
  1352. package/dist/devices/vesternet.js.map +1 -0
  1353. package/dist/devices/viessmann.d.ts +3 -0
  1354. package/dist/devices/viessmann.d.ts.map +1 -0
  1355. package/dist/devices/viessmann.js +120 -0
  1356. package/dist/devices/viessmann.js.map +1 -0
  1357. package/dist/devices/villeroy_boch.d.ts +3 -0
  1358. package/dist/devices/villeroy_boch.d.ts.map +1 -0
  1359. package/dist/devices/villeroy_boch.js +54 -0
  1360. package/dist/devices/villeroy_boch.js.map +1 -0
  1361. package/dist/devices/vimar.d.ts +3 -0
  1362. package/dist/devices/vimar.d.ts.map +1 -0
  1363. package/dist/devices/vimar.js +140 -0
  1364. package/dist/devices/vimar.js.map +1 -0
  1365. package/dist/devices/visonic.d.ts +3 -0
  1366. package/dist/devices/visonic.d.ts.map +1 -0
  1367. package/dist/devices/visonic.js +134 -0
  1368. package/dist/devices/visonic.js.map +1 -0
  1369. package/dist/devices/vrey.d.ts +3 -0
  1370. package/dist/devices/vrey.d.ts.map +1 -0
  1371. package/dist/devices/vrey.js +48 -0
  1372. package/dist/devices/vrey.js.map +1 -0
  1373. package/dist/devices/vsmart.d.ts +3 -0
  1374. package/dist/devices/vsmart.d.ts.map +1 -0
  1375. package/dist/devices/vsmart.js +442 -0
  1376. package/dist/devices/vsmart.js.map +1 -0
  1377. package/dist/devices/wally.d.ts +3 -0
  1378. package/dist/devices/wally.d.ts.map +1 -0
  1379. package/dist/devices/wally.js +60 -0
  1380. package/dist/devices/wally.js.map +1 -0
  1381. package/dist/devices/waxman.d.ts +3 -0
  1382. package/dist/devices/waxman.d.ts.map +1 -0
  1383. package/dist/devices/waxman.js +83 -0
  1384. package/dist/devices/waxman.js.map +1 -0
  1385. package/dist/devices/weiser.d.ts +3 -0
  1386. package/dist/devices/weiser.d.ts.map +1 -0
  1387. package/dist/devices/weiser.js +54 -0
  1388. package/dist/devices/weiser.js.map +1 -0
  1389. package/dist/devices/weten.d.ts +3 -0
  1390. package/dist/devices/weten.d.ts.map +1 -0
  1391. package/dist/devices/weten.js +83 -0
  1392. package/dist/devices/weten.js.map +1 -0
  1393. package/dist/devices/wirenboard.d.ts +3 -0
  1394. package/dist/devices/wirenboard.d.ts.map +1 -0
  1395. package/dist/devices/wirenboard.js +715 -0
  1396. package/dist/devices/wirenboard.js.map +1 -0
  1397. package/dist/devices/wisdom.d.ts +3 -0
  1398. package/dist/devices/wisdom.d.ts.map +1 -0
  1399. package/dist/devices/wisdom.js +47 -0
  1400. package/dist/devices/wisdom.js.map +1 -0
  1401. package/dist/devices/wmun.d.ts +3 -0
  1402. package/dist/devices/wmun.d.ts.map +1 -0
  1403. package/dist/devices/wmun.js +61 -0
  1404. package/dist/devices/wmun.js.map +1 -0
  1405. package/dist/devices/woolley.d.ts +3 -0
  1406. package/dist/devices/woolley.d.ts.map +1 -0
  1407. package/dist/devices/woolley.js +96 -0
  1408. package/dist/devices/woolley.js.map +1 -0
  1409. package/dist/devices/woox.d.ts +3 -0
  1410. package/dist/devices/woox.d.ts.map +1 -0
  1411. package/dist/devices/woox.js +194 -0
  1412. package/dist/devices/woox.js.map +1 -0
  1413. package/dist/devices/wyze.d.ts +3 -0
  1414. package/dist/devices/wyze.d.ts.map +1 -0
  1415. package/dist/devices/wyze.js +59 -0
  1416. package/dist/devices/wyze.js.map +1 -0
  1417. package/dist/devices/xal.d.ts +3 -0
  1418. package/dist/devices/xal.d.ts.map +1 -0
  1419. package/dist/devices/xal.js +61 -0
  1420. package/dist/devices/xal.js.map +1 -0
  1421. package/dist/devices/xenon.d.ts +4 -0
  1422. package/dist/devices/xenon.d.ts.map +1 -0
  1423. package/dist/devices/xenon.js +65 -0
  1424. package/dist/devices/xenon.js.map +1 -0
  1425. package/dist/devices/xinghuoyuan.d.ts +3 -0
  1426. package/dist/devices/xinghuoyuan.d.ts.map +1 -0
  1427. package/dist/devices/xinghuoyuan.js +47 -0
  1428. package/dist/devices/xinghuoyuan.js.map +1 -0
  1429. package/dist/devices/xyzroe.d.ts +3 -0
  1430. package/dist/devices/xyzroe.d.ts.map +1 -0
  1431. package/dist/devices/xyzroe.js +511 -0
  1432. package/dist/devices/xyzroe.js.map +1 -0
  1433. package/dist/devices/yale.d.ts +3 -0
  1434. package/dist/devices/yale.d.ts.map +1 -0
  1435. package/dist/devices/yale.js +686 -0
  1436. package/dist/devices/yale.js.map +1 -0
  1437. package/dist/devices/yandex.d.ts +3 -0
  1438. package/dist/devices/yandex.d.ts.map +1 -0
  1439. package/dist/devices/yandex.js +677 -0
  1440. package/dist/devices/yandex.js.map +1 -0
  1441. package/dist/devices/ynoa.d.ts +3 -0
  1442. package/dist/devices/ynoa.d.ts.map +1 -0
  1443. package/dist/devices/ynoa.js +116 -0
  1444. package/dist/devices/ynoa.js.map +1 -0
  1445. package/dist/devices/yokis.d.ts +3 -0
  1446. package/dist/devices/yokis.d.ts.map +1 -0
  1447. package/dist/devices/yokis.js +2972 -0
  1448. package/dist/devices/yokis.js.map +1 -0
  1449. package/dist/devices/yookee.d.ts +3 -0
  1450. package/dist/devices/yookee.d.ts.map +1 -0
  1451. package/dist/devices/yookee.js +59 -0
  1452. package/dist/devices/yookee.js.map +1 -0
  1453. package/dist/devices/ysrsai.d.ts +3 -0
  1454. package/dist/devices/ysrsai.d.ts.map +1 -0
  1455. package/dist/devices/ysrsai.js +68 -0
  1456. package/dist/devices/ysrsai.js.map +1 -0
  1457. package/dist/devices/zbeacon.d.ts +3 -0
  1458. package/dist/devices/zbeacon.d.ts.map +1 -0
  1459. package/dist/devices/zbeacon.js +54 -0
  1460. package/dist/devices/zbeacon.js.map +1 -0
  1461. package/dist/devices/zemismart.d.ts +3 -0
  1462. package/dist/devices/zemismart.d.ts.map +1 -0
  1463. package/dist/devices/zemismart.js +1061 -0
  1464. package/dist/devices/zemismart.js.map +1 -0
  1465. package/dist/devices/zen.d.ts +3 -0
  1466. package/dist/devices/zen.d.ts.map +1 -0
  1467. package/dist/devices/zen.js +93 -0
  1468. package/dist/devices/zen.js.map +1 -0
  1469. package/dist/devices/zigbeetlc.d.ts +3 -0
  1470. package/dist/devices/zigbeetlc.d.ts.map +1 -0
  1471. package/dist/devices/zigbeetlc.js +374 -0
  1472. package/dist/devices/zigbeetlc.js.map +1 -0
  1473. package/dist/devices/zipato.d.ts +3 -0
  1474. package/dist/devices/zipato.d.ts.map +1 -0
  1475. package/dist/devices/zipato.js +47 -0
  1476. package/dist/devices/zipato.js.map +1 -0
  1477. package/dist/devices/zunzunbee.d.ts +3 -0
  1478. package/dist/devices/zunzunbee.d.ts.map +1 -0
  1479. package/dist/devices/zunzunbee.js +97 -0
  1480. package/dist/devices/zunzunbee.js.map +1 -0
  1481. package/dist/index.d.ts +19 -0
  1482. package/dist/index.d.ts.map +1 -0
  1483. package/dist/index.js.map +1 -0
  1484. package/dist/indexer.d.ts +5 -0
  1485. package/dist/indexer.d.ts.map +1 -0
  1486. package/dist/indexer.js +135 -0
  1487. package/dist/indexer.js.map +1 -0
  1488. package/dist/lib/adurosmart.d.ts +15 -0
  1489. package/dist/lib/adurosmart.d.ts.map +1 -0
  1490. package/dist/lib/adurosmart.js +669 -0
  1491. package/dist/lib/adurosmart.js.map +1 -0
  1492. package/dist/lib/bosch.d.ts +353 -0
  1493. package/dist/lib/bosch.d.ts.map +1 -0
  1494. package/dist/lib/bosch.js +3163 -0
  1495. package/dist/lib/bosch.js.map +1 -0
  1496. package/dist/lib/color.d.ts +272 -0
  1497. package/dist/lib/color.d.ts.map +1 -0
  1498. package/dist/lib/color.js +766 -0
  1499. package/dist/lib/color.js.map +1 -0
  1500. package/dist/lib/constants.d.ts +78 -0
  1501. package/dist/lib/constants.d.ts.map +1 -0
  1502. package/dist/lib/constants.js +317 -0
  1503. package/dist/lib/constants.js.map +1 -0
  1504. package/dist/lib/develco.d.ts +50 -0
  1505. package/dist/lib/develco.d.ts.map +1 -0
  1506. package/dist/lib/develco.js +433 -0
  1507. package/dist/lib/develco.js.map +1 -0
  1508. package/dist/lib/ewelink.d.ts +30 -0
  1509. package/dist/lib/ewelink.d.ts.map +1 -0
  1510. package/dist/lib/ewelink.js +722 -0
  1511. package/dist/lib/ewelink.js.map +1 -0
  1512. package/dist/lib/exposes.d.ts +376 -0
  1513. package/dist/lib/exposes.d.ts.map +1 -0
  1514. package/dist/lib/exposes.js +1136 -0
  1515. package/dist/lib/exposes.js.map +1 -0
  1516. package/dist/lib/generateDefinition.d.ts +10 -0
  1517. package/dist/lib/generateDefinition.d.ts.map +1 -0
  1518. package/dist/lib/generateDefinition.js +773 -0
  1519. package/dist/lib/generateDefinition.js.map +1 -0
  1520. package/dist/lib/heiman.d.ts +92 -0
  1521. package/dist/lib/heiman.d.ts.map +1 -0
  1522. package/dist/lib/heiman.js +211 -0
  1523. package/dist/lib/heiman.js.map +1 -0
  1524. package/dist/lib/ikea.d.ts +106 -0
  1525. package/dist/lib/ikea.d.ts.map +1 -0
  1526. package/dist/lib/ikea.js +984 -0
  1527. package/dist/lib/ikea.js.map +1 -0
  1528. package/dist/lib/kelvinToXy.d.ts +8 -0
  1529. package/dist/lib/kelvinToXy.d.ts.map +1 -0
  1530. package/dist/lib/kelvinToXy.js +1913 -0
  1531. package/dist/lib/kelvinToXy.js.map +1 -0
  1532. package/dist/lib/ledvance.d.ts +20 -0
  1533. package/dist/lib/ledvance.d.ts.map +1 -0
  1534. package/dist/lib/ledvance.js +100 -0
  1535. package/dist/lib/ledvance.js.map +1 -0
  1536. package/dist/lib/legacy.d.ts +5197 -0
  1537. package/dist/lib/legacy.d.ts.map +1 -0
  1538. package/dist/lib/legacy.js +6865 -0
  1539. package/dist/lib/legacy.js.map +1 -0
  1540. package/dist/lib/legrand.d.ts +132 -0
  1541. package/dist/lib/legrand.d.ts.map +1 -0
  1542. package/dist/lib/legrand.js +404 -0
  1543. package/dist/lib/legrand.js.map +1 -0
  1544. package/dist/lib/light.d.ts +9 -0
  1545. package/dist/lib/light.d.ts.map +1 -0
  1546. package/dist/lib/light.js +144 -0
  1547. package/dist/lib/light.js.map +1 -0
  1548. package/dist/lib/logger.d.ts +4 -0
  1549. package/dist/lib/logger.d.ts.map +1 -0
  1550. package/dist/lib/logger.js +14 -0
  1551. package/dist/lib/logger.js.map +1 -0
  1552. package/dist/lib/lumi.d.ts +1093 -0
  1553. package/dist/lib/lumi.d.ts.map +1 -0
  1554. package/dist/lib/lumi.js +6479 -0
  1555. package/dist/lib/lumi.js.map +1 -0
  1556. package/dist/lib/modernExtend.d.ts +436 -0
  1557. package/dist/lib/modernExtend.d.ts.map +1 -0
  1558. package/dist/lib/modernExtend.js +2702 -0
  1559. package/dist/lib/modernExtend.js.map +1 -0
  1560. package/dist/lib/namron.d.ts +56 -0
  1561. package/dist/lib/namron.d.ts.map +1 -0
  1562. package/dist/lib/namron.js +433 -0
  1563. package/dist/lib/namron.js.map +1 -0
  1564. package/dist/lib/nodon.d.ts +3 -0
  1565. package/dist/lib/nodon.d.ts.map +1 -0
  1566. package/dist/lib/nodon.js +130 -0
  1567. package/dist/lib/nodon.js.map +1 -0
  1568. package/dist/lib/philips.d.ts +321 -0
  1569. package/dist/lib/philips.d.ts.map +1 -0
  1570. package/dist/lib/philips.js +876 -0
  1571. package/dist/lib/philips.js.map +1 -0
  1572. package/dist/lib/reporting.d.ts +57 -0
  1573. package/dist/lib/reporting.d.ts.map +1 -0
  1574. package/dist/lib/reporting.js +294 -0
  1575. package/dist/lib/reporting.js.map +1 -0
  1576. package/dist/lib/sonoff.d.ts +30 -0
  1577. package/dist/lib/sonoff.d.ts.map +1 -0
  1578. package/dist/lib/sonoff.js +91 -0
  1579. package/dist/lib/sonoff.js.map +1 -0
  1580. package/dist/lib/store.d.ts +7 -0
  1581. package/dist/lib/store.d.ts.map +1 -0
  1582. package/dist/lib/store.js +59 -0
  1583. package/dist/lib/store.js.map +1 -0
  1584. package/dist/lib/sunricher.d.ts +29 -0
  1585. package/dist/lib/sunricher.d.ts.map +1 -0
  1586. package/dist/lib/sunricher.js +838 -0
  1587. package/dist/lib/sunricher.js.map +1 -0
  1588. package/dist/lib/tuya.d.ts +998 -0
  1589. package/dist/lib/tuya.d.ts.map +1 -0
  1590. package/dist/lib/tuya.js +3043 -0
  1591. package/dist/lib/tuya.js.map +1 -0
  1592. package/dist/lib/types.d.ts +429 -0
  1593. package/dist/lib/types.d.ts.map +1 -0
  1594. package/dist/lib/types.js +3 -0
  1595. package/dist/lib/types.js.map +1 -0
  1596. package/dist/lib/ubisys.d.ts +107 -0
  1597. package/dist/lib/ubisys.d.ts.map +1 -0
  1598. package/dist/lib/ubisys.js +576 -0
  1599. package/dist/lib/ubisys.js.map +1 -0
  1600. package/dist/lib/utils.d.ts +95 -0
  1601. package/dist/lib/utils.d.ts.map +1 -0
  1602. package/dist/lib/utils.js +736 -0
  1603. package/dist/lib/utils.js.map +1 -0
  1604. package/dist/lib/zosung.d.ts +52 -0
  1605. package/dist/lib/zosung.d.ts.map +1 -0
  1606. package/dist/lib/zosung.js +264 -0
  1607. package/dist/lib/zosung.js.map +1 -0
  1608. package/dist/models-index.json +1 -0
  1609. package/package.json +2 -8
@@ -0,0 +1,1295 @@
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
+ exports.definitions = void 0;
40
+ const node_assert_1 = __importDefault(require("node:assert"));
41
+ const zigbee_herdsman_1 = require("@willieee802/zigbee-herdsman");
42
+ const semver_1 = require("semver");
43
+ const fz = __importStar(require("../converters/fromZigbee"));
44
+ const tz = __importStar(require("../converters/toZigbee"));
45
+ const constants = __importStar(require("../lib/constants"));
46
+ const exposes = __importStar(require("../lib/exposes"));
47
+ const logger_1 = require("../lib/logger");
48
+ const m = __importStar(require("../lib/modernExtend"));
49
+ const reporting = __importStar(require("../lib/reporting"));
50
+ const ubisys_1 = require("../lib/ubisys");
51
+ const utils = __importStar(require("../lib/utils"));
52
+ const NS = "zhc:ubisys";
53
+ const e = exposes.presets;
54
+ const ea = exposes.access;
55
+ const manufacturerOptions = {
56
+ /*
57
+ * Ubisys doesn't accept a manufacturerCode on some commands
58
+ * This bug has been reported, but it has not been fixed:
59
+ * https://github.com/Koenkk/zigbee-herdsman/issues/52
60
+ */
61
+ ubisys: { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.UBISYS_TECHNOLOGIES_GMBH },
62
+ // @ts-expect-error ignore
63
+ ubisysNull: { manufacturerCode: null },
64
+ };
65
+ const ubisys = {
66
+ fz: {
67
+ dimmer_setup: {
68
+ cluster: "manuSpecificUbisysDimmerSetup",
69
+ type: ["attributeReport", "readResponse"],
70
+ convert: (model, msg, publish, options, meta) => {
71
+ if (msg.data.capabilities !== undefined) {
72
+ const capabilities = msg.data.capabilities;
73
+ const forwardPhaseControl = capabilities & 1;
74
+ const reversePhaseControl = (capabilities & 2) >>> 1;
75
+ const reactanceDiscriminator = (capabilities & 0x20) >>> 5;
76
+ const configurableCurve = (capabilities & 0x40) >>> 6;
77
+ const overloadDetection = (capabilities & 0x80) >>> 7;
78
+ return {
79
+ capabilities_forward_phase_control: !!forwardPhaseControl,
80
+ capabilities_reverse_phase_control: !!reversePhaseControl,
81
+ capabilities_reactance_discriminator: !!reactanceDiscriminator,
82
+ capabilities_configurable_curve: !!configurableCurve,
83
+ capabilities_overload_detection: !!overloadDetection,
84
+ };
85
+ }
86
+ if (msg.data.status !== undefined) {
87
+ const status = msg.data.status;
88
+ const forwardPhaseControl = status & 1;
89
+ const reversePhaseControl = (status & 2) >>> 1;
90
+ const overload = (status & 8) >>> 3;
91
+ const capacitiveLoad = (status & 0x40) >>> 6;
92
+ const inductiveLoad = (status & 0x80) >>> 7;
93
+ return {
94
+ status_forward_phase_control: !!forwardPhaseControl,
95
+ status_reverse_phase_control: !!reversePhaseControl,
96
+ status_overload: !!overload,
97
+ status_capacitive_load: !!capacitiveLoad,
98
+ status_inductive_load: !!inductiveLoad,
99
+ };
100
+ }
101
+ if (msg.data.mode !== undefined) {
102
+ const mode = msg.data.mode;
103
+ const phaseControl = mode & 3;
104
+ const phaseControlValues = { 0: "automatic", 1: "forward", 2: "reverse" };
105
+ return {
106
+ mode_phase_control: utils.getFromLookup(phaseControl, phaseControlValues),
107
+ };
108
+ }
109
+ },
110
+ },
111
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
112
+ dimmer_setup_genLevelCtrl: {
113
+ cluster: "genLevelCtrl",
114
+ type: ["attributeReport", "readResponse"],
115
+ convert: (model, msg, publish, options, meta) => {
116
+ if (msg.data.ubisysMinimumOnLevel !== undefined) {
117
+ return { minimum_on_level: msg.data.ubisysMinimumOnLevel };
118
+ }
119
+ },
120
+ },
121
+ configure_device_setup: {
122
+ cluster: "manuSpecificUbisysDeviceSetup",
123
+ type: ["attributeReport", "readResponse"],
124
+ convert: (model, msg, publish, options, meta) => {
125
+ const result = (meta.state.configure_device_setup !== undefined ? meta.state.configure_device_setup : {});
126
+ if (msg.data.inputConfigurations != null) {
127
+ result.input_configurations = msg.data.inputConfigurations;
128
+ }
129
+ if (msg.data.inputActions != null) {
130
+ result.input_actions = msg.data.inputActions.map((el) => Object.values(el));
131
+ }
132
+ return { configure_device_setup: result };
133
+ },
134
+ },
135
+ },
136
+ tz: {
137
+ configure_j1: {
138
+ key: ["configure_j1"],
139
+ convertSet: async (entity, key, value, meta) => {
140
+ const log = (message) => {
141
+ logger_1.logger.warning(`ubisys: ${message}`, NS);
142
+ };
143
+ const sleepSeconds = async (s) => {
144
+ return await new Promise((resolve) => setTimeout(resolve, s * 1000));
145
+ };
146
+ const waitUntilStopped = async () => {
147
+ let operationalStatus = 0;
148
+ do {
149
+ await sleepSeconds(2);
150
+ const response = await entity.read("closuresWindowCovering", ["operationalStatus"]);
151
+ operationalStatus = response.operationalStatus;
152
+ } while (operationalStatus !== 0);
153
+ await sleepSeconds(2);
154
+ };
155
+ const writeAttrFromJson = async (attr, jsonAttr, converterFunc, delaySecondsAfter) => {
156
+ if (!jsonAttr)
157
+ jsonAttr = attr;
158
+ if (jsonAttr.startsWith("ubisys")) {
159
+ jsonAttr = jsonAttr.substring(6, 7).toLowerCase() + jsonAttr.substring(7);
160
+ }
161
+ if (value[jsonAttr] !== undefined) {
162
+ let attrValue = value[jsonAttr];
163
+ if (converterFunc) {
164
+ attrValue = converterFunc(attrValue);
165
+ }
166
+ const attributes = { [attr]: attrValue };
167
+ await entity.write("closuresWindowCovering", attributes, manufacturerOptions.ubisys);
168
+ if (delaySecondsAfter) {
169
+ await sleepSeconds(delaySecondsAfter);
170
+ }
171
+ }
172
+ };
173
+ const stepsPerSecond = value.steps_per_second || 50;
174
+ const hasCalibrate = value.calibrate != null;
175
+ // cancel any running calibration
176
+ let mode = (await entity.read("closuresWindowCovering", ["windowCoveringMode"])).windowCoveringMode;
177
+ const modeCalibrationBitMask = 0x02;
178
+ if (mode & modeCalibrationBitMask) {
179
+ await entity.write("closuresWindowCovering", {
180
+ ubisysWindowCoveringMode: mode & ~modeCalibrationBitMask,
181
+ });
182
+ await sleepSeconds(2);
183
+ }
184
+ // delay a bit if reconfiguring basic configuration attributes
185
+ await writeAttrFromJson("ubisysWindowCoveringType", undefined, undefined, 2);
186
+ await writeAttrFromJson("ubisysConfigStatus", undefined, undefined, 2);
187
+ // @ts-expect-error ignore
188
+ if (await writeAttrFromJson("ubisysWindowCoveringMode", undefined, undefined, 2)) {
189
+ mode = value.windowCoveringMode;
190
+ }
191
+ if (hasCalibrate) {
192
+ log("Cover calibration starting...");
193
+ // first of all, move to top position to not confuse calibration later
194
+ log(" Moving cover to top position to get a good starting point...");
195
+ await entity.command("closuresWindowCovering", "upOpen", {});
196
+ await waitUntilStopped();
197
+ log(" Settings some attributes...");
198
+ // reset attributes
199
+ await entity.write("closuresWindowCovering", {
200
+ ubisysInstalledOpenLimitLiftCm: 0,
201
+ ubisysInstalledClosedLimitLiftCm: 240,
202
+ ubisysInstalledOpenLimitTiltDdegree: 0,
203
+ ubisysInstalledClosedLimitTiltDdegree: 900,
204
+ ubisysLiftToTiltTransitionSteps: 0xffff,
205
+ ubisysTotalSteps: 0xffff,
206
+ ubisysLiftToTiltTransitionSteps2: 0xffff,
207
+ ubisysTotalSteps2: 0xffff,
208
+ }, manufacturerOptions.ubisys);
209
+ // enable calibration mode
210
+ await sleepSeconds(2);
211
+ await entity.write("closuresWindowCovering", {
212
+ ubisysWindowCoveringMode: mode | modeCalibrationBitMask,
213
+ });
214
+ await sleepSeconds(2);
215
+ // move down a bit and back up to detect upper limit
216
+ log(" Moving cover down a bit...");
217
+ await entity.command("closuresWindowCovering", "downClose", {});
218
+ await sleepSeconds(5);
219
+ await entity.command("closuresWindowCovering", "stop", {});
220
+ await sleepSeconds(2);
221
+ log(" Moving up again to detect upper limit...");
222
+ await entity.command("closuresWindowCovering", "upOpen", {});
223
+ await waitUntilStopped();
224
+ log(" Moving down to count steps from open to closed...");
225
+ await entity.command("closuresWindowCovering", "downClose", {});
226
+ await waitUntilStopped();
227
+ log(" Moving up to count steps from closed to open...");
228
+ await entity.command("closuresWindowCovering", "upOpen", {});
229
+ await waitUntilStopped();
230
+ }
231
+ // now write any attribute values present in JSON
232
+ await writeAttrFromJson("ubisysInstalledOpenLimitLiftCm");
233
+ await writeAttrFromJson("ubisysInstalledClosedLimitLiftCm");
234
+ await writeAttrFromJson("ubisysInstalledOpenLimitTiltDdegree");
235
+ await writeAttrFromJson("ubisysInstalledClosedLimitTiltDdegree");
236
+ await writeAttrFromJson("ubisysTurnaroundGuardTime");
237
+ await writeAttrFromJson("ubisysLiftToTiltTransitionSteps");
238
+ await writeAttrFromJson("ubisysTotalSteps");
239
+ await writeAttrFromJson("ubisysLiftToTiltTransitionSteps2");
240
+ await writeAttrFromJson("ubisysTotalSteps2");
241
+ await writeAttrFromJson("ubisysAdditionalSteps");
242
+ await writeAttrFromJson("ubisysInactivePowerThreshold");
243
+ await writeAttrFromJson("ubisysStartupSteps");
244
+ // some convenience functions to not have to calculate
245
+ await writeAttrFromJson("ubisysTotalSteps", "open_to_closed_s", (s) => s * stepsPerSecond);
246
+ await writeAttrFromJson("ubisysTotalSteps2", "closed_to_open_s", (s) => s * stepsPerSecond);
247
+ await writeAttrFromJson("ubisysLiftToTiltTransitionSteps", "lift_to_tilt_transition_ms", (s) => (s * stepsPerSecond) / 1000);
248
+ await writeAttrFromJson("ubisysLiftToTiltTransitionSteps2", "lift_to_tilt_transition_ms", (s) => (s * stepsPerSecond) / 1000);
249
+ if (hasCalibrate) {
250
+ log(" Finalizing calibration...");
251
+ // disable calibration mode again
252
+ await sleepSeconds(2);
253
+ await entity.write("closuresWindowCovering", {
254
+ ubisysWindowCoveringMode: mode & ~modeCalibrationBitMask,
255
+ });
256
+ await sleepSeconds(2);
257
+ // re-read and dump all relevant attributes
258
+ log(" Done - will now read back the results.");
259
+ await ubisys.tz.configure_j1.convertGet(entity, key, meta);
260
+ }
261
+ },
262
+ convertGet: async (entity, key, meta) => {
263
+ const log = (json) => {
264
+ logger_1.logger.warning(`ubisys: Cover configuration read: ${JSON.stringify(json)}`, NS);
265
+ };
266
+ log(await entity.read("closuresWindowCovering", [
267
+ "windowCoveringType",
268
+ "physicalClosedLimitLiftCm",
269
+ "physicalClosedLimitTiltDdegree",
270
+ "installedOpenLimitLiftCm",
271
+ "installedClosedLimitLiftCm",
272
+ "installedOpenLimitTiltDdegree",
273
+ "installedClosedLimitTiltDdegree",
274
+ ]));
275
+ log(await entity.read("closuresWindowCovering", [
276
+ "configStatus",
277
+ "windowCoveringMode",
278
+ "currentPositionLiftPercentage",
279
+ "currentPositionLiftCm",
280
+ "currentPositionTiltPercentage",
281
+ "currentPositionTiltDdegree",
282
+ "operationalStatus",
283
+ ]));
284
+ log(await entity.read("closuresWindowCovering", [
285
+ "ubisysTurnaroundGuardTime",
286
+ "ubisysLiftToTiltTransitionSteps",
287
+ "ubisysTotalSteps",
288
+ "ubisysLiftToTiltTransitionSteps2",
289
+ "ubisysTotalSteps2",
290
+ "ubisysAdditionalSteps",
291
+ "ubisysInactivePowerThreshold",
292
+ "ubisysStartupSteps",
293
+ ], manufacturerOptions.ubisys));
294
+ },
295
+ },
296
+ dimmer_setup: {
297
+ key: [
298
+ "capabilities_forward_phase_control",
299
+ "capabilities_reverse_phase_control",
300
+ "capabilities_reactance_discriminator",
301
+ "capabilities_configurable_curve",
302
+ "capabilities_overload_detection",
303
+ "status_forward_phase_control",
304
+ "status_reverse_phase_control",
305
+ "status_overload",
306
+ "status_capacitive_load",
307
+ "status_inductive_load",
308
+ "mode_phase_control",
309
+ ],
310
+ convertSet: async (entity, key, value, meta) => {
311
+ if (key === "mode_phase_control") {
312
+ utils.assertString(value, "mode_phase_control");
313
+ const phaseControl = value.toLowerCase();
314
+ const phaseControlValues = { automatic: 0, forward: 1, reverse: 2 };
315
+ utils.validateValue(phaseControl, Object.keys(phaseControlValues));
316
+ await entity.write("manuSpecificUbisysDimmerSetup", { mode: utils.getFromLookup(phaseControl, phaseControlValues) }, manufacturerOptions.ubisysNull);
317
+ }
318
+ await ubisys.tz.dimmer_setup.convertGet(entity, key, meta);
319
+ },
320
+ convertGet: async (entity, key, meta) => {
321
+ await entity.read("manuSpecificUbisysDimmerSetup", ["capabilities"], manufacturerOptions.ubisysNull);
322
+ await entity.read("manuSpecificUbisysDimmerSetup", ["status"], manufacturerOptions.ubisysNull);
323
+ await entity.read("manuSpecificUbisysDimmerSetup", ["mode"], manufacturerOptions.ubisysNull);
324
+ },
325
+ },
326
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
327
+ dimmer_setup_genLevelCtrl: {
328
+ key: ["minimum_on_level"],
329
+ convertSet: async (entity, key, value, meta) => {
330
+ if (key === "minimum_on_level") {
331
+ await entity.write("genLevelCtrl", { ubisysMinimumOnLevel: value }, manufacturerOptions.ubisys);
332
+ }
333
+ await ubisys.tz.dimmer_setup_genLevelCtrl.convertGet(entity, key, meta);
334
+ },
335
+ convertGet: async (entity, key, meta) => {
336
+ await entity.read("genLevelCtrl", ["ubisysMinimumOnLevel"], manufacturerOptions.ubisys);
337
+ },
338
+ },
339
+ configure_device_setup: {
340
+ key: ["configure_device_setup"],
341
+ convertSet: async (entity, key, value, meta) => {
342
+ const devMgmtEp = meta.device.getEndpoint(232);
343
+ const cluster = zigbee_herdsman_1.Zcl.Utils.getCluster("manuSpecificUbisysDeviceSetup", null, meta.device.customClusters);
344
+ const attributeInputConfigurations = cluster.getAttribute("inputConfigurations");
345
+ const attributeInputActions = cluster.getAttribute("inputActions");
346
+ (0, node_assert_1.default)(attributeInputConfigurations && attributeInputActions);
347
+ // ubisys switched to writeStructure a while ago, change log only goes back to 1.9.x
348
+ // and it happened before that but to be safe we will only use writeStrucutre on 1.9.0 and up
349
+ if (!meta.device.softwareBuildID ||
350
+ !(0, semver_1.valid)(meta.device.softwareBuildID, true) ||
351
+ !(0, semver_1.gte)(meta.device.softwareBuildID, "1.9.0", true)) {
352
+ logger_1.logger.warning(`ubisys: update firmware of '${meta.options.friendly_name}' before writing configure_device_setup!`, NS);
353
+ return;
354
+ }
355
+ if (value.input_configurations != null) {
356
+ // example: [0, 0, 0, 0]
357
+ await devMgmtEp.writeStructured("manuSpecificUbisysDeviceSetup", [
358
+ {
359
+ attrId: attributeInputConfigurations.ID,
360
+ selector: {},
361
+ dataType: zigbee_herdsman_1.Zcl.DataType.ARRAY,
362
+ elementData: {
363
+ elementType: zigbee_herdsman_1.Zcl.DataType.DATA8,
364
+ elements: value.input_configurations,
365
+ },
366
+ },
367
+ ], manufacturerOptions.ubisysNull);
368
+ }
369
+ if (value.input_actions != null) {
370
+ // example (default for C4): [[0,13,1,6,0,2], [1,13,2,6,0,2], [2,13,3,6,0,2], [3,13,4,6,0,2]]
371
+ await devMgmtEp.writeStructured("manuSpecificUbisysDeviceSetup", [
372
+ {
373
+ attrId: attributeInputActions.ID,
374
+ selector: {},
375
+ dataType: zigbee_herdsman_1.Zcl.DataType.ARRAY,
376
+ elementData: {
377
+ elementType: zigbee_herdsman_1.Zcl.DataType.OCTET_STR,
378
+ elements: value.input_actions,
379
+ },
380
+ },
381
+ ], manufacturerOptions.ubisysNull);
382
+ }
383
+ if (value.input_action_templates != null) {
384
+ const templateTypes = {
385
+ // source: "Zigbee Device Physical Input Configurations Integrator’s Guide"
386
+ // (can be obtained directly from ubisys upon request)
387
+ toggle: {
388
+ getInputActions: (input, endpoint) => [[input, 0x0d, endpoint, 0x06, 0x00, 0x02]],
389
+ },
390
+ toggle_switch: {
391
+ getInputActions: (input, endpoint) => [
392
+ [input, 0x0d, endpoint, 0x06, 0x00, 0x02],
393
+ [input, 0x03, endpoint, 0x06, 0x00, 0x02],
394
+ ],
395
+ },
396
+ on_off_switch: {
397
+ getInputActions: (input, endpoint) => [
398
+ [input, 0x0d, endpoint, 0x06, 0x00, 0x01],
399
+ [input, 0x03, endpoint, 0x06, 0x00, 0x00],
400
+ ],
401
+ },
402
+ on: {
403
+ getInputActions: (input, endpoint) => [[input, 0x0d, endpoint, 0x06, 0x00, 0x01]],
404
+ },
405
+ off: {
406
+ getInputActions: (input, endpoint) => [[input, 0x0d, endpoint, 0x06, 0x00, 0x00]],
407
+ },
408
+ dimmer_single: {
409
+ getInputActions: (input, endpoint, template) => {
410
+ const moveUpCmd = template.no_onoff || template.no_onoff_up ? 0x01 : 0x05;
411
+ const moveDownCmd = template.no_onoff || template.no_onoff_down ? 0x01 : 0x05;
412
+ const moveRate = template.rate || 50;
413
+ return [
414
+ [input, 0x07, endpoint, 0x06, 0x00, 0x02],
415
+ [input, 0x86, endpoint, 0x08, 0x00, moveUpCmd, 0x00, moveRate],
416
+ [input, 0xc6, endpoint, 0x08, 0x00, moveDownCmd, 0x01, moveRate],
417
+ [input, 0x0b, endpoint, 0x08, 0x00, 0x03],
418
+ ];
419
+ },
420
+ },
421
+ dimmer_double: {
422
+ doubleInputs: true,
423
+ getInputActions: (inputs, endpoint, template) => {
424
+ const moveUpCmd = template.no_onoff || template.no_onoff_up ? 0x01 : 0x05;
425
+ const moveDownCmd = template.no_onoff || template.no_onoff_down ? 0x01 : 0x05;
426
+ const moveRate = template.rate || 50;
427
+ return [
428
+ [inputs[0], 0x07, endpoint, 0x06, 0x00, 0x01],
429
+ [inputs[0], 0x06, endpoint, 0x08, 0x00, moveUpCmd, 0x00, moveRate],
430
+ [inputs[0], 0x0b, endpoint, 0x08, 0x00, 0x03],
431
+ [inputs[1], 0x07, endpoint, 0x06, 0x00, 0x00],
432
+ [inputs[1], 0x06, endpoint, 0x08, 0x00, moveDownCmd, 0x01, moveRate],
433
+ [inputs[1], 0x0b, endpoint, 0x08, 0x00, 0x03],
434
+ ];
435
+ },
436
+ },
437
+ cover: {
438
+ cover: true,
439
+ doubleInputs: true,
440
+ getInputActions: (inputs, endpoint) => [
441
+ [inputs[0], 0x0d, endpoint, 0x02, 0x01, 0x00],
442
+ [inputs[0], 0x07, endpoint, 0x02, 0x01, 0x02],
443
+ [inputs[1], 0x0d, endpoint, 0x02, 0x01, 0x01],
444
+ [inputs[1], 0x07, endpoint, 0x02, 0x01, 0x02],
445
+ ],
446
+ },
447
+ cover_switch: {
448
+ cover: true,
449
+ doubleInputs: true,
450
+ getInputActions: (inputs, endpoint) => [
451
+ [inputs[0], 0x0d, endpoint, 0x02, 0x01, 0x00],
452
+ [inputs[0], 0x03, endpoint, 0x02, 0x01, 0x02],
453
+ [inputs[1], 0x0d, endpoint, 0x02, 0x01, 0x01],
454
+ [inputs[1], 0x03, endpoint, 0x02, 0x01, 0x02],
455
+ ],
456
+ },
457
+ cover_up: {
458
+ cover: true,
459
+ getInputActions: (input, endpoint) => [[input, 0x0d, endpoint, 0x02, 0x01, 0x00]],
460
+ },
461
+ cover_down: {
462
+ cover: true,
463
+ getInputActions: (input, endpoint) => [[input, 0x0d, endpoint, 0x02, 0x01, 0x01]],
464
+ },
465
+ scene: {
466
+ scene: true,
467
+ getInputActions: (input, endpoint, groupId, sceneId) => [
468
+ [input, 0x07, endpoint, 0x05, 0x00, 0x05, groupId & 0xff, groupId >> 8, sceneId],
469
+ ],
470
+ getInputActions2: (input, endpoint, groupId, sceneId) => [
471
+ [input, 0x06, endpoint, 0x05, 0x00, 0x05, groupId & 0xff, groupId >> 8, sceneId],
472
+ ],
473
+ },
474
+ scene_switch: {
475
+ scene: true,
476
+ getInputActions: (input, endpoint, groupId, sceneId) => [
477
+ [input, 0x0d, endpoint, 0x05, 0x00, 0x05, groupId & 0xff, groupId >> 8, sceneId],
478
+ ],
479
+ getInputActions2: (input, endpoint, groupId, sceneId) => [
480
+ [input, 0x03, endpoint, 0x05, 0x00, 0x05, groupId & 0xff, groupId >> 8, sceneId],
481
+ ],
482
+ },
483
+ };
484
+ // first input
485
+ let input = 0;
486
+ if (Array.isArray(meta.mapped)) {
487
+ // first client endpoint - depends on actual device
488
+ throw new Error("Not supported for groups");
489
+ }
490
+ let endpoint = { S1: 2, S2: 3, D1: 2, J1: 2, C4: 1 }[meta.mapped.model];
491
+ // default group id
492
+ let groupId = 0;
493
+ const templates = Array.isArray(value.input_action_templates) ? value.input_action_templates : [value.input_action_templates];
494
+ const resultingInputActions = [];
495
+ for (const template of templates) {
496
+ const templateType = templateTypes[template.type];
497
+ if (!templateType) {
498
+ throw new Error(`input_action_templates: Template type '${template.type}' is not valid ` +
499
+ `(valid types: ${Object.keys(templateTypes)})`);
500
+ }
501
+ if (template.input !== undefined) {
502
+ input = template.input;
503
+ }
504
+ if (template.endpoint !== undefined) {
505
+ endpoint = template.endpoint;
506
+ }
507
+ // C4 cover endpoints only start at 5
508
+ if ("cover" in templateType && meta.mapped.model === "C4" && endpoint < 5) {
509
+ endpoint += 4;
510
+ }
511
+ let inputActions = [];
512
+ if ("doubleInputs" in templateType) {
513
+ // double inputs
514
+ const inputArr = template.inputs !== undefined ? template.inputs : [input, input + 1];
515
+ inputActions = templateType.getInputActions(inputArr, endpoint, template);
516
+ if (Array.isArray(inputArr)) {
517
+ input = Math.max(...inputArr);
518
+ }
519
+ }
520
+ else {
521
+ if ("scene" in templateType) {
522
+ // scene(s) (always single input)
523
+ if (template.scene_id === undefined) {
524
+ throw new Error(`input_action_templates: Need an attribute 'scene_id' for '${template.type}'`);
525
+ }
526
+ if (template.group_id !== undefined) {
527
+ groupId = template.group_id;
528
+ }
529
+ inputActions = templateType.getInputActions(input, endpoint, groupId, template.scene_id);
530
+ if (template.scene_id_2 !== undefined) {
531
+ if (template.group_id_2 !== undefined) {
532
+ groupId = template.group_id_2;
533
+ }
534
+ inputActions = inputActions.concat(templateType.getInputActions2(input, endpoint, groupId, template.scene_id_2));
535
+ }
536
+ }
537
+ else {
538
+ // single input, no scene(s)
539
+ inputActions = templateType.getInputActions(input, endpoint, template);
540
+ }
541
+ }
542
+ resultingInputActions.push(inputActions);
543
+ logger_1.logger.warning(`ubisys: Using input ${input} and endpoint ${endpoint} for '${template.type}'.`, NS);
544
+ input += 1;
545
+ endpoint += 1;
546
+ }
547
+ // XXX: input_action_templates is not validated
548
+ // it could potentially write values that don't fit OCTET_STR (e.g. value at x index is > 0xff)
549
+ // write length of octet str array at index 0
550
+ await devMgmtEp.writeStructured("manuSpecificUbisysDeviceSetup", [
551
+ {
552
+ attrId: attributeInputActions.ID,
553
+ selector: { indicatorType: zigbee_herdsman_1.Zcl.StructuredIndicatorType.Whole, indexes: [0] },
554
+ dataType: zigbee_herdsman_1.Zcl.DataType.UINT16,
555
+ elementData: resultingInputActions.flat().length,
556
+ },
557
+ ], manufacturerOptions.ubisysNull);
558
+ let index = 1;
559
+ // write in chunks to prevent frame overflow
560
+ // XXX: depends entirely on the values inside the nested array as far as "not overflowing"
561
+ // it also is not optimized for "minimum writes", since count is based on nesting
562
+ for (const inputAction of resultingInputActions) {
563
+ await devMgmtEp.writeStructured("manuSpecificUbisysDeviceSetup", inputAction.map((a) => ({
564
+ attrId: attributeInputActions.ID,
565
+ selector: { indicatorType: zigbee_herdsman_1.Zcl.StructuredIndicatorType.Whole, indexes: [index++] },
566
+ dataType: zigbee_herdsman_1.Zcl.DataType.OCTET_STR,
567
+ elementData: Buffer.from(a),
568
+ })), manufacturerOptions.ubisysNull);
569
+ }
570
+ }
571
+ },
572
+ },
573
+ },
574
+ };
575
+ exports.definitions = [
576
+ {
577
+ zigbeeModel: ["S1 (5501)"],
578
+ model: "S1",
579
+ vendor: "Ubisys",
580
+ description: "Power switch S1",
581
+ fromZigbee: [ubisys.fz.configure_device_setup],
582
+ toZigbee: [ubisys.tz.configure_device_setup],
583
+ endpoint: (device) => {
584
+ return { l1: 1, s1: 2 };
585
+ },
586
+ extend: [
587
+ // NOTE: identify is supported but no visual indicator so omitted here
588
+ m.onOff({ powerOnBehavior: true }),
589
+ m.electricityMeter({ cluster: "metering", configureReporting: false }),
590
+ m.commandsOnOff({ endpointNames: ["2"] }),
591
+ m.commandsLevelCtrl({ endpointNames: ["2"] }),
592
+ m.commandsColorCtrl({ endpointNames: ["2"] }),
593
+ ubisys_1.ubisysModernExtend.pollCurrentSummDelivered(3),
594
+ ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup(),
595
+ ],
596
+ configure: async (device, coordinatorEndpoint) => {
597
+ const endpoint = device.getEndpoint(3);
598
+ await reporting.bind(endpoint, coordinatorEndpoint, ["seMetering"]);
599
+ await reporting.readMeteringMultiplierDivisor(endpoint);
600
+ await reporting.instantaneousDemand(endpoint);
601
+ },
602
+ onEvent: (event) => {
603
+ /*
604
+ * As per technical doc page 18 section 7.3.4
605
+ * https://www.ubisys.de/wp-content/uploads/ubisys-s1-technical-reference.pdf
606
+ *
607
+ * This cluster uses the binding table for managing command targets.
608
+ * When factory fresh, this cluster is bound to endpoint #1 to
609
+ * enable local control.
610
+ *
611
+ * We use addBinding to 'record' this default binding.
612
+ */
613
+ if (event.type === "deviceInterview") {
614
+ const ep1 = event.data.device.getEndpoint(1);
615
+ const ep2 = event.data.device.getEndpoint(2);
616
+ ep2.addBinding("genOnOff", ep1);
617
+ }
618
+ },
619
+ ota: true,
620
+ },
621
+ {
622
+ zigbeeModel: ["S1-R (5601)"],
623
+ model: "S1-R",
624
+ vendor: "Ubisys",
625
+ description: "Power switch S1-R",
626
+ fromZigbee: [ubisys.fz.configure_device_setup],
627
+ toZigbee: [ubisys.tz.configure_device_setup],
628
+ endpoint: (device) => {
629
+ return { l1: 1, s1: 2, s2: 3 };
630
+ },
631
+ extend: [
632
+ m.identify(),
633
+ m.onOff({ powerOnBehavior: true }),
634
+ m.electricityMeter({ cluster: "metering", configureReporting: false }),
635
+ m.commandsOnOff({ endpointNames: ["2", "3"] }),
636
+ m.commandsLevelCtrl({ endpointNames: ["2", "3"] }),
637
+ m.commandsColorCtrl({ endpointNames: ["2", "3"] }),
638
+ ubisys_1.ubisysModernExtend.pollCurrentSummDelivered((device) => (device.hardwareVersion < 16 ? 4 : 1)),
639
+ ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup(),
640
+ ],
641
+ configure: async (device, coordinatorEndpoint) => {
642
+ // Series 2 has metering on endpoint 1, older devices on endpoint 4
643
+ // hardwareVersion is 16
644
+ const endpoint = device.getEndpoint(device.hardwareVersion < 16 ? 4 : 1);
645
+ await reporting.bind(endpoint, coordinatorEndpoint, ["seMetering"]);
646
+ await reporting.readMeteringMultiplierDivisor(endpoint);
647
+ await reporting.instantaneousDemand(endpoint);
648
+ },
649
+ onEvent: (event) => {
650
+ /*
651
+ * As per technical doc page 18 section 7.3.4
652
+ * https://www.ubisys.de/wp-content/uploads/ubisys-s1-technical-reference.pdf
653
+ *
654
+ * This cluster uses the binding table for managing command targets.
655
+ * When factory fresh, this cluster is bound to endpoint #1 to
656
+ * enable local control.
657
+ *
658
+ * We use addBinding to 'record' this default binding.
659
+ */
660
+ if (event.type === "deviceInterview") {
661
+ const ep1 = event.data.device.getEndpoint(1);
662
+ const ep2 = event.data.device.getEndpoint(2);
663
+ ep2.addBinding("genOnOff", ep1);
664
+ }
665
+ },
666
+ ota: true,
667
+ },
668
+ {
669
+ zigbeeModel: ["S2 (5502)", "S2-R (5602)"],
670
+ model: "S2",
671
+ vendor: "Ubisys",
672
+ description: "Power switch S2",
673
+ exposes: [
674
+ e.switch().withEndpoint("l1"),
675
+ e.switch().withEndpoint("l2"),
676
+ e.action([
677
+ "toggle_s1",
678
+ "toggle_s2",
679
+ "on_s1",
680
+ "on_s2",
681
+ "off_s1",
682
+ "off_s2",
683
+ "recall_*_s1",
684
+ "recal_*_s2",
685
+ "brightness_move_up_s1",
686
+ "brightness_move_up_s2",
687
+ "brightness_move_down_s1",
688
+ "brightness_move_down_s2",
689
+ "brightness_stop_s1",
690
+ "brightness_stop_s2",
691
+ ]),
692
+ e.power_on_behavior().withEndpoint("l1"),
693
+ e.power_on_behavior().withEndpoint("l2"),
694
+ e.power().withAccess(ea.STATE_GET),
695
+ e.energy().withAccess(ea.STATE_GET),
696
+ ],
697
+ fromZigbee: [
698
+ fz.on_off,
699
+ fz.metering,
700
+ fz.command_toggle,
701
+ fz.command_on,
702
+ fz.command_off,
703
+ fz.command_recall,
704
+ fz.command_move,
705
+ fz.command_stop,
706
+ fz.power_on_behavior,
707
+ ubisys.fz.configure_device_setup,
708
+ ],
709
+ toZigbee: [tz.on_off, tz.metering_power, ubisys.tz.configure_device_setup, tz.power_on_behavior, tz.currentsummdelivered],
710
+ endpoint: (device) => {
711
+ return { l1: 1, l2: 2, s1: 3, s2: 4 };
712
+ },
713
+ meta: { multiEndpoint: true, multiEndpointSkip: ["power", "energy"] },
714
+ extend: [ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup(), ubisys_1.ubisysModernExtend.pollCurrentSummDelivered(5)],
715
+ configure: async (device, coordinatorEndpoint) => {
716
+ const endpoint = device.getEndpoint(5);
717
+ await reporting.bind(endpoint, coordinatorEndpoint, ["seMetering"]);
718
+ await reporting.readMeteringMultiplierDivisor(endpoint);
719
+ await reporting.instantaneousDemand(endpoint);
720
+ },
721
+ onEvent: (event) => {
722
+ /*
723
+ * As per technical doc page 20 section 7.4.4 and
724
+ * page 22 section 7.5.4
725
+ * https://www.ubisys.de/wp-content/uploads/ubisys-s2-technical-reference.pdf
726
+ *
727
+ * This cluster uses the binding table for managing command targets.
728
+ * When factory fresh, this cluster is bound to endpoint #1 to
729
+ * enable local control.
730
+ *
731
+ * This cluster uses the binding table for managing command targets.
732
+ * When factory fresh, this cluster is bound to endpoint #2 to
733
+ * enable local control
734
+ *
735
+ * We use addBinding to 'record' this default binding.
736
+ */
737
+ if (event.type === "deviceInterview") {
738
+ const ep1 = event.data.device.getEndpoint(1);
739
+ const ep2 = event.data.device.getEndpoint(2);
740
+ const ep3 = event.data.device.getEndpoint(3);
741
+ const ep4 = event.data.device.getEndpoint(4);
742
+ ep3.addBinding("genOnOff", ep1);
743
+ ep4.addBinding("genOnOff", ep2);
744
+ }
745
+ },
746
+ ota: true,
747
+ },
748
+ {
749
+ zigbeeModel: ["D1 (5503)", "D1-R (5603)"],
750
+ model: "D1",
751
+ vendor: "Ubisys",
752
+ description: "Universal dimmer D1",
753
+ fromZigbee: [
754
+ fz.on_off,
755
+ fz.brightness,
756
+ fz.metering,
757
+ fz.command_toggle,
758
+ fz.command_on,
759
+ fz.command_off,
760
+ fz.command_recall,
761
+ fz.command_move,
762
+ fz.command_stop,
763
+ fz.lighting_ballast_configuration,
764
+ fz.level_config,
765
+ ubisys.fz.dimmer_setup,
766
+ ubisys.fz.dimmer_setup_genLevelCtrl,
767
+ ubisys.fz.configure_device_setup,
768
+ ],
769
+ toZigbee: [
770
+ tz.light_onoff_brightness,
771
+ tz.ballast_config,
772
+ tz.level_config,
773
+ ubisys.tz.dimmer_setup,
774
+ ubisys.tz.dimmer_setup_genLevelCtrl,
775
+ ubisys.tz.configure_device_setup,
776
+ tz.ignore_transition,
777
+ tz.light_brightness_move,
778
+ tz.light_brightness_step,
779
+ tz.metering_power,
780
+ tz.currentsummdelivered,
781
+ ],
782
+ exposes: [
783
+ e.action([
784
+ "toggle_s1",
785
+ "toggle_s2",
786
+ "on_s1",
787
+ "on_s2",
788
+ "off_s1",
789
+ "off_s2",
790
+ "recall_*_s1",
791
+ "recal_*_s2",
792
+ "brightness_move_up_s1",
793
+ "brightness_move_up_s2",
794
+ "brightness_move_down_s1",
795
+ "brightness_move_down_s2",
796
+ "brightness_stop_s1",
797
+ "brightness_stop_s2",
798
+ ]),
799
+ e.light_brightness(),
800
+ e
801
+ .composite("level_config", "level_config", ea.ALL)
802
+ .withFeature(e
803
+ .numeric("on_off_transition_time", ea.ALL)
804
+ .withDescription("Specifies the amount of time, in units of 0.1 seconds, which will be used during a transition to " +
805
+ "either the on or off state, when an on/off/toggle command of the on/off cluster is used to turn the light on or off"))
806
+ .withFeature(e
807
+ .numeric("on_level", ea.ALL)
808
+ .withValueMin(1)
809
+ .withValueMax(254)
810
+ .withPreset("previous", 255, "Use previous value")
811
+ .withDescription("Specifies the level that shall be applied, when an on/toggle command causes the light to turn on."))
812
+ .withFeature(e
813
+ .binary("execute_if_off", ea.ALL, true, false)
814
+ .withDescription("Defines if you can send a brightness change without to turn on the light"))
815
+ .withFeature(e
816
+ .numeric("current_level_startup", ea.ALL)
817
+ .withValueMin(1)
818
+ .withValueMax(254)
819
+ .withPreset("previous", 255, "Use previous value")
820
+ .withDescription("Specifies the initial level to be applied after the device is supplied with power")),
821
+ e.power().withAccess(ea.STATE_GET),
822
+ e.energy().withAccess(ea.STATE_GET),
823
+ e
824
+ .numeric("ballast_minimum_level", ea.ALL)
825
+ .withValueMin(1)
826
+ .withValueMax(254)
827
+ .withDescription("Specifies the minimum light output of the ballast"),
828
+ e
829
+ .numeric("ballast_maximum_level", ea.ALL)
830
+ .withValueMin(1)
831
+ .withValueMax(254)
832
+ .withDescription("Specifies the maximum light output of the ballast"),
833
+ e
834
+ .numeric("minimum_on_level", ea.ALL)
835
+ .withValueMin(0)
836
+ .withValueMax(255)
837
+ .withDescription("Specifies the minimum level that shall be applied, when an on/toggle command causes the " +
838
+ "light to turn on. When this attribute is set to the invalid value (255) this feature is disabled " +
839
+ "and standard rules apply: The light will either return to the previously active level (before it " +
840
+ "was turned off) if the OnLevel attribute is set to the invalid value (255/previous); or to the specified " +
841
+ "value of the OnLevel attribute if this value is in the range 0…254. Otherwise, if the " +
842
+ "MinimumOnLevel is in the range 0…254, the light will be set to the the previously " +
843
+ "active level (before it was turned off), or the value specified here, whichever is the larger " +
844
+ "value. For example, if the previous level was 30 and the MinimumOnLevel was 40 then " +
845
+ "the light would turn on and move to level 40. Conversely, if the previous level was 50, " +
846
+ "and the MinimumOnLevel was 40, then the light would turn on and move to level 50."),
847
+ e.binary("capabilities_forward_phase_control", ea.ALL, true, false).withDescription("The dimmer supports AC forward phase control."),
848
+ e.binary("capabilities_reverse_phase_control", ea.ALL, true, false).withDescription("The dimmer supports AC reverse phase control."),
849
+ e
850
+ .binary("capabilities_reactance_discriminator", ea.ALL, true, false)
851
+ .withDescription("The dimmer is capable of measuring the reactanceto distinguish inductive and capacitive loads."),
852
+ e
853
+ .binary("capabilities_configurable_curve", ea.ALL, true, false)
854
+ .withDescription("The dimmer is capable of replacing the built-in, default dimming curve."),
855
+ e
856
+ .binary("capabilities_overload_detection", ea.ALL, true, false)
857
+ .withDescription("The dimmer is capable of detecting an output overload and shutting the output off."),
858
+ e
859
+ .binary("status_forward_phase_control", ea.ALL, true, false)
860
+ .withDescription("The dimmer is currently operating in AC forward phase control mode."),
861
+ e
862
+ .binary("status_reverse_phase_control", ea.ALL, true, false)
863
+ .withDescription("The dimmer is currently operating in AC reverse phase control mode."),
864
+ e
865
+ .binary("status_overload", ea.ALL, true, false)
866
+ .withDescription("The output is currently turned off, because the dimmer has detected an overload."),
867
+ e
868
+ .binary("status_capacitive_load", ea.ALL, true, false)
869
+ .withDescription("The dimmer's reactance discriminator had detected a capacitive load."),
870
+ e
871
+ .binary("status_inductive_load", ea.ALL, true, false)
872
+ .withDescription("The dimmer's reactance discriminator had detected an inductive load."),
873
+ e.enum("mode_phase_control", ea.ALL, ["automatic", "forward", "reverse"]).withDescription("Configures the dimming technique."),
874
+ ],
875
+ extend: [
876
+ ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup(),
877
+ ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDimmerSetup(),
878
+ ubisys_1.ubisysModernExtend.addCustomClusterGenLevelCtrl(),
879
+ ubisys_1.ubisysModernExtend.pollCurrentSummDelivered(4),
880
+ ],
881
+ configure: async (device, coordinatorEndpoint) => {
882
+ const endpoint = device.getEndpoint(4);
883
+ await reporting.bind(endpoint, coordinatorEndpoint, ["seMetering"]);
884
+ await reporting.readMeteringMultiplierDivisor(endpoint);
885
+ await reporting.instantaneousDemand(endpoint);
886
+ },
887
+ meta: { multiEndpoint: true, multiEndpointSkip: ["state", "brightness", "power", "energy"] },
888
+ endpoint: (device) => {
889
+ return { default: 1, s1: 2, s2: 3 };
890
+ },
891
+ onEvent: (event) => {
892
+ /*
893
+ * As per technical doc page 23 section 7.3.4, 7.3.5
894
+ * https://www.ubisys.de/wp-content/uploads/ubisys-d1-technical-reference.pdf
895
+ *
896
+ * We use addBinding to 'record' this default binding.
897
+ */
898
+ if (event.type === "deviceInterview") {
899
+ const ep1 = event.data.device.getEndpoint(1);
900
+ const ep2 = event.data.device.getEndpoint(2);
901
+ ep2.addBinding("genOnOff", ep1);
902
+ ep2.addBinding("genLevelCtrl", ep1);
903
+ }
904
+ },
905
+ ota: true,
906
+ },
907
+ {
908
+ zigbeeModel: ["J1 (5502)", "J1-R (5602)"],
909
+ model: "J1",
910
+ vendor: "Ubisys",
911
+ description: "Shutter control J1",
912
+ fromZigbee: [fz.cover_position_tilt, fz.metering, ubisys.fz.configure_device_setup],
913
+ toZigbee: [
914
+ tz.cover_state,
915
+ tz.cover_position_tilt,
916
+ tz.metering_power,
917
+ ubisys.tz.configure_j1,
918
+ ubisys.tz.configure_device_setup,
919
+ tz.currentsummdelivered,
920
+ ],
921
+ exposes: (device, options) => {
922
+ const coverExpose = e.cover();
923
+ const coverType = !utils.isDummyDevice(device)
924
+ ? device.getEndpoint(1).getClusterAttributeValue("closuresWindowCovering", "windowCoveringType")
925
+ : undefined;
926
+ switch (coverType // cf. Ubisys J1 Technical Reference Manual, chapter 7.2.5.1 Calibration
927
+ ) {
928
+ case 0: // Roller Shade, Lift only
929
+ case 1: // Roller Shade two motors, Lift only
930
+ case 2: // Roller Shade exterior, Lift only
931
+ case 3: // Roller Shade two motors exterior, Lift only
932
+ case 4: // Drapery, Lift only
933
+ case 5: // Awning, Lift only
934
+ case 9: // Projector Screen, Lift only
935
+ coverExpose.withPosition();
936
+ break;
937
+ case 6: // Shutter, Tilt only
938
+ case 7: // Tilt Blind, Tilt only
939
+ coverExpose.withTilt();
940
+ break;
941
+ default:
942
+ coverExpose.withPosition().withTilt();
943
+ break;
944
+ }
945
+ return [coverExpose, e.power().withAccess(ea.STATE_GET), e.energy().withAccess(ea.STATE_GET)];
946
+ },
947
+ extend: [
948
+ ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup(),
949
+ ubisys_1.ubisysModernExtend.addCustomClusterClosuresWindowCovering(),
950
+ ubisys_1.ubisysModernExtend.pollCurrentSummDelivered(3),
951
+ ],
952
+ configure: async (device, coordinatorEndpoint) => {
953
+ const endpoint1 = device.getEndpoint(1);
954
+ const endpoint3 = device.getEndpoint(3);
955
+ await reporting.bind(endpoint3, coordinatorEndpoint, ["seMetering"]);
956
+ await reporting.readMeteringMultiplierDivisor(endpoint3);
957
+ await reporting.instantaneousDemand(endpoint3);
958
+ await reporting.bind(endpoint1, coordinatorEndpoint, ["closuresWindowCovering"]);
959
+ await reporting.currentPositionLiftPercentage(endpoint1);
960
+ },
961
+ onEvent: (event) => {
962
+ /*
963
+ * As per technical doc page 21 section 7.3.4
964
+ * https://www.ubisys.de/wp-content/uploads/ubisys-j1-technical-reference.pdf
965
+ *
966
+ * We use addBinding to 'record' this default binding.
967
+ */
968
+ if (event.type === "deviceInterview") {
969
+ const ep1 = event.data.device.getEndpoint(1);
970
+ const ep2 = event.data.device.getEndpoint(2);
971
+ ep2.addBinding("closuresWindowCovering", ep1);
972
+ }
973
+ },
974
+ ota: true,
975
+ },
976
+ {
977
+ zigbeeModel: ["C4 (5504)"],
978
+ model: "C4",
979
+ vendor: "Ubisys",
980
+ description: "Control unit C4",
981
+ fromZigbee: [
982
+ fz.command_toggle,
983
+ fz.command_on,
984
+ fz.command_off,
985
+ fz.command_recall,
986
+ fz.command_move,
987
+ fz.command_stop,
988
+ fz.command_cover_open,
989
+ fz.command_cover_close,
990
+ fz.command_cover_stop,
991
+ ubisys.fz.configure_device_setup,
992
+ ],
993
+ toZigbee: [ubisys.tz.configure_device_setup],
994
+ exposes: [
995
+ e.action([
996
+ "toggle_s1",
997
+ "toggle_s2",
998
+ "toggle_s3",
999
+ "toggle_s4",
1000
+ "on_s1",
1001
+ "on_s2",
1002
+ "on_s3",
1003
+ "on_s4",
1004
+ "off_s1",
1005
+ "off_s2",
1006
+ "off_s3",
1007
+ "off_s4",
1008
+ "recall_*_s1",
1009
+ "recal_*_s2",
1010
+ "recall_*_s3",
1011
+ "recal_*_s4",
1012
+ "brightness_move_up_s1",
1013
+ "brightness_move_up_s2",
1014
+ "brightness_move_up_s3",
1015
+ "brightness_move_up_s4",
1016
+ "brightness_move_down_s1",
1017
+ "brightness_move_down_s2",
1018
+ "brightness_move_down_s3",
1019
+ "brightness_move_down_s4",
1020
+ "brightness_stop_s1",
1021
+ "brightness_stop_s2",
1022
+ "brightness_stop_s3",
1023
+ "brightness_stop_s4",
1024
+ "cover_open_s5",
1025
+ "cover_close_s5",
1026
+ "cover_stop_s5",
1027
+ "cover_open_s6",
1028
+ "cover_close_s6",
1029
+ "cover_stop_s6",
1030
+ ]),
1031
+ ],
1032
+ extend: [ubisys_1.ubisysModernExtend.addCustomClusterManuSpecificUbisysDeviceSetup()],
1033
+ configure: async (device, coordinatorEndpoint) => {
1034
+ for (const ep of [1, 2, 3, 4]) {
1035
+ await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genScenes", "genOnOff", "genLevelCtrl"]);
1036
+ }
1037
+ for (const ep of [5, 6]) {
1038
+ await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genScenes", "closuresWindowCovering"]);
1039
+ }
1040
+ },
1041
+ meta: { multiEndpoint: true },
1042
+ endpoint: (device) => {
1043
+ return { s1: 1, s2: 2, s3: 3, s4: 4, s5: 5, s6: 6 };
1044
+ },
1045
+ ota: true,
1046
+ },
1047
+ {
1048
+ zigbeeModel: ["H1"],
1049
+ model: "H1",
1050
+ vendor: "Ubisys",
1051
+ description: "Heating regulator",
1052
+ meta: { thermostat: { dontMapPIHeatingDemand: true } },
1053
+ fromZigbee: [fz.thermostat, fz.thermostat_weekly_schedule],
1054
+ toZigbee: [
1055
+ tz.thermostat_occupied_heating_setpoint,
1056
+ tz.thermostat_unoccupied_heating_setpoint,
1057
+ tz.thermostat_local_temperature,
1058
+ tz.thermostat_system_mode,
1059
+ tz.thermostat_weekly_schedule,
1060
+ tz.thermostat_clear_weekly_schedule,
1061
+ tz.thermostat_running_mode,
1062
+ tz.thermostat_pi_heating_demand,
1063
+ ],
1064
+ exposes: [
1065
+ e
1066
+ .climate()
1067
+ .withSystemMode(["off", "heat"], ea.ALL)
1068
+ .withRunningMode(["off", "heat"])
1069
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1070
+ .withSetpoint("unoccupied_heating_setpoint", 7, 30, 0.5)
1071
+ .withLocalTemperature()
1072
+ .withPiHeatingDemand(ea.STATE_GET)
1073
+ .withWeeklySchedule(["heat"]),
1074
+ ],
1075
+ extend: [
1076
+ ubisys_1.ubisysModernExtend.addCustomClusterHvacThermostat(),
1077
+ ubisys_1.ubisysModernExtend.openWindowState(),
1078
+ ubisys_1.ubisysModernExtend.vacationMode(),
1079
+ ubisys_1.ubisysModernExtend.localTemperatureOffset(),
1080
+ ubisys_1.ubisysModernExtend.occupiedHeatingSetpointDefault(),
1081
+ ubisys_1.ubisysModernExtend.remoteTemperatureDuration(),
1082
+ ubisys_1.ubisysModernExtend.openWindowDetect(),
1083
+ ubisys_1.ubisysModernExtend.openWindowTimeout(),
1084
+ ubisys_1.ubisysModernExtend.openWindowDetectionPeriod(),
1085
+ ubisys_1.ubisysModernExtend.openWindowSensitivity(),
1086
+ m.battery({
1087
+ percentage: true,
1088
+ voltage: true,
1089
+ voltageReporting: true,
1090
+ percentageReporting: true,
1091
+ }),
1092
+ ],
1093
+ configure: async (device, coordinatorEndpoint) => {
1094
+ const endpoint = device.getEndpoint(1);
1095
+ const binds = ["genBasic", "genPowerCfg", "genTime", "hvacThermostat"];
1096
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1097
+ // reporting
1098
+ // NOTE: temperature is 0.5 deg steps
1099
+ // NOTE: unoccupied_heating_setpoint cannot be set via the device itself
1100
+ // so we do not need to setup reporting for this, as reporting slots
1101
+ // seem to be limited.
1102
+ await reporting.thermostatSystemMode(endpoint);
1103
+ await reporting.thermostatRunningMode(endpoint);
1104
+ await reporting.thermostatTemperature(endpoint, { min: 0, max: constants.repInterval.HOUR, change: 50 });
1105
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint, { min: 0, max: constants.repInterval.HOUR, change: 50 });
1106
+ await reporting.thermostatPIHeatingDemand(endpoint, { min: 15, max: constants.repInterval.HOUR, change: 1 });
1107
+ // read attributes
1108
+ // NOTE: configuring reporting on hvacThermostat seems to trigger an immediate
1109
+ // report, so the values are available after configure has run.
1110
+ // this does not seem to be the case for genPowerCfg, so we read
1111
+ // the battery percentage
1112
+ await endpoint.read("genPowerCfg", ["batteryPercentageRemaining"]);
1113
+ // write attributes
1114
+ // NOTE: device checks in every 1h once the device has entered deepsleep
1115
+ // this might be a bit long if you want to set the temperature remotely
1116
+ // update this to every 15 minutes. (value is in 1/4th of a second)
1117
+ await endpoint.write("genPollCtrl", { checkinInterval: 4 * 60 * 15 });
1118
+ },
1119
+ ota: true,
1120
+ },
1121
+ {
1122
+ zigbeeModel: ["H10"],
1123
+ model: "H10",
1124
+ vendor: "Ubisys",
1125
+ description: "Heatingcontrol 10-Way",
1126
+ meta: { thermostat: { dontMapPIHeatingDemand: true }, multiEndpoint: true },
1127
+ fromZigbee: [fz.on_off, fz.thermostat, fz.thermostat_weekly_schedule],
1128
+ toZigbee: [
1129
+ tz.on_off,
1130
+ tz.thermostat_occupied_heating_setpoint,
1131
+ tz.thermostat_unoccupied_heating_setpoint,
1132
+ tz.thermostat_occupied_cooling_setpoint,
1133
+ tz.thermostat_unoccupied_cooling_setpoint,
1134
+ tz.thermostat_local_temperature,
1135
+ tz.thermostat_system_mode,
1136
+ tz.thermostat_weekly_schedule,
1137
+ tz.thermostat_clear_weekly_schedule,
1138
+ tz.thermostat_running_mode,
1139
+ tz.thermostat_pi_heating_demand,
1140
+ ],
1141
+ endpoint: (device) => {
1142
+ return {
1143
+ th1: 1,
1144
+ th2: 2,
1145
+ th3: 3,
1146
+ th4: 4,
1147
+ th5: 5,
1148
+ th6: 6,
1149
+ th7: 7,
1150
+ th8: 8,
1151
+ th9: 9,
1152
+ th10: 10,
1153
+ l1: 11,
1154
+ l2: 12,
1155
+ l3: 13,
1156
+ l4: 14,
1157
+ l5: 15,
1158
+ l6: 16,
1159
+ l7: 17,
1160
+ l8: 18,
1161
+ l9: 19,
1162
+ l10: 20,
1163
+ default: 21,
1164
+ };
1165
+ },
1166
+ exposes: [
1167
+ e.switch().withEndpoint("l1"),
1168
+ e.switch().withEndpoint("l2"),
1169
+ e.switch().withEndpoint("l3"),
1170
+ e.switch().withEndpoint("l4"),
1171
+ e.switch().withEndpoint("l5"),
1172
+ e.switch().withEndpoint("l6"),
1173
+ e.switch().withEndpoint("l7"),
1174
+ e.switch().withEndpoint("l8"),
1175
+ e.switch().withEndpoint("l9"),
1176
+ e.switch().withEndpoint("l10"),
1177
+ e
1178
+ .climate()
1179
+ .withEndpoint("th1")
1180
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1181
+ .withRunningMode(["off", "heat", "cool"])
1182
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1183
+ .withLocalTemperature()
1184
+ .withPiHeatingDemand(ea.STATE_GET),
1185
+ e
1186
+ .climate()
1187
+ .withEndpoint("th2")
1188
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1189
+ .withRunningMode(["off", "heat", "cool"])
1190
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1191
+ .withLocalTemperature()
1192
+ .withPiHeatingDemand(ea.STATE_GET),
1193
+ e
1194
+ .climate()
1195
+ .withEndpoint("th3")
1196
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1197
+ .withRunningMode(["off", "heat", "cool"])
1198
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1199
+ .withLocalTemperature()
1200
+ .withPiHeatingDemand(ea.STATE_GET),
1201
+ e
1202
+ .climate()
1203
+ .withEndpoint("th4")
1204
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1205
+ .withRunningMode(["off", "heat", "cool"])
1206
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1207
+ .withLocalTemperature()
1208
+ .withPiHeatingDemand(ea.STATE_GET),
1209
+ e
1210
+ .climate()
1211
+ .withEndpoint("th5")
1212
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1213
+ .withRunningMode(["off", "heat", "cool"])
1214
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1215
+ .withLocalTemperature()
1216
+ .withPiHeatingDemand(ea.STATE_GET),
1217
+ e
1218
+ .climate()
1219
+ .withEndpoint("th6")
1220
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1221
+ .withRunningMode(["off", "heat", "cool"])
1222
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1223
+ .withLocalTemperature()
1224
+ .withPiHeatingDemand(ea.STATE_GET),
1225
+ e
1226
+ .climate()
1227
+ .withEndpoint("th7")
1228
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1229
+ .withRunningMode(["off", "heat", "cool"])
1230
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1231
+ .withLocalTemperature()
1232
+ .withPiHeatingDemand(ea.STATE_GET),
1233
+ e
1234
+ .climate()
1235
+ .withEndpoint("th8")
1236
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1237
+ .withRunningMode(["off", "heat", "cool"])
1238
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1239
+ .withLocalTemperature()
1240
+ .withPiHeatingDemand(ea.STATE_GET),
1241
+ e
1242
+ .climate()
1243
+ .withEndpoint("th9")
1244
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1245
+ .withRunningMode(["off", "heat", "cool"])
1246
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1247
+ .withLocalTemperature()
1248
+ .withPiHeatingDemand(ea.STATE_GET),
1249
+ e
1250
+ .climate()
1251
+ .withEndpoint("th10")
1252
+ .withSystemMode(["off", "heat", "cool"], ea.ALL)
1253
+ .withRunningMode(["off", "heat", "cool"])
1254
+ .withSetpoint("occupied_heating_setpoint", 7, 30, 0.5)
1255
+ .withLocalTemperature()
1256
+ .withPiHeatingDemand(ea.STATE_GET),
1257
+ ],
1258
+ extend: [ubisys_1.ubisysModernExtend.addCustomClusterHvacThermostat(), ubisys_1.ubisysModernExtend.addCustomClusterGenLevelCtrl()],
1259
+ configure: async (device, coordinatorEndpoint) => {
1260
+ // setup ep 1-10 as thermostats
1261
+ // NOTE: doesn't look like fz/tz.thermostat and friends support
1262
+ // multiEndpoint
1263
+ const thermostatBinds = ["hvacThermostat"];
1264
+ for (let ep = 1; ep <= 10; ep++) {
1265
+ const endpoint = device.getEndpoint(ep);
1266
+ await reporting.bind(endpoint, coordinatorEndpoint, thermostatBinds);
1267
+ await reporting.thermostatSystemMode(endpoint);
1268
+ await reporting.thermostatTemperature(endpoint, { min: 0, max: constants.repInterval.HOUR, change: 50 });
1269
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint, { min: 0, max: constants.repInterval.HOUR, change: 50 });
1270
+ await reporting.thermostatOccupiedCoolingSetpoint(endpoint, { min: 0, max: constants.repInterval.HOUR, change: 50 });
1271
+ await reporting.thermostatPIHeatingDemand(endpoint, { min: 15, max: constants.repInterval.HOUR, change: 1 });
1272
+ await reporting.thermostatPICoolingDemand(endpoint, { min: 15, max: constants.repInterval.HOUR, change: 1 });
1273
+ }
1274
+ // setup ep 11-20 as on/off switches
1275
+ const heaterCoolerBinds = ["genOnOff"];
1276
+ for (let ep = 11; ep <= 20; ep++) {
1277
+ const endpoint = device.getEndpoint(ep);
1278
+ await reporting.bind(endpoint, coordinatorEndpoint, heaterCoolerBinds);
1279
+ await reporting.onOff(endpoint);
1280
+ }
1281
+ },
1282
+ ota: true,
1283
+ },
1284
+ {
1285
+ zigbeeModel: ["R0 (5501)"],
1286
+ model: "R0",
1287
+ vendor: "Ubisys",
1288
+ description: "Zigbee Router",
1289
+ fromZigbee: [fz.linkquality_from_basic],
1290
+ toZigbee: [],
1291
+ exposes: [],
1292
+ ota: true,
1293
+ },
1294
+ ];
1295
+ //# sourceMappingURL=ubisys.js.map