@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,2972 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.definitions = void 0;
37
+ const zigbee_herdsman_1 = require("@willieee802/zigbee-herdsman");
38
+ const tz = __importStar(require("../converters/toZigbee"));
39
+ const constants_1 = require("../lib/constants");
40
+ const exposes = __importStar(require("../lib/exposes"));
41
+ const logger_1 = require("../lib/logger");
42
+ const m = __importStar(require("../lib/modernExtend"));
43
+ const utils = __importStar(require("../lib/utils"));
44
+ // #region Constants
45
+ const e = exposes.presets;
46
+ const ea = exposes.access;
47
+ // const manufacturerOptions = {manufacturerCode: Zcl.ManufacturerCode.YOKIS};
48
+ const NS = "zhc:yokis";
49
+ // stateAfterBlinkEnum (manuSpecificYokisLightControl)
50
+ const stateAfterBlinkEnum = {
51
+ previous: 0x00,
52
+ off: 0x01,
53
+ on: 0x02,
54
+ infinite: 0x03,
55
+ };
56
+ // resetActionEnum (manuSpecificYokisDevice)
57
+ const resetActionEnum = {
58
+ factory_reset: 0x00,
59
+ configuration_reset: 0x01,
60
+ network_reset: 0x02,
61
+ };
62
+ // inputModeEnum (manuSpecificYokisInput)
63
+ const inputModeEnum = {
64
+ unknown: 0x00,
65
+ push_button: 0x01, // default
66
+ switch: 0x02,
67
+ relay: 0x03,
68
+ fp_in: 0x04, // Fil pilote
69
+ };
70
+ // pilotwireOrderEnun (manuSpecificYokisPilotWire)
71
+ const pilotwireOrderEnun = {
72
+ stop: 0x00,
73
+ frost_off: 0x01,
74
+ eco: 0x02,
75
+ confort_2: 0x03,
76
+ confort_1: 0x04,
77
+ confort: 0x05,
78
+ };
79
+ const YokisClustersDefinition = {
80
+ manuSpecificYokisDevice: {
81
+ ID: 0xfc01,
82
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
83
+ attributes: {
84
+ // Indicate if the device configuration has changed. 0 to 0xFFFE -> No Change, 0xFFFF -> Change have been detected
85
+ configurationChanged: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
86
+ },
87
+ commands: {
88
+ // Reset setting depending on RESET ACTION value
89
+ resetToFactorySettings: {
90
+ ID: 0x00,
91
+ response: 0,
92
+ parameters: [
93
+ // 0x00 -> Factory reset, 0x01 -> Configuration Reset, 0x02 -> Network Reset
94
+ { name: "uc_ResetAction", type: zigbee_herdsman_1.Zcl.DataType.INT8 },
95
+ ],
96
+ },
97
+ // Relaunch BLE advertising for 15 minutes
98
+ relaunchBleAdvert: {
99
+ ID: 0x11,
100
+ response: 0,
101
+ parameters: [],
102
+ },
103
+ // Open Zigbee network
104
+ openNetwork: {
105
+ ID: 0x12,
106
+ response: 0,
107
+ parameters: [
108
+ // Opening time wanted from 1 to 255 seconds,0 means closing the network.
109
+ { name: "uc_OpeningTime", type: zigbee_herdsman_1.Zcl.DataType.INT8 },
110
+ ],
111
+ },
112
+ },
113
+ commandsResponse: {},
114
+ },
115
+ manuSpecificYokisInput: {
116
+ ID: 0xfc02,
117
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
118
+ attributes: {
119
+ // Indicate how the input should be handle: 0 -> Unknown, 1 -> Push button, 2 -> Switch, 3 -> Relay, 4 -> FP_IN
120
+ inputMode: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
121
+ // Indicate the contact nature of the entry: 0 -> NC, 1 -> NO
122
+ contactMode: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
123
+ // Indicate the last known state of the local BP (Bouton Poussoir, or Push Button)
124
+ lastLocalCommandState: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
125
+ // Indicate the last known state of the Bp connect
126
+ lastBPConnectState: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
127
+ // Indicate the backlight intensity applied on the keys. Only use for “Simon” product. Default: 0x0A, Min-Max: 0x00 - 0x64
128
+ backlightIntensity: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
129
+ },
130
+ commands: {
131
+ // Send to the server cluster a button press
132
+ sendPress: {
133
+ ID: 0x00,
134
+ parameters: [],
135
+ },
136
+ // Send to the server cluster a button release
137
+ sendRelease: {
138
+ ID: 0x01,
139
+ parameters: [],
140
+ },
141
+ // Change the Input mode to use switch input, wired relay or simple push button
142
+ selectInputMode: {
143
+ ID: 0x02,
144
+ parameters: [
145
+ // Input mode to be set. See @inputMode
146
+ { name: "uc_InputMode", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
147
+ ],
148
+ },
149
+ },
150
+ commandsResponse: {},
151
+ },
152
+ manuSpecificYokisEntryConfigurator: {
153
+ ID: 0xfc03,
154
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
155
+ attributes: {
156
+ // Use to enable short press action
157
+ eShortPress: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
158
+ // Use to enable long press action
159
+ eLongPress: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
160
+ // Define long Press duration in milliseconds. Default: 0x0BB8, Min-Max: 0x00 - 0x1388
161
+ longPressDuration: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
162
+ // Define the maximum time between 2 press to keep in a sequence (In milliseconds). Default: 0x01F4, Min-Max: 0x0064 - 0x0258
163
+ timeBetweenPress: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
164
+ // Enable R12M Long Press action
165
+ eR12MLongPress: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
166
+ // Disable local configuration
167
+ eLocalConfigLock: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
168
+ },
169
+ commands: {},
170
+ commandsResponse: {},
171
+ },
172
+ manuSpecificYokisSubSystem: {
173
+ ID: 0xfc04,
174
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
175
+ attributes: {
176
+ // Define the device behavior after power failure : 0 -> LAST STATE, 1 -> OFF, 2 -> ON, 3-> BLINK
177
+ powerFailureMode: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
178
+ },
179
+ commands: {},
180
+ commandsResponse: {},
181
+ },
182
+ manuSpecificYokisLoadManager: {
183
+ ID: 0xfc05, // Details coming soon
184
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
185
+ attributes: {},
186
+ commands: {},
187
+ commandsResponse: {},
188
+ },
189
+ manuSpecificYokisLightControl: {
190
+ ID: 0xfc06,
191
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
192
+ attributes: {
193
+ // Use to know which state is the relay
194
+ onOff: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
195
+ // Indicate the previous state before action
196
+ prevState: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
197
+ // Define the ON embedded timer duration in seconds. Default: 0x00, Min-Max: 0x00 – 0x00409980
198
+ onTimer: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
199
+ // Enable (0x01) / Disable (0x00) use of onTimer.
200
+ eOnTimer: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
201
+ // Define the PRE-ON embedded delay in seconds. Default: 0x00, Min-Max: 0x00 – 0x00409980
202
+ preOnDelay: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
203
+ // Enable (0x01) / Disable (0x00) use of PreOnTimer.
204
+ ePreOnDelay: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
205
+ // Define the PRE-OFF embedded delay in seconds. Default: 0x00, Min-Max: 0x00 – 0x00409980
206
+ preOffDelay: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
207
+ // Enable (0x01) / Disable (0x00) PreOff delay.
208
+ ePreOffDelay: { ID: 0x0009, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
209
+ // Set the value of ON pulse length. Default: 0x01F4, Min-Max: 0x0014 – 0xFFFE
210
+ pulseDuration: { ID: 0x000a, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
211
+ // Indicates the current Type of time selected that will be used during push button configuration: 0x00 -> Seconds, 0x01 -> Minutes
212
+ timeType: { ID: 0x000b, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
213
+ // Set the value of the LONG ON embedded timer in seconds. Default: 0x5460 (1h), Min-Max: 0x00 – 0x00409980
214
+ longOnDuration: { ID: 0x000c, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
215
+ // Indicates the operating mode: 0x00 -> Timer, 0x01 -> Staircase, 0x02 -> Pulse
216
+ operatingMode: { ID: 0x000d, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
217
+ // Time before goes off after the stop announce blinking. (In seconds). Default: 0x0000, Min-Max: 0x00 – 0x00409980
218
+ stopAnnounceTime: { ID: 0x0013, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
219
+ // Enable (0x01) / Disable (0x00) the announcement before turning OFF.
220
+ eStopAnnounce: { ID: 0x0014, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
221
+ // Enable (0x01) / Disable (0x00) Deaf Actions.
222
+ eDeaf: { ID: 0x0015, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
223
+ // Enable (0x01) / Disable (0x00) Blink Actions.
224
+ eBlink: { ID: 0x0016, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
225
+ // Number of blinks done when receiving the corresponding order. One blink is considered as one ON step followed by one OFF step.
226
+ // Default: 0x03, Min-Max: 0x00 – 0x14
227
+ blinkAmount: { ID: 0x0017, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
228
+ // Duration for the ON time on a blink period (In millisecond). Default: 0x000001F4, Min-Max: 0x00 – 0x00409980
229
+ blinkOnTime: { ID: 0x0018, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
230
+ // Duration for the OFF time on a blink period (In millisecond). Default: 0x000001F4, Min-Max: 0x00 – 0x00409980
231
+ blinkOffTime: { ID: 0x0019, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
232
+ // Define number of blink to do when receiving the DEAF action. One blink is considered as one ON step followed by one OFF step.
233
+ // Default: 0x03, Min-Max: 0x00 – 0x14
234
+ deafBlinkAmount: { ID: 0x001a, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
235
+ // Define duration of a blink ON (In millisecond). Default: 0x0320, Min-Max: 0x0064– 0x4E20
236
+ deafBlinkTime: { ID: 0x001b, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
237
+ // Indicate which state must be apply after a blink sequence: 0x00 -> State before blinking, 0x01 -> OFF, 0x02 -> ON
238
+ stateAfterBlink: { ID: 0x001c, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
239
+ // Define the output relay as Normaly close.
240
+ eNcCommand: { ID: 0x001d, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
241
+ },
242
+ commands: {
243
+ // Move to position specified in uc_BrightnessEnd parameter.
244
+ // If TOR mode or MTR is set (no dimming) : if uc_BrightnessEnd under 50% will set to OFF else will be set to ON
245
+ moveToPosition: {
246
+ ID: 0x02,
247
+ parameters: [
248
+ { name: "uc_BrightnessStart", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
249
+ { name: "uc_BrightnessEnd", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
250
+ { name: "ul_PreTimerValue", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
251
+ { name: "b_PreTimerEnable", type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
252
+ { name: "ul_TimerValue", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
253
+ { name: "b_TimerEnable", type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
254
+ { name: "ul_TransitionTime", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
255
+ ],
256
+ },
257
+ // This command allows the relay to be controlled with an impulse. The pulse time is defined by PulseLength.
258
+ pulse: {
259
+ ID: 0x04,
260
+ parameters: [{ name: "PulseLength", type: zigbee_herdsman_1.Zcl.DataType.UINT16 }],
261
+ },
262
+ // With this command, the module is asked to perform a blinking sequence.
263
+ blink: {
264
+ ID: 0x05,
265
+ parameters: [
266
+ { name: "uc_BlinkAmount", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
267
+ { name: "ul_BlinkOnPeriod", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
268
+ { name: "ul_BlinkOffPeriod", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
269
+ { name: "uc_StateAfterSequence", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
270
+ { name: "b_DoPeriodicCycle", type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
271
+ ],
272
+ },
273
+ // Start a deaf sequence on a device only if the attribute “eDeaf” is set to Enable.
274
+ deafBlink: {
275
+ ID: 0x06,
276
+ parameters: [
277
+ { name: "uc_BlinkAmount", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
278
+ { name: "ul_BlinkOnTime", type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
279
+ { name: "uc_SequenceAmount", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
280
+ { name: "tuc_BlinkAmount", type: zigbee_herdsman_1.Zcl.DataType.ARRAY },
281
+ ],
282
+ },
283
+ // Switch output ON for LONG ON DURATION time.
284
+ longOn: {
285
+ ID: 0x07,
286
+ parameters: [],
287
+ },
288
+ },
289
+ commandsResponse: {},
290
+ },
291
+ manuSpecificYokisDimmer: {
292
+ ID: 0xfc07,
293
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
294
+ attributes: {
295
+ // This attribute defines the current position, in %. Default: 0x00, Min-Max: 0x00 - 0x64
296
+ currentPosition: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
297
+ // This attribute defines the memory position, in %. Default: 0x00, Min-Max: 0x00 - 0x64
298
+ memoryPosition: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
299
+ // This attribute defines if a ramp up should be used or not.
300
+ eRampUp: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
301
+ // This attribute defines the time taken during the ramp up in ms. Default: 0x000003E8, Min-Max: 0x00000000 – 0x05265C00
302
+ rampUp: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
303
+ // This attribute defines if a ramp down should be used or not.
304
+ eRampDown: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
305
+ // This attribute defines the time taken during the ramp down in ms. Default: 0x000003E8, Min-Max: 0x00000000 – 0x05265C00
306
+ rampDown: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
307
+ // This attribute defines the time taken during the ramp loop in ms. Default: 0x00000FA0, Min-Max: 0x00000000 – 0x05265C00
308
+ rampContinuousTime: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
309
+ // This attribute defines the value of each step during a dimming up. This value is set in %. Default: 0x01, Min-Max: 0x00 - 0x64
310
+ stepUp: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
311
+ // This attribute defines the value of the low dim limit, used during a dimming loop, on a long press for example. This value is set in %. Default: 0x06, Min-Max: 0x00 - 0x64
312
+ lowDimLimit: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
313
+ // This attribute defines the value of the high dim limit, used during a dimming loop, on a long press for example. This value is set in %. Default: 0x64, Min-Max: 0x00 - 0x64
314
+ highDimLimit: { ID: 0x0009, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
315
+ // This attribute defines the time before the nightlight begin. This value is set in seconds. Default: 0x00000000, Min-Max: 0x00000000 – 0xFFFFFFFE
316
+ nightLightStartingDelay: { ID: 0x000c, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
317
+ // This attribute defines the dimming value at the start of the nightlight. This value is set in %. Default: 0x28, Min-Max: 0x00 - 0x64
318
+ nightLightStartingBrightness: { ID: 0x000d, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
319
+ // This attribute defines the dimming value at the last step of the nightlight. This attribute must be lower than 0x000D :Nightlight starting brightness. This value is set in %. Default: 0x05, Min-Max: 0x00 - 0x64
320
+ nightLightEndingBrightness: { ID: 0x000e, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
321
+ // This attribute defines the ramp duration of the nightlight. The ramp is running after the end of the starting delay and until the ending bright is reached. This value is set in seconds. Default: 0x00000E10, Min-Max: 0x00000000 – 0x05265C00
322
+ nightLightRampTime: { ID: 0x000f, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
323
+ // This attribute defines the total duration of the nightlight. It must not be lower than 0x000F : Nightlight ramp time. This value is set in seconds. Default: 0x00000E10, Min-Max: 0x00000000 – 0x05265C00
324
+ nightLightOnTime: { ID: 0x0010, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
325
+ // This attribute defines the value of the favorite position 1. This value is set in %. Default: 0x19, Min-Max: 0x00 - 0x64
326
+ favoritePosition1: { ID: 0x0011, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
327
+ // This attribute defines the value of the favorite position 2. This value is set in %. Default: 0x32, Min-Max: 0x00 - 0x64
328
+ favoritePosition2: { ID: 0x0012, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
329
+ // This attribute defines the value of the favorite position 3. This value is set in %. Default: 0x4B, Min-Max: 0x00 - 0x64
330
+ favoritePosition3: { ID: 0x0013, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
331
+ // This attribute enables or disables the 2-step controller mode. This mode enable product to run without any ramp before and after ON or OFF. It acts like a relay.
332
+ stepControllerMode: { ID: 0x0014, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
333
+ // This attribute enables or disables the memory position mode at first push button release.
334
+ memoryPositionMode: { ID: 0x0015, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN },
335
+ // This attribute defines the value of each step during a dimming down. This value is set in %. Default: 0x01, Min-Max: 0x01 - 0x64
336
+ stepDown: { ID: 0x0016, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
337
+ // This attribute defines the value of each step during a dimming loop. This value is set in %. Default: 0x01, Min-Max: 0x01 - 0x64
338
+ stepContinuous: { ID: 0x0017, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
339
+ // This attribute defines the value of each step during the ramp down of the nightlight mode. This value is set in %. Default: 0x01, Min-Max: 0x01 - 0x64
340
+ stepNightLight: { ID: 0x0018, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
341
+ },
342
+ commands: {
343
+ // Start dimming up, from current position to the upper dim limit. When the limit is reached, stay at this position.
344
+ dimUp: {
345
+ ID: 0x00,
346
+ parameters: [],
347
+ },
348
+ // Start dimming down, from current position to the lower dim limit. When the limit is reached, stay at this position.
349
+ dimDown: {
350
+ ID: 0x01,
351
+ parameters: [],
352
+ },
353
+ // Start the dimming loop process for the selected duration.
354
+ dim: {
355
+ ID: 0x02,
356
+ parameters: [
357
+ // Set the duration of the ramp for the continuous variation, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
358
+ { name: "ul_RampContinuousDuration", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
359
+ // Set the step size, otherwise use 0xFF to use the one configured in the product.. Value is in %.
360
+ { name: "uc_StepContinuous", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
361
+ ],
362
+ },
363
+ // Stop the actual dimming process.
364
+ dimStop: {
365
+ ID: 0x04,
366
+ parameters: [],
367
+ },
368
+ // Start dimming to the min value set in the device.
369
+ dimToMin: {
370
+ ID: 0x05,
371
+ parameters: [
372
+ // Set the transition time to the selected value, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
373
+ { name: "ul_TransitionTime", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
374
+ ],
375
+ },
376
+ // Start dimming to the max value set in the device.
377
+ dimToMax: {
378
+ ID: 0x06,
379
+ parameters: [
380
+ // Set the transition time to the selected value, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
381
+ { name: "ul_TransitionTime", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
382
+ ],
383
+ },
384
+ // Start the nightlight mode with the given parameters.
385
+ startNightLightMode: {
386
+ ID: 0x07,
387
+ parameters: [
388
+ // Set the starting delay value, used before the start of the nightlight, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
389
+ { name: "ul_ChildModeStartingDelay", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
390
+ // Set the brightness at the beginning of the ramp, otherwise use 0xFF to use the one configured in the product. Value is in %.
391
+ { name: "uc_ChildModeBrightnessStart", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
392
+ // Set the brightness at the end of the ramp, otherwise use 0xFF to use the one configured in the product. Value is in %.
393
+ { name: "uc_ChildModeBrightnessEnd", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
394
+ // Set the ramp duration, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
395
+ { name: "ul_ChildModeRampDuration", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
396
+ // Set the total duration of the nightlight, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms.
397
+ { name: "ul_ChildModeOnDuration", type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
398
+ // Set the step size between each dim, otherwise use 0xFF to use the one configured in the product. Value is in %.
399
+ { name: "uc_ChildStep", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
400
+ ],
401
+ },
402
+ // Start the nightlight mode from the current dimming value.
403
+ startNightLightModeCurrent: {
404
+ ID: 0x08,
405
+ parameters: [],
406
+ },
407
+ // Start dimming to the favorite position 1.
408
+ moveToFavorite1: {
409
+ ID: 0x09,
410
+ parameters: [],
411
+ },
412
+ // Start dimming to the favorite position 2.
413
+ moveToFavorite2: {
414
+ ID: 0x0a,
415
+ parameters: [],
416
+ },
417
+ // Start dimming to the favorite position 3.
418
+ moveToFavorite3: {
419
+ ID: 0x0b,
420
+ parameters: [],
421
+ },
422
+ },
423
+ commandsResponse: {},
424
+ },
425
+ manuSpecificYokisWindowCovering: {
426
+ ID: 0xfc08, // Details coming soon
427
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
428
+ attributes: {},
429
+ commands: {},
430
+ commandsResponse: {},
431
+ },
432
+ manuSpecificYokisChannel: {
433
+ ID: 0xfc09, // Details coming soon
434
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
435
+ attributes: {
436
+ // Define the command to send to the servers using cluster On/Off. 0x00 -> toggle, 0x01 -> ON, 0x02 -> OFF, 0x03 -> OFF
437
+ onOffClusterMode: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
438
+ // Define the command to send to the servers using cluster Level control. 0x00 -> nothing, 0x01 -> Move up, 0x02 -> Move down, 0x03 -> stop
439
+ levelControlClusterMode: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
440
+ // Define the command to send to the servers using cluster Window Covering. 0x00 -> toggle, 0x01 -> up/open, 0x02 -> down/close, 0x03 -> stop
441
+ windowCoveringClusterMode: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
442
+ // Defines the cluster that will be used by the channel to create an order. Default: 0xFFF0, Min-Max: 0x0000 – 0xFFFF
443
+ clusterToBeUsed: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
444
+ // Define the channel sending mode. 0x00 -> Direct, 0x01 -> Broadcast, 0x02 -> Group
445
+ sendingMode: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
446
+ // Define the light control mode used between remote and the binded device. 0x00 -> Mode pulse, 0x01 -> Mode deaf
447
+ yokisLightControlMode: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
448
+ // Define the command to send to the servers using cluster Yokis Pilot Wire. 0x00 -> toggle, 0x01 -> confort, 0x02 -> eco
449
+ yokisPilotWireClusterMode: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.ENUM8 },
450
+ // Indicate the group id who will receive the command from the dedicated endpoint. Default: 0x0000, Min-Max: 0x0000 – 0xFFFF
451
+ groupId: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
452
+ },
453
+ commands: {},
454
+ commandsResponse: {},
455
+ },
456
+ manuSpecificYokisPilotWire: {
457
+ ID: 0xfc0a,
458
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
459
+ attributes: {
460
+ // Represent the actual order used by the device. Default: 0x02, Min-Max: 0x00 - 0xF1. Reportable, not writable
461
+ actualOrder: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
462
+ // Define the “Order” embedded timer duration. This timer is set when the device changes its order (in second). After that duration, the device is set back to its fallback order. Default: 0x00000000, Min-Max: 0x00000000 - 0xFFFFFFFF
463
+ orderTimer: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
464
+ // Define the duration before an order is set. This timer is used when a new order is asked, it corresponds to the time before this order is applied. The duration is set in second. Default: 0x00000000, Min-Max: 0x00000000 - 0xFFFFFFFF
465
+ preOrderTimer: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.UINT32 },
466
+ // Represent the actual unit used for local command configuration: 0x00 -> Second, 0x01 -> Minutes. Default: 0x00, Min-Max: 0x00 - 0x01.
467
+ timerUnit: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
468
+ // Define the product’s LED behavior: 0x00 -> LED is always ON and blink during radio activity, 0x01 -> LED is only OFF during few seconds after a mode transition. Default: 0x00, Min-Max: 0x00 - 0x01.
469
+ ledMode: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
470
+ // Define if the product must be set into pilot wire relay mode: 0x00 -> Relay mode is deactivated, 0x01 -> Relay mode is activated. Default: 0x00, Min-Max: 0x00 - 0x01.
471
+ pilotWireRelayMode: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
472
+ // Define the order scrolling sense: 0x00 -> Forward : Confort -> Confort – 1 -> Confort – 2 -> Eco -> Hors-Gel -> Arrêt, 0x01 -> Backward : Arrêt -> Hors-Gel -> Eco -> Confort – 2 -> Confort – 1 -> Confort. Default: 0x00, Min-Max: 0x00 - 0x01.
473
+ orderScrollingMode: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
474
+ // Define the number of orders supported by the device: 0x00 -> 4 orders (Confort, Eco, Hors-Gel, Arrêt), 0x01 -> 6 orders (Confort, Confort – 1, Confort – 2, Eco, Hors-Gel, Arrêt). Default: 0x01, Min-Max: 0x00 - 0x01.
475
+ orderNumberSupported: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
476
+ // Represent the fallback order used by the device after the end of an order timer is reached: 0x00 -> Stop, 0x01 -> Frost-off, 0x02 -> Eco, 0x03 -> Confort-2, 0x04 -> Confort-1, 0x05 -> Confort. Default: 0x02, Min-Max: 0x00 - 0x05.
477
+ fallbackOrder: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
478
+ },
479
+ commands: {
480
+ // Set the device in the specified order.
481
+ setOrder: {
482
+ ID: 0x00,
483
+ parameters: [
484
+ // Order to be set: 0x00 -> Stop, 0x01 -> Frost-off, 0x02 -> Eco, 0x03 -> Confort-2, 0x04 -> Confort-1, 0x05 -> Confort
485
+ { name: "order", type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
486
+ ],
487
+ },
488
+ // Toggle between order by respecting the scrolling order.
489
+ toggleOrder: {
490
+ ID: 0x01,
491
+ parameters: [],
492
+ },
493
+ },
494
+ commandsResponse: {},
495
+ },
496
+ manuSpecificYokisTemperatureMeasurement: {
497
+ ID: 0xfc0b,
498
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
499
+ attributes: {
500
+ // This attribute represents the last value measured. The unit is in 0.01 °C (12,25°C -> 1225). Default: 0x0000, Min-Max: 0x954D - 0x7FFE. Reportable, not writable
501
+ currentValue: { ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
502
+ // Represent the minimal value set since the last power-on/reset. The unit is in 0.01 °C (12,25°C -> 1225). Default: 0x7FFE , Min-Max: 0x954D - 0x7FFE. Reportable, not writable
503
+ minMeasuredValue: { ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
504
+ // Represent the maximal value set since the last power-on/reset. The unit is in 0.01 °C (12,25°C -> 1225). Default: 0x954D , Min-Max: 0x954D - 0x7FFE. Reportable, not writable
505
+ maxMeasuredValue: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.INT16 },
506
+ // Represent the offset applicated to the temperature measured. The unit is in 0,1°C (1,5°C -> 15). Default: 0x00, Min-Max: 0xCE (-50) - 0x32 (50).
507
+ offset: { ID: 0x0003, type: zigbee_herdsman_1.Zcl.DataType.INT8 },
508
+ // Represent the sampling period used to process the temperature measurement. The unit is in seconds. Default: 0x0A, Min-Max: 0x01 - 0x78.
509
+ samplingPeriod: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
510
+ // Represents the sampling number to sense per sampling period defined before. Default: 0x03, Min-Max: 0x01 - 0x14.
511
+ samplingNumber: { ID: 0x0005, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
512
+ // Represents the temperature variation to request a new temperature sending through reports. The unit is in 0,1°C (0,5°C ->5). Default: 0x00, Min-Max: 0x00 - 0x0A.
513
+ deltaTemp: { ID: 0x0006, type: zigbee_herdsman_1.Zcl.DataType.UINT8 },
514
+ // Represents the minimal sending period that the device must respect before sending a new value through reporting. A writing on this attribute will update all reporting entries related to the temperature measurement. Default: 0x0A, Min-Max: 0x0000 - 0xFFFF.
515
+ minimalSendingPeriod: { ID: 0x0007, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
516
+ // Represents the maximal sending period. The device must send a new value through reporting before the end of this period. A writing on this attribute will update all reporting entries related to the temperature measurement. Default: 0x0A, Min-Max: 0x0000 - 0xFFFF.
517
+ maximalSendingPeriod: { ID: 0x0008, type: zigbee_herdsman_1.Zcl.DataType.UINT16 },
518
+ },
519
+ commands: {
520
+ // Reset the Min and Max temperature value information.
521
+ minMaxReset: {
522
+ ID: 0x00,
523
+ parameters: [],
524
+ },
525
+ },
526
+ commandsResponse: {},
527
+ },
528
+ manuSpecificYokisStats: {
529
+ ID: 0xfcf0, // Details coming soon
530
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.YOKIS,
531
+ attributes: {},
532
+ commands: {},
533
+ commandsResponse: {},
534
+ },
535
+ };
536
+ // #endregion
537
+ // #region Extension definition
538
+ // Checks definition
539
+ const yokisExtendChecks = {
540
+ parseResetInput: (input) => {
541
+ if (!input) {
542
+ throw new Error("MISSING_INPUT");
543
+ }
544
+ if (!Object.keys(resetActionEnum).includes(input)) {
545
+ throw new Error("INVALID_RESET_ACTION");
546
+ }
547
+ return {
548
+ payload: {
549
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
550
+ uc_ResetAction: utils.getFromLookup(input, resetActionEnum),
551
+ },
552
+ };
553
+ },
554
+ parseOpenNetworkInput: (input) => {
555
+ if (!input || typeof input !== "object") {
556
+ throw new Error("NOT_OBJECT");
557
+ }
558
+ if (!("opening_time" in input) || !utils.isNumber(input.opening_time)) {
559
+ throw new Error("INVALID_OPENNETWORK_OPENINGTIME");
560
+ }
561
+ return {
562
+ payload: {
563
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
564
+ uc_OpeningTime: input.opening_time,
565
+ },
566
+ };
567
+ },
568
+ parseInputModeInput: (input) => {
569
+ if (!input || typeof input !== "object") {
570
+ throw new Error("NOT_OBJECT");
571
+ }
572
+ if (!("select_input_mode" in input) || !Object.keys(inputModeEnum).includes(input.select_input_mode)) {
573
+ throw new Error("INVALID_INPUTMODE");
574
+ }
575
+ return {
576
+ payload: {
577
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
578
+ uc_InputMode: utils.getFromLookup(input.select_input_mode, inputModeEnum),
579
+ },
580
+ };
581
+ },
582
+ parseMoveToPositionInput: (input) => {
583
+ if (!input || typeof input !== "object") {
584
+ throw new Error("NOT_OBJECT");
585
+ }
586
+ if (!("brightness_start" in input) || !utils.isNumber(input.brightness_start)) {
587
+ throw new Error("INVALID_MOVE_BRIGHTNESSSTART");
588
+ }
589
+ if (!("brightness_end" in input) || !utils.isNumber(input.brightness_end)) {
590
+ throw new Error("INVALID_MOVE_BRIGHTNESSEND");
591
+ }
592
+ if (!("pre_timer_value" in input) || !utils.isNumber(input.pre_timer_value)) {
593
+ throw new Error("INVALID_MOVE_PRETIMERVALUE");
594
+ }
595
+ if (!("enable_pre_timer" in input) || !utils.isBoolean(input.enable_pre_timer)) {
596
+ throw new Error("INVALID_MOVE_PRETIMERENABLE");
597
+ }
598
+ if (!("timer_value" in input) || !utils.isNumber(input.timer_value)) {
599
+ throw new Error("INVALID_MOVE_TIMERVALUE");
600
+ }
601
+ if (!("enable_timer" in input) || !utils.isBoolean(input.enable_timer)) {
602
+ throw new Error("INVALID_MOVE_TIMERENABLE");
603
+ }
604
+ if (!("transition_time" in input) || !utils.isNumber(input.transition_time)) {
605
+ throw new Error("INVALID_MOVE_TRANSITIONTIME");
606
+ }
607
+ return {
608
+ payload: {
609
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
610
+ uc_BrightnessStart: input.brightness_start,
611
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
612
+ uc_BrightnessEnd: input.brightness_end,
613
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
614
+ ul_PreTimerValue: input.pre_timer_value,
615
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
616
+ b_PreTimerEnable: input.enable_pre_timer ? 1 : 0,
617
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
618
+ ul_TimerValue: input.timer_value,
619
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
620
+ b_TimerEnable: input.enable_timer ? 1 : 0,
621
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
622
+ ul_TransitionTime: input.transition_time,
623
+ },
624
+ };
625
+ },
626
+ parseBlinkInput: (input) => {
627
+ if (!input || typeof input !== "object") {
628
+ throw new Error("NOT_OBJECT");
629
+ }
630
+ if (!("blink_amount" in input) || !utils.isNumber(input.blink_amount)) {
631
+ throw new Error("INVALID_BLINK_BLINKAMOUNT");
632
+ }
633
+ if (!("blink_on_period" in input) || !utils.isNumber(input.blink_on_period)) {
634
+ throw new Error("INVALID_BLINK_BLINKONPERIOD");
635
+ }
636
+ if (!("blink_off_period" in input) || !utils.isNumber(input.blink_off_period)) {
637
+ throw new Error("INVALID_BLINK_BLINKOFFPERIOD");
638
+ }
639
+ if (!("state_after_sequence" in input) || !Object.keys(stateAfterBlinkEnum).includes(input.state_after_sequence)) {
640
+ throw new Error("MISSING_BLINK_STATEAFTERSEQUENCE");
641
+ }
642
+ if (!("do_periodic_cycle" in input) || !utils.isBoolean(input.do_periodic_cycle)) {
643
+ throw new Error("INVALID_BLINK_DOPERIODICYCLE");
644
+ }
645
+ return {
646
+ payload: {
647
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
648
+ uc_BlinkAmount: input.blink_amount,
649
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
650
+ ul_BlinkOnPeriod: input.blink_on_period,
651
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
652
+ ul_BlinkOffPeriod: input.blink_off_period,
653
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
654
+ uc_StateAfterSequence: utils.getFromLookup(input.state_after_sequence, stateAfterBlinkEnum),
655
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
656
+ b_DoPeriodicCycle: input.do_periodic_cycle ? 1 : 0,
657
+ },
658
+ };
659
+ },
660
+ parsePulseInput: (input) => {
661
+ if (!input || typeof input !== "object") {
662
+ throw new Error("NOT_OBJECT");
663
+ }
664
+ if (!("pulse_length" in input) || !utils.isNumber(input.pulse_length)) {
665
+ throw new Error("INVALID_PULSE_PULSELENGTH");
666
+ }
667
+ return {
668
+ payload: {
669
+ PulseLength: input.pulse_length,
670
+ },
671
+ };
672
+ },
673
+ parseDeafBlinkPropInput: (input) => {
674
+ if (!input || typeof input !== "object") {
675
+ throw new Error("NOT_OBJECT");
676
+ }
677
+ if (!("blink_amount" in input) || !utils.isNumber(input.blink_amount)) {
678
+ throw new Error("INVALID_BLINK_AMOUNT");
679
+ }
680
+ if (!("blink_on_time" in input) || !utils.isNumber(input.blink_on_time)) {
681
+ throw new Error("INVALID_BLINK_ONTIME");
682
+ }
683
+ if (!("sequence_amount" in input) || !utils.isNumber(input.sequence_amount)) {
684
+ throw new Error("INVALID_SEQUENCE_AMOUNT");
685
+ }
686
+ if (input.sequence_of_blinks && Array.isArray(input.sequence_of_blinks)) {
687
+ // if (input.uc_SequenceAmount < input.tuc_BlinkAmount.length) {
688
+ // // more sequences configured than expected, pop extragenous
689
+ // for(let i = 0; i < input.tuc_BlinkAmount.length - input.uc_SequenceAmount; i++) {
690
+ // input.tuc_BlinkAmount.pop();
691
+ // }
692
+ // }
693
+ // if (input.uc_SequenceAmount > input.tuc_BlinkAmount.length) {
694
+ // // more sequences than configured, pad with additional
695
+ // for(let i = 0; i < input.uc_SequenceAmount - input.tuc_BlinkAmount.length; i++) {
696
+ // input.tuc_BlinkAmount.push({"uc_BlinkAmountItem":1}); //puke
697
+ // }
698
+ // }
699
+ // Updating number of elements
700
+ input.sequence_amount = input.sequence_of_blinks.length;
701
+ }
702
+ else {
703
+ throw new Error("INVALID_TUC_BLINKAMOUNT");
704
+ }
705
+ if (!("uc_BlinkAmount" in input) || !utils.isNumber(input.uc_SequenceAmount)) {
706
+ throw new Error("INVALID_SEQUENCE_AMOUNT");
707
+ }
708
+ return {
709
+ payload: {
710
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
711
+ uc_BlinkAmount: input.blink_amount,
712
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
713
+ ul_BlinkOnTime: input.blink_on_time,
714
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
715
+ uc_SequenceAmount: input.sequence_of_blinks.length,
716
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
717
+ tuc_BlinkAmount: input.sequence_of_blinks.map((elem) => (typeof elem === "object" ? Object.values(elem).shift() : elem)), // [{"undefined":1},{"undefined":1}] > [1,1]
718
+ },
719
+ };
720
+ },
721
+ parseDim: (input) => {
722
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
723
+ let _ulRampContinuousDuration;
724
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
725
+ let _ucStepContinuous;
726
+ if (!input || typeof input !== "object") {
727
+ throw new Error("NOT_OBJECT");
728
+ }
729
+ if (!("ramp_continuous_duration" in input) || !utils.isNumber(input.ramp_continuous_duration)) {
730
+ _ulRampContinuousDuration = 0xffffffff; // use default value
731
+ }
732
+ else
733
+ _ulRampContinuousDuration = input.ramp_continuous_duration;
734
+ if (!("step_continuous" in input) || !utils.isNumber(input.step_continuous)) {
735
+ _ucStepContinuous = 0xff; // use default value
736
+ }
737
+ else
738
+ _ucStepContinuous = input.step_continuous;
739
+ return {
740
+ payload: {
741
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
742
+ ul_RampContinuousDuration: _ulRampContinuousDuration,
743
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
744
+ uc_StepContinuous: _ucStepContinuous,
745
+ },
746
+ };
747
+ },
748
+ parseDimMinMax: (input) => {
749
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
750
+ let _ulTransitionTime;
751
+ if (!input || typeof input !== "object") {
752
+ throw new Error("NOT_OBJECT");
753
+ }
754
+ if (!("transition_time" in input) || !utils.isNumber(input.transition_time)) {
755
+ _ulTransitionTime = 0xffffffff; // use default value
756
+ }
757
+ else
758
+ _ulTransitionTime = input.transition_time;
759
+ if (!("action" in input)) {
760
+ throw new Error("MISSING_ACTION");
761
+ }
762
+ return {
763
+ action: input.action,
764
+ payload: {
765
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
766
+ ul_TransitionTime: _ulTransitionTime,
767
+ },
768
+ };
769
+ },
770
+ parseStartNightLightMode: (input) => {
771
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
772
+ let _ulChildModeStartingDelay;
773
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
774
+ let _ucChildModeBrightnessStart;
775
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
776
+ let _ucChildModeBrightnessEnd;
777
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
778
+ let _ulChildModeRampDuration;
779
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
780
+ let _ulChildModeOnDuration;
781
+ // biome-ignore lint/suspicious/noImplicitAnyLet: ignored using `--suppress`
782
+ let _ucChildStep;
783
+ if (!input || typeof input !== "object") {
784
+ throw new Error("NOT_OBJECT");
785
+ }
786
+ if (!("childmode_starting_delay" in input) || !utils.isNumber(input.childmode_starting_delay)) {
787
+ _ulChildModeStartingDelay = 0xffffffff; // use default value
788
+ }
789
+ else
790
+ _ulChildModeStartingDelay = input.childmode_starting_delay;
791
+ if (!("childmode_brightness_start" in input) || !utils.isNumber(input.childmode_brightness_start)) {
792
+ _ucChildModeBrightnessStart = 0xff; // use default value
793
+ }
794
+ else
795
+ _ucChildModeBrightnessStart = input.childmode_brightness_start;
796
+ if (!("childmode_brightness_end" in input) || !utils.isNumber(input.childmode_brightness_end)) {
797
+ _ucChildModeBrightnessEnd = 0xff; // use default value
798
+ }
799
+ else
800
+ _ucChildModeBrightnessEnd = input.childmode_brightness_end;
801
+ if (!("childmode_ramp_duration" in input) || !utils.isNumber(input.childmode_ramp_duration)) {
802
+ _ulChildModeRampDuration = 0xffffffff; // use default value
803
+ }
804
+ else
805
+ _ulChildModeRampDuration = input.childmode_ramp_duration;
806
+ if (!("childmode_on_duration" in input) || !utils.isNumber(input.childmode_on_duration)) {
807
+ _ulChildModeOnDuration = 0xffffffff; // use default value
808
+ }
809
+ else
810
+ _ulChildModeOnDuration = input.childmode_on_duration;
811
+ if (!("childmode_step" in input) || !utils.isNumber(input.childmode_step)) {
812
+ _ucChildStep = 0xff; // use default value
813
+ }
814
+ else
815
+ _ucChildStep = input.childmode_step;
816
+ return {
817
+ payload: {
818
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
819
+ ul_ChildModeStartingDelay: _ulChildModeStartingDelay,
820
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
821
+ uc_ChildModeBrightnessStart: _ucChildModeBrightnessStart,
822
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
823
+ uc_ChildModeBrightnessEnd: _ucChildModeBrightnessEnd,
824
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
825
+ ul_ChildModeRampDuration: _ulChildModeRampDuration,
826
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
827
+ ul_ChildModeOnDuration: _ulChildModeOnDuration,
828
+ // biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
829
+ uc_ChildStep: _ucChildStep,
830
+ },
831
+ };
832
+ },
833
+ parsePilotwireOrder: (input) => {
834
+ if (!input) {
835
+ throw new Error("MISSING_INPUT");
836
+ }
837
+ if (!Object.keys(pilotwireOrderEnun).includes(input)) {
838
+ throw new Error("INVALID_ORDER_ACTION");
839
+ }
840
+ return {
841
+ payload: {
842
+ order: utils.getFromLookup(input, pilotwireOrderEnun),
843
+ },
844
+ };
845
+ },
846
+ log: (key, value, payload) => {
847
+ logger_1.logger.debug(`Invoked converter with key: '${key}'`, NS);
848
+ logger_1.logger.debug(`Invoked converter with values:${JSON.stringify(value)}`, NS);
849
+ if (payload)
850
+ logger_1.logger.debug(`Invoked converter with payload:${JSON.stringify(payload)}`, NS);
851
+ },
852
+ };
853
+ // Command definition
854
+ const yokisCommandsExtend = {
855
+ resetToFactorySettings: () => {
856
+ const exposes = e
857
+ .enum("reset_to_factory_settings", ea.SET, Object.keys(resetActionEnum))
858
+ .withDescription("Reset setting depending on RESET ACTION value")
859
+ .withCategory("config");
860
+ const toZigbee = [
861
+ {
862
+ key: ["reset_to_factory_settings"],
863
+ convertSet: async (entity, key, value, meta) => {
864
+ utils.assertString(value);
865
+ const commandWrapper = yokisExtendChecks.parseResetInput(value);
866
+ yokisExtendChecks.log(key, value);
867
+ await entity.command("manuSpecificYokisDevice", "resetToFactorySettings", commandWrapper.payload);
868
+ },
869
+ },
870
+ ];
871
+ return {
872
+ exposes: [exposes],
873
+ toZigbee,
874
+ isModernExtend: true,
875
+ };
876
+ },
877
+ relaunchBleAdvert: () => {
878
+ const exposes = e
879
+ .enum("relaunch_ble_advert", ea.SET, ["relaunch_ble_advert"])
880
+ .withDescription("Relaunch BLE advertising for 15 minutes")
881
+ .withCategory("config");
882
+ const toZigbee = [
883
+ {
884
+ key: ["relaunch_ble_advert"],
885
+ convertSet: async (entity, key, value, meta) => {
886
+ yokisExtendChecks.log(key, value);
887
+ await entity.command("manuSpecificYokisDevice", "relaunchBleAdvert", {});
888
+ },
889
+ },
890
+ ];
891
+ return {
892
+ exposes: [exposes],
893
+ toZigbee,
894
+ isModernExtend: true,
895
+ };
896
+ },
897
+ openNetwork: () => {
898
+ const exposes = e
899
+ .composite("open_network_command", "open_network_prop", ea.SET)
900
+ .withDescription("Open Zigbee network")
901
+ .withFeature(e
902
+ .numeric("opening_time", ea.SET) //uc_OpeningTime
903
+ .withValueMin(0)
904
+ .withValueMax(255)
905
+ .withUnit("s")
906
+ .withDescription("Opening time wanted from 1 to 255 seconds,0 means closing the network."))
907
+ .withCategory("config");
908
+ const toZigbee = [
909
+ {
910
+ key: ["open_network_prop"],
911
+ convertSet: async (entity, key, value, meta) => {
912
+ const commandWrapper = yokisExtendChecks.parseOpenNetworkInput(value);
913
+ yokisExtendChecks.log(key, value);
914
+ await entity.command("manuSpecificYokisDevice", "openNetwork", commandWrapper.payload);
915
+ },
916
+ },
917
+ ];
918
+ return {
919
+ exposes: [exposes],
920
+ toZigbee,
921
+ isModernExtend: true,
922
+ };
923
+ },
924
+ moveToPosition: () => {
925
+ const exposes = e
926
+ .composite("move_to_position_command", "move_to_position_prop", ea.SET)
927
+ .withDescription("Move to position specified in uc_BrightnessEnd parameter." +
928
+ "If TOR mode is set (no dimming) or MTR : if uc_BrightnessEnd under 50% will set to OFF else will be set to ON")
929
+ .withFeature(e
930
+ .numeric("brightness_start", ea.SET) // uc_BrightnessStart
931
+ .withDescription("Define the brightness at the beginning of the transition, in %"))
932
+ .withFeature(e
933
+ .numeric("brightness_end", ea.SET) // uc_BrightnessEnd
934
+ .withDescription("Define the brightness at the end of the transition, in %"))
935
+ .withFeature(e
936
+ .numeric("pre_timer_value", ea.SET) // ul_PreTimerValue
937
+ .withUnit("s")
938
+ .withDescription("Define the pre timer value, otherwise use 0xFFFFFFFF to use the one configured in the product"))
939
+ .withFeature(e
940
+ .binary("enable_pre_timer", ea.SET, true, false) // b_PreTimerEnable
941
+ .withDescription("Define whether the device should use the pre timer or not, if 0xFF then use the one configured in product"))
942
+ .withFeature(e
943
+ .numeric("timer_value", ea.SET) // ul_TimerValue
944
+ .withUnit("s")
945
+ .withDescription("Define the timer ON value, otherwise use 0xFFFFFFFF to use the one configured in the product"))
946
+ .withFeature(e
947
+ .binary("enable_timer", ea.SET, true, false) // b_TimerEnable
948
+ .withDescription("Define whether the device should use the timer ON or not, if 0xFF then use the one configured in product"))
949
+ .withFeature(e
950
+ .numeric("transition_time", ea.SET) // ul_TransitionTime
951
+ .withDescription("Define the transition time from the brightness start to the brightness end, in ms"))
952
+ .withCategory("config");
953
+ const toZigbee = [
954
+ {
955
+ key: ["move_to_position_prop"],
956
+ convertSet: async (entity, key, value, meta) => {
957
+ // const options = utils.getOptions(meta.mapped, entity);
958
+ // logger.debug('Invoked converter with options:' + JSON.stringify(options));
959
+ const commandWrapper = yokisExtendChecks.parseMoveToPositionInput(value);
960
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
961
+ await entity.command("manuSpecificYokisLightControl", "moveToPosition", commandWrapper.payload);
962
+ },
963
+ },
964
+ ];
965
+ return {
966
+ exposes: [exposes],
967
+ toZigbee,
968
+ isModernExtend: true,
969
+ };
970
+ },
971
+ blink: () => {
972
+ const exposes = e
973
+ .composite("blink_command", "blink_prop", ea.SET)
974
+ .withDescription("With this command, the module is asked to perform a blinking sequence.")
975
+ .withFeature(e
976
+ .numeric("blink_amount", ea.SET) // uc_BlinkAmount
977
+ .withDescription("If defined will force the number of blink to be done (only for this order) if not the device will use its own value."))
978
+ .withFeature(e
979
+ .numeric("blink_on_period", ea.SET) // ul_BlinkOnPeriod
980
+ .withDescription("If defined will force the blink’s “on time” (only for this order) if not the device will use its own value."))
981
+ .withFeature(e
982
+ .numeric("blink_off_period", ea.SET) // ul_BlinkOffPeriod
983
+ .withDescription("If defined will force the blink’s “off time” (only for this order) if not the device will use its own value."))
984
+ .withFeature(e
985
+ .enum("state_after_sequence", ea.SET, Object.keys(stateAfterBlinkEnum)) // uc_StateAfterSequence
986
+ .withDescription("If defined will force the state after the sequence (only for this order). if not the device will use its own value-"))
987
+ .withFeature(e
988
+ .binary("do_periodic_cycle", ea.SET, true, false) // b_DoPeriodicCycle
989
+ .withDescription("If set to true the blinking will be “infinite”"))
990
+ .withCategory("config");
991
+ const toZigbee = [
992
+ {
993
+ key: ["blink_prop"],
994
+ convertSet: async (entity, key, value, meta) => {
995
+ const commandWrapper = yokisExtendChecks.parseBlinkInput(value);
996
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
997
+ await entity.command("manuSpecificYokisLightControl", "blink", commandWrapper.payload);
998
+ },
999
+ },
1000
+ ];
1001
+ return {
1002
+ exposes: [exposes],
1003
+ toZigbee,
1004
+ isModernExtend: true,
1005
+ };
1006
+ },
1007
+ pulse: () => {
1008
+ const exposes = e
1009
+ .composite("pulse_command", "pulse_prop", ea.SET)
1010
+ .withDescription("This command allows the relay to be controlled with an impulse. The pulse time is defined by PulseLength")
1011
+ .withFeature(e
1012
+ .numeric("pulse_length", ea.SET) // pulseLength
1013
+ .withValueMax(65535)
1014
+ .withUnit("ms")
1015
+ .withDescription("Pulse length"))
1016
+ .withCategory("config");
1017
+ const toZigbee = [
1018
+ {
1019
+ key: ["pulse_prop"],
1020
+ convertSet: (entity, key, value, meta) => {
1021
+ const commandWrapper = yokisExtendChecks.parsePulseInput(value);
1022
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1023
+ // await entity.command('manuSpecificYokisLightControl', 'pulse', commandWrapper.payload);
1024
+ },
1025
+ },
1026
+ ];
1027
+ return {
1028
+ exposes: [exposes],
1029
+ toZigbee,
1030
+ isModernExtend: true,
1031
+ };
1032
+ },
1033
+ deafBlink: () => {
1034
+ const exposes = e
1035
+ .composite("deaf_blink_command", "deaf_blink_prop", ea.SET)
1036
+ .withDescription("Start a deaf sequence on a device only if the attribute “eDeaf” is set to Enable")
1037
+ .withFeature(e
1038
+ .numeric("blink_amount", ea.SET) // uc_BlinkAmount
1039
+ .withDescription("If defined will force the number of blink to be done during one sequence (only for this order) if not the device will use its own value"))
1040
+ .withFeature(e
1041
+ .numeric("blink_on_time", ea.SET) // ul_BlinkOnTime
1042
+ .withDescription("If defined will force the blink’s “on time” (only for this order) if not the device will use its own value"))
1043
+ .withFeature(e
1044
+ .numeric("sequence_amount", ea.STATE) // uc_SequenceAmount
1045
+ .withValueMin(0)
1046
+ .withValueMax(6)
1047
+ .withDescription("If defined will set the number of sequence to be done. Each sequence is spaced by 1 second. (Max 6)"))
1048
+ .withFeature(e
1049
+ .list("sequence_of_blinks", // tuc_BlinkAmount
1050
+ ea.SET, e
1051
+ .composite("uc_BlinkAmountItems", "uc_BlinkAmountItems", ea.SET)
1052
+ .withLabel("Number of blink items for the sequence")
1053
+ .withFeature(e.numeric("uc_BlinkAmountItem", ea.SET).withLabel("Blinks")))
1054
+ .withLengthMin(0)
1055
+ .withLengthMax(6)
1056
+ .withDescription("Array with the number of blink to be done for each sequence. Will override “uc_BlinkAmount“"))
1057
+ .withCategory("config");
1058
+ const toZigbee = [
1059
+ {
1060
+ key: ["deaf_blink_prop"],
1061
+ convertSet: async (entity, key, value, meta) => {
1062
+ const commandWrapper = yokisExtendChecks.parseDeafBlinkPropInput(value);
1063
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1064
+ await entity.command("manuSpecificYokisLightControl", "deafBlink", commandWrapper.payload);
1065
+ },
1066
+ },
1067
+ ];
1068
+ return {
1069
+ exposes: [exposes],
1070
+ toZigbee,
1071
+ isModernExtend: true,
1072
+ };
1073
+ },
1074
+ longOnCommand: () => {
1075
+ const exposes = e
1076
+ .enum("long_on_command", ea.SET, ["longOnAction"])
1077
+ .withDescription("Switch output ON for LONG ON DURATION time")
1078
+ .withCategory("config");
1079
+ const toZigbee = [
1080
+ {
1081
+ key: ["long_on_command"],
1082
+ convertSet: async (entity, key, value, meta) => {
1083
+ yokisExtendChecks.log(key, value);
1084
+ await entity.command("manuSpecificYokisLightControl", "longOn", {});
1085
+ },
1086
+ },
1087
+ ];
1088
+ return {
1089
+ exposes: [exposes],
1090
+ toZigbee,
1091
+ isModernExtend: true,
1092
+ };
1093
+ },
1094
+ sendPress: () => {
1095
+ const exposes = e
1096
+ .enum("send_press", ea.SET, ["SendPress"])
1097
+ .withDescription("Send to the server cluster a button press")
1098
+ .withCategory("config");
1099
+ const toZigbee = [
1100
+ {
1101
+ key: ["send_press"],
1102
+ convertSet: async (entity, key, value, meta) => {
1103
+ yokisExtendChecks.log(key, value);
1104
+ await entity.command("manuSpecificYokisInput", "sendPress", {});
1105
+ },
1106
+ },
1107
+ ];
1108
+ return {
1109
+ exposes: [exposes],
1110
+ toZigbee,
1111
+ isModernExtend: true,
1112
+ };
1113
+ },
1114
+ sendRelease: () => {
1115
+ const exposes = e
1116
+ .enum("send_release", ea.SET, ["SendRelease"])
1117
+ .withDescription("Send to the server cluster a button release")
1118
+ .withCategory("config");
1119
+ const toZigbee = [
1120
+ {
1121
+ key: ["send_release"],
1122
+ convertSet: async (entity, key, value, meta) => {
1123
+ yokisExtendChecks.log(key, value);
1124
+ await entity.command("manuSpecificYokisInput", "sendRelease", {});
1125
+ },
1126
+ },
1127
+ ];
1128
+ return {
1129
+ exposes: [exposes],
1130
+ toZigbee,
1131
+ isModernExtend: true,
1132
+ };
1133
+ },
1134
+ selectInputMode: () => {
1135
+ const exposes = e
1136
+ .enum("select_input_mode", ea.SET, Object.keys(inputModeEnum))
1137
+ .withDescription("Change the Input mode to use switch input, wired relay or simple push button")
1138
+ .withCategory("config");
1139
+ const toZigbee = [
1140
+ {
1141
+ key: ["select_input_mode"],
1142
+ convertSet: async (entity, key, value, meta) => {
1143
+ const commandWrapper = yokisExtendChecks.parseInputModeInput(value);
1144
+ yokisExtendChecks.log(key, value);
1145
+ await entity.command("manuSpecificYokisInput", "selectInputMode", commandWrapper.payload);
1146
+ },
1147
+ },
1148
+ ];
1149
+ return {
1150
+ exposes: [exposes],
1151
+ toZigbee,
1152
+ isModernExtend: true,
1153
+ };
1154
+ },
1155
+ dimmerDim: () => {
1156
+ const exposes = e
1157
+ .composite("dimmer_loop_command", "dimmer_prop", ea.SET)
1158
+ .withDescription("Start the dimming loop process for the selected duration.")
1159
+ .withFeature(e
1160
+ .numeric("ramp_continuous_duration", ea.SET) // ul_RampContinuousDuration
1161
+ .withUnit("ms")
1162
+ .withDescription("Set the duration of the ramp for the continuous variation, otherwise use 0xFFFFFFFF to use the one configured in the product"))
1163
+ .withFeature(e
1164
+ .numeric("step_continuous", ea.SET) // uc_StepContinuous
1165
+ .withUnit("s")
1166
+ .withDescription("Set the step size, otherwise use 0xFF to use the one configured in the product. Value is in %"))
1167
+ .withCategory("config");
1168
+ const toZigbee = [
1169
+ {
1170
+ key: ["dimmer_prop"],
1171
+ convertSet: async (entity, key, value, meta) => {
1172
+ // const options = utils.getOptions(meta.mapped, entity);
1173
+ // logger.debug('Invoked converter with options:' + JSON.stringify(options));
1174
+ const commandWrapper = yokisExtendChecks.parseDim(value);
1175
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1176
+ await entity.command("manuSpecificYokisDimmer", "dim", commandWrapper.payload);
1177
+ },
1178
+ },
1179
+ ];
1180
+ return {
1181
+ exposes: [exposes],
1182
+ toZigbee,
1183
+ isModernExtend: true,
1184
+ };
1185
+ },
1186
+ dimmerDimMinMax: () => {
1187
+ const exposes = e
1188
+ .composite("dimmer_min_max_command", "dimmer_min_max_prop", ea.SET)
1189
+ .withDescription("Start dimming to the min or max value set in the device")
1190
+ .withFeature(e
1191
+ .numeric("transition_time", ea.SET) // ul_TransitionTime
1192
+ .withUnit("ms")
1193
+ .withDescription("Set the transition time to the selected value, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms"))
1194
+ .withFeature(e.enum("action", ea.SET, ["dimToMin", "dimToMax"]))
1195
+ .withCategory("config");
1196
+ const toZigbee = [
1197
+ {
1198
+ key: ["dimmer_min_max_prop"],
1199
+ convertSet: async (entity, key, value, meta) => {
1200
+ // const options = utils.getOptions(meta.mapped, entity);
1201
+ // logger.debug('Invoked converter with options:' + JSON.stringify(options));
1202
+ const commandWrapper = yokisExtendChecks.parseDimMinMax(value);
1203
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1204
+ await entity.command("manuSpecificYokisDimmer", commandWrapper.action, commandWrapper.payload);
1205
+ },
1206
+ },
1207
+ ];
1208
+ return {
1209
+ exposes: [exposes],
1210
+ toZigbee,
1211
+ isModernExtend: true,
1212
+ };
1213
+ },
1214
+ dimmerUpDown: () => {
1215
+ const exposes = e.enum("dimmer_Up_down_command", ea.SET, ["dimUp", "dimDown"]).withDescription("Dim up or Down").withCategory("config");
1216
+ const toZigbee = [
1217
+ {
1218
+ key: ["dimmer_Up_down_command"],
1219
+ convertSet: async (entity, key, value, meta) => {
1220
+ utils.assertString(value);
1221
+ yokisExtendChecks.log(key, value);
1222
+ await entity.command("manuSpecificYokisDimmer", value, {});
1223
+ },
1224
+ },
1225
+ ];
1226
+ return {
1227
+ exposes: [exposes],
1228
+ toZigbee,
1229
+ isModernExtend: true,
1230
+ };
1231
+ },
1232
+ dimmerMoveToFavorite: () => {
1233
+ const exposes = e
1234
+ .enum("dimmer_move_to_favorite", ea.SET, ["moveToFavorite1", "moveToFavorite2", "moveToFavorite3"])
1235
+ .withDescription("Start dimming to the favorite position 1, 2 or 3")
1236
+ .withCategory("config");
1237
+ const toZigbee = [
1238
+ {
1239
+ key: ["dimmer_move_to_favorite"],
1240
+ convertSet: async (entity, key, value, meta) => {
1241
+ utils.assertString(value);
1242
+ yokisExtendChecks.log(key, value);
1243
+ await entity.command("manuSpecificYokisDimmer", value, {});
1244
+ },
1245
+ },
1246
+ ];
1247
+ return {
1248
+ exposes: [exposes],
1249
+ toZigbee,
1250
+ isModernExtend: true,
1251
+ };
1252
+ },
1253
+ dimmerStartNightLightModeCurrent: () => {
1254
+ const exposes = e
1255
+ .enum("dimmer_start_nightlight_command", ea.SET, ["startNightLightModeCurrent"])
1256
+ .withDescription("Trigger Starnight mode from the current diming value")
1257
+ .withCategory("config");
1258
+ const toZigbee = [
1259
+ {
1260
+ key: ["dimmer_start_nightlight_command"],
1261
+ convertSet: async (entity, key, value, meta) => {
1262
+ utils.assertString(value);
1263
+ yokisExtendChecks.log(key, value);
1264
+ await entity.command("manuSpecificYokisDimmer", value, {});
1265
+ },
1266
+ },
1267
+ ];
1268
+ return {
1269
+ exposes: [exposes],
1270
+ toZigbee,
1271
+ isModernExtend: true,
1272
+ };
1273
+ },
1274
+ dimmerStartNightLightMode: () => {
1275
+ const exposes = e
1276
+ .composite("dimmer_start_nightlight_custom_command", "dimmer_start_nightlight_custom_prop", ea.SET)
1277
+ .withDescription("Start the nightlight mode with the given parameters")
1278
+ .withFeature(e
1279
+ .numeric("childmode_starting_delay", ea.SET) // ul_ChildModeStartingDelay
1280
+ .withUnit("ms")
1281
+ .withDescription("Set the starting delay value, used before the start of the nightlight, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms"))
1282
+ .withFeature(e
1283
+ .numeric("childmode_brightness_start", ea.SET) // uc_ChildModeBrightnessStart
1284
+ .withUnit("%")
1285
+ .withDescription("Set the brightness at the beginning of the ramp, otherwise use 0xFF to use the one configured in the product. Value is in %"))
1286
+ .withFeature(e
1287
+ .numeric("childmode_brightness_end", ea.SET) // uc_ChildModeBrightnessEnd
1288
+ .withUnit("%")
1289
+ .withDescription("Set the brightness at the end of the ramp, otherwise use 0xFF to use the one configured in the product. Value is in %"))
1290
+ .withFeature(e
1291
+ .numeric("childmode_ramp_duration", ea.SET) // ul_ChildModeRampDuration
1292
+ .withUnit("ms")
1293
+ .withDescription("Set the ramp duration, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms"))
1294
+ .withFeature(e
1295
+ .numeric("childmode_on_duration", ea.SET) // ul_ChildModeOnDuration
1296
+ .withUnit("ms")
1297
+ .withDescription("Set the total duration of the nightlight, otherwise use 0xFFFFFFFF to use the one configured in the product. Value is in ms"))
1298
+ .withFeature(e
1299
+ .numeric("childmode_step", ea.SET) // uc_ChildStep
1300
+ .withUnit("%")
1301
+ .withDescription("Set the step size between each dim, otherwise use 0xFF to use the one configured in the product. Value is in %"))
1302
+ .withCategory("config");
1303
+ const toZigbee = [
1304
+ {
1305
+ key: ["dimmer_start_nightlight_custom_prop"],
1306
+ convertSet: async (entity, key, value, meta) => {
1307
+ const commandWrapper = yokisExtendChecks.parseStartNightLightMode(value);
1308
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1309
+ await entity.command("manuSpecificYokisDimmer", "startNightLightMode", commandWrapper.payload);
1310
+ },
1311
+ },
1312
+ ];
1313
+ return {
1314
+ exposes: [exposes],
1315
+ toZigbee,
1316
+ isModernExtend: true,
1317
+ };
1318
+ },
1319
+ // biome-ignore lint/style/useNamingConvention: The current naming convention is currently matching the Yokis documentation
1320
+ pilotwire_setOrder: () => {
1321
+ const exposes = e
1322
+ .enum("pilotwire_set_order", ea.SET, Object.keys(pilotwireOrderEnun))
1323
+ .withDescription("Set the device in the specified order.")
1324
+ .withCategory("config");
1325
+ const toZigbee = [
1326
+ {
1327
+ key: ["pilotwire_set_order"],
1328
+ convertSet: async (entity, key, value, meta) => {
1329
+ utils.assertString(value);
1330
+ const commandWrapper = yokisExtendChecks.parsePilotwireOrder(value);
1331
+ yokisExtendChecks.log(key, value, commandWrapper.payload);
1332
+ await entity.command("manuSpecificYokisPilotWire", "setOrder", commandWrapper.payload);
1333
+ },
1334
+ },
1335
+ ];
1336
+ return {
1337
+ exposes: [exposes],
1338
+ toZigbee,
1339
+ isModernExtend: true,
1340
+ };
1341
+ },
1342
+ // biome-ignore lint/style/useNamingConvention: The current naming convention is currently matching the Yokis documentation
1343
+ pilotwire_toggleOrder: () => {
1344
+ const exposes = e
1345
+ .enum("pilotwire_toggle_order", ea.SET, ["pilotwire_toggle_order"])
1346
+ .withDescription("Toggle between order by respecting the scrolling order")
1347
+ .withCategory("config");
1348
+ const toZigbee = [
1349
+ {
1350
+ key: ["pilotwire_toggle_order"],
1351
+ convertSet: async (entity, key, value, meta) => {
1352
+ yokisExtendChecks.log(key, value);
1353
+ await entity.command("manuSpecificYokisPilotWire", "toggleOrder", {});
1354
+ },
1355
+ },
1356
+ ];
1357
+ return {
1358
+ exposes: [exposes],
1359
+ toZigbee,
1360
+ isModernExtend: true,
1361
+ };
1362
+ },
1363
+ };
1364
+ // Yokis specific definition
1365
+ // Yokis does not support the timer OnOff cluster. It uses a custom cluster instead.
1366
+ // Dereferencing the `on_time` and `off_wait_time` from the keys of the converter.
1367
+ const yokisTz = {
1368
+ on_off: {
1369
+ ...tz.on_off,
1370
+ key: ["state"],
1371
+ },
1372
+ };
1373
+ function YokisOnOff(args) {
1374
+ const result = { ...m.onOff(args), toZigbee: [yokisTz.on_off] };
1375
+ return result;
1376
+ }
1377
+ // Custom cluster exposition
1378
+ const YokisDeviceExtend = [
1379
+ // ConfigurationChanged => This attribute is used by Yokis-based controller and probably not very useful at the moment, as we don't know which configuration was changed.
1380
+ // Leaving it here for future evaluation
1381
+ //
1382
+ // numeric({
1383
+ // name: configuration_changed,
1384
+ // cluster: 'manuSpecificYokisDevice',
1385
+ // attribute: 'configurationChanged',
1386
+ // description: `Indicate if the device configuration has changed:
1387
+ // - 0 to 0xFFFE -> No Change
1388
+ // - 0xFFFF -> Change have been detected`,
1389
+ // access: 'STATE_SET',
1390
+ // valueMin: 0,
1391
+ // valueMax: 3600,
1392
+ // reporting: {min: 0, max: repInterval.HOUR, change: 1},
1393
+ // entityCategory: 'config',
1394
+ // }),
1395
+ yokisCommandsExtend.resetToFactorySettings(),
1396
+ yokisCommandsExtend.relaunchBleAdvert(),
1397
+ // openNetwork command : very specific case where the Yokis devices can create their own Zigbee network without the need of a coordinator
1398
+ // Leaving it here for future evaluation
1399
+ //
1400
+ // yokisCommandsExtend.openNetwork(),
1401
+ ];
1402
+ const YokisInputExtend = [
1403
+ // InputMode
1404
+ m.enumLookup({
1405
+ name: "input_mode",
1406
+ lookup: inputModeEnum,
1407
+ cluster: "manuSpecificYokisInput",
1408
+ attribute: "inputMode",
1409
+ description: "Indicate how the input should be handled",
1410
+ entityCategory: "config",
1411
+ }),
1412
+ // InputMode
1413
+ m.enumLookup({
1414
+ name: "contact_mode",
1415
+ lookup: { nc: 0x00, no: 0x01 },
1416
+ cluster: "manuSpecificYokisInput",
1417
+ attribute: "contactMode",
1418
+ description: "Indicate the contact nature of the entry",
1419
+ entityCategory: "config",
1420
+ }),
1421
+ // LastLocalCommandState
1422
+ m.binary({
1423
+ name: "last_local_command_state",
1424
+ cluster: "manuSpecificYokisInput",
1425
+ attribute: "lastLocalCommandState",
1426
+ description: "Indicate the last known state of the local BP",
1427
+ valueOn: ["PRESSED", 0x01],
1428
+ valueOff: ["RELEASED", 0x00],
1429
+ access: "STATE_GET",
1430
+ entityCategory: "diagnostic",
1431
+ }),
1432
+ // LastBPConnectState
1433
+ m.binary({
1434
+ name: "last_bp_connect_state",
1435
+ cluster: "manuSpecificYokisInput",
1436
+ attribute: "lastBPConnectState",
1437
+ description: "Indicate the last known state of the Bp connect",
1438
+ valueOn: ["PRESSED", 0x01],
1439
+ valueOff: ["RELEASED", 0x00],
1440
+ access: "STATE_GET",
1441
+ entityCategory: "diagnostic",
1442
+ }),
1443
+ yokisCommandsExtend.sendPress(),
1444
+ yokisCommandsExtend.sendRelease(),
1445
+ yokisCommandsExtend.selectInputMode(),
1446
+ ];
1447
+ /* Pending checks for a specific device
1448
+ const YokisInputExtendWithBacklight: ModernExtend[] = [
1449
+ // BacklightIntensity
1450
+ numeric({
1451
+ name: 'backlight_intensity',
1452
+ cluster: 'manuSpecificYokisDevice',
1453
+ attribute: 'BacklightIntensity',
1454
+ description: 'Indicate the backlight intensity applied on the keys. Only use for “Simon” product',
1455
+ valueMin: 0x00,
1456
+ valueMax: 0x64,
1457
+ entityCategory: 'config',
1458
+ }),
1459
+
1460
+ ...YokisInputExtend,
1461
+ ];
1462
+ */
1463
+ const YokisEntryExtend = [
1464
+ // eShortPress
1465
+ m.binary({
1466
+ name: "enable_short_press",
1467
+ cluster: "manuSpecificYokisEntryConfigurator",
1468
+ attribute: "eShortPress",
1469
+ description: "Use to enable short press action",
1470
+ valueOn: ["ON", 0x01],
1471
+ valueOff: ["OFF", 0x00],
1472
+ entityCategory: "config",
1473
+ }),
1474
+ // eLongPress
1475
+ m.binary({
1476
+ name: "enable_long_press",
1477
+ cluster: "manuSpecificYokisEntryConfigurator",
1478
+ attribute: "eLongPress",
1479
+ description: "Use to enable long press action",
1480
+ valueOn: ["ON", 0x01],
1481
+ valueOff: ["OFF", 0x00],
1482
+ entityCategory: "config",
1483
+ }),
1484
+ // LongPressDuration
1485
+ m.numeric({
1486
+ name: "long_press_duration",
1487
+ cluster: "manuSpecificYokisEntryConfigurator",
1488
+ attribute: "longPressDuration",
1489
+ description: "Define long Press duration in milliseconds",
1490
+ valueMin: 0x00,
1491
+ valueMax: 0x1388,
1492
+ valueStep: 1,
1493
+ unit: "ms",
1494
+ entityCategory: "config",
1495
+ }),
1496
+ // TimeBetweenPress
1497
+ m.numeric({
1498
+ name: "time_between_press",
1499
+ cluster: "manuSpecificYokisEntryConfigurator",
1500
+ attribute: "timeBetweenPress",
1501
+ description: "Define the maximum time between 2 press to keep in a sequence (In milliseconds)",
1502
+ valueMin: 0x0064,
1503
+ valueMax: 0x0258,
1504
+ valueStep: 1,
1505
+ unit: "ms",
1506
+ entityCategory: "config",
1507
+ }),
1508
+ // eR12MLongPress
1509
+ m.binary({
1510
+ name: "enable_R12M_long_press",
1511
+ cluster: "manuSpecificYokisEntryConfigurator",
1512
+ attribute: "eR12MLongPress",
1513
+ description: "Enable R12M Long Press action",
1514
+ valueOn: ["ON", 0x01],
1515
+ valueOff: ["OFF", 0x00],
1516
+ entityCategory: "config",
1517
+ }),
1518
+ // eLocalConfigLock
1519
+ m.binary({
1520
+ name: "enable_local_config_lock",
1521
+ cluster: "manuSpecificYokisEntryConfigurator",
1522
+ attribute: "eLocalConfigLock",
1523
+ description: "Disable local configuration",
1524
+ valueOn: ["ON", 0x01],
1525
+ valueOff: ["OFF", 0x00],
1526
+ entityCategory: "config",
1527
+ }),
1528
+ ];
1529
+ const YokisSubSystemExtend = [
1530
+ m.enumLookup({
1531
+ name: "power_failure_mode",
1532
+ lookup: { last_state: 0x00, off: 0x01, on: 0x02, blink: 0x03 },
1533
+ cluster: "manuSpecificYokisSubSystem",
1534
+ attribute: "powerFailureMode",
1535
+ description: "Define the device behavior after power failure",
1536
+ entityCategory: "config",
1537
+ // zigbeeCommandOptions: manufacturerOptions,
1538
+ }),
1539
+ ];
1540
+ const yokisLightControlExtend = [
1541
+ // OnOff => this is redundant from the GenOnOff state
1542
+ // Leaving it here for future evaluation
1543
+ //
1544
+ // binary({
1545
+ // name: 'on_off',
1546
+ // cluster: 'manuSpecificYokisLightControl',
1547
+ // attribute: 'onOff',
1548
+ // description: 'Use to know which state is the relay',
1549
+ // valueOn: ['ON', 0x01],
1550
+ // valueOff: ['OFF', 0x00],
1551
+ // access: 'STATE_GET',
1552
+ // reporting: {min: 0, max: repInterval.HOUR, change: 0, attribute: 'onOff'},
1553
+ // entityCategory: 'diagnostic',
1554
+ // }),
1555
+ // PrevState
1556
+ m.binary({
1557
+ name: "prev_state",
1558
+ cluster: "manuSpecificYokisLightControl",
1559
+ attribute: "prevState",
1560
+ description: "Indicate the previous state before action",
1561
+ valueOn: ["ON", 0x01],
1562
+ valueOff: ["OFF", 0x00],
1563
+ access: "STATE_GET",
1564
+ entityCategory: "diagnostic",
1565
+ }),
1566
+ // onTimer
1567
+ // eOnTimer => This attribute has been superseded by just using onTimer (a "0" onTimer will deactivate it)
1568
+ // Leaving it here for future evaluation
1569
+ //
1570
+ // binary({
1571
+ // name: 'e_on_timer',
1572
+ // cluster: 'manuSpecificYokisLightControl',
1573
+ // attribute: 'eOnTimer',
1574
+ // description: 'Enable (0x01) / Disable (0x00) use of onTimer',
1575
+ // valueOn: ['ON', 0x01],
1576
+ // valueOff: ['OFF', 0x00],
1577
+ // entityCategory: 'config',
1578
+ // }),
1579
+ m.numeric({
1580
+ name: "on_timer",
1581
+ cluster: "manuSpecificYokisLightControl",
1582
+ attribute: "onTimer",
1583
+ description: "Define the ON embedded timer duration in seconds. A `0` value will deactivate the timer",
1584
+ valueMin: 0,
1585
+ valueMax: 3600,
1586
+ valueStep: 1,
1587
+ unit: "s",
1588
+ entityCategory: "config",
1589
+ }),
1590
+ // preOnDelay
1591
+ m.binary({
1592
+ name: "enable_pre_on_delay",
1593
+ cluster: "manuSpecificYokisLightControl",
1594
+ attribute: "ePreOnDelay",
1595
+ description: "Enable (`0x01`) / Disable (`0x00`) PreOn delay",
1596
+ valueOn: ["ON", 0x01],
1597
+ valueOff: ["OFF", 0x00],
1598
+ entityCategory: "config",
1599
+ }),
1600
+ m.numeric({
1601
+ name: "pre_on_delay",
1602
+ cluster: "manuSpecificYokisLightControl",
1603
+ attribute: "preOnDelay",
1604
+ description: "Define the PreOn embedded delay in seconds",
1605
+ valueMin: 0,
1606
+ valueMax: 3600,
1607
+ valueStep: 1,
1608
+ unit: "s",
1609
+ entityCategory: "config",
1610
+ }),
1611
+ // preOffDelay
1612
+ m.binary({
1613
+ name: "enable_pre_off_delay",
1614
+ cluster: "manuSpecificYokisLightControl",
1615
+ attribute: "ePreOffDelay",
1616
+ description: "Enable (`0x01`) / Disable (`0x00`) PreOff delay",
1617
+ valueOn: ["ON", 0x01],
1618
+ valueOff: ["OFF", 0x00],
1619
+ entityCategory: "config",
1620
+ }),
1621
+ m.numeric({
1622
+ name: "pre_off_delay",
1623
+ cluster: "manuSpecificYokisLightControl",
1624
+ attribute: "preOffDelay",
1625
+ description: "Define the PreOff embedded delay in seconds",
1626
+ valueMin: 0,
1627
+ valueMax: 3600,
1628
+ valueStep: 1,
1629
+ unit: "s",
1630
+ entityCategory: "config",
1631
+ }),
1632
+ // Pulseduration
1633
+ m.numeric({
1634
+ name: "pulse_duration",
1635
+ cluster: "manuSpecificYokisLightControl",
1636
+ attribute: "pulseDuration",
1637
+ description: "Set the value of ON pulse length",
1638
+ valueMin: 0x0014,
1639
+ valueMax: 0xfffe,
1640
+ valueStep: 1,
1641
+ unit: "ms",
1642
+ entityCategory: "config",
1643
+ }),
1644
+ // TimeType
1645
+ m.enumLookup({
1646
+ name: "time_type",
1647
+ lookup: { seconds: 0x00, minutes: 0x01 },
1648
+ cluster: "manuSpecificYokisLightControl",
1649
+ attribute: "timeType",
1650
+ description: `Indicates the current Type of time selected that will be used during push button configuration:
1651
+ - 0x00 -> Seconds
1652
+ - 0x01 -> Minutes`,
1653
+ entityCategory: "config",
1654
+ }),
1655
+ // LongOnDuration
1656
+ m.numeric({
1657
+ name: "long_on_duration",
1658
+ cluster: "manuSpecificYokisLightControl",
1659
+ attribute: "longOnDuration",
1660
+ description: "Set the value of the LONG ON embedded timer in seconds",
1661
+ valueMin: 0x00,
1662
+ valueMax: 0x00409980,
1663
+ valueStep: 1,
1664
+ unit: "s",
1665
+ entityCategory: "config",
1666
+ }),
1667
+ // OperatingMode
1668
+ m.enumLookup({
1669
+ name: "operating_mode",
1670
+ lookup: { timer: 0x00, staircase: 0x01, pulse: 0x02 },
1671
+ cluster: "manuSpecificYokisLightControl",
1672
+ attribute: "operatingMode",
1673
+ description: "Indicates the operating mode",
1674
+ entityCategory: "config",
1675
+ }),
1676
+ // stopAnnounce
1677
+ m.binary({
1678
+ name: "enable_stop_announce",
1679
+ cluster: "manuSpecificYokisLightControl",
1680
+ attribute: "eStopAnnounce",
1681
+ description: "Enable (`0x01`) / Disable (`0x00`) the announcement before turning OFF",
1682
+ valueOn: ["ON", 0x01],
1683
+ valueOff: ["OFF", 0x00],
1684
+ entityCategory: "config",
1685
+ }),
1686
+ m.numeric({
1687
+ name: "stop_announce_time",
1688
+ cluster: "manuSpecificYokisLightControl",
1689
+ attribute: "stopAnnounceTime",
1690
+ description: "Time before goes off after the stop announce blinking. (In seconds)",
1691
+ valueMin: 0x00,
1692
+ valueMax: 0x00409980,
1693
+ valueStep: 1,
1694
+ unit: "s",
1695
+ entityCategory: "config",
1696
+ }),
1697
+ // eDeaf
1698
+ m.binary({
1699
+ name: "enable_deaf",
1700
+ cluster: "manuSpecificYokisLightControl",
1701
+ attribute: "eDeaf",
1702
+ description: "Enable (`0x01`) / Disable (`0x00`) Deaf Actions",
1703
+ valueOn: ["ON", 0x01],
1704
+ valueOff: ["OFF", 0x00],
1705
+ entityCategory: "config",
1706
+ }),
1707
+ m.numeric({
1708
+ name: "deaf_blink_amount",
1709
+ cluster: "manuSpecificYokisLightControl",
1710
+ attribute: "deafBlinkAmount",
1711
+ description: "Define number of blink to do when receiving the DEAF action. One blink is considered as one ON step followed by one OFF step",
1712
+ valueMin: 0x00,
1713
+ valueMax: 0x14,
1714
+ valueStep: 1,
1715
+ entityCategory: "config",
1716
+ }),
1717
+ m.numeric({
1718
+ name: "deaf_blink_time",
1719
+ cluster: "manuSpecificYokisLightControl",
1720
+ attribute: "deafBlinkTime",
1721
+ description: "Define duration of a blink ON (In millisecond)",
1722
+ valueMin: 0x0064,
1723
+ valueMax: 0x4e20,
1724
+ valueStep: 1,
1725
+ entityCategory: "config",
1726
+ }),
1727
+ // Blink
1728
+ m.binary({
1729
+ name: "enable_blink",
1730
+ cluster: "manuSpecificYokisLightControl",
1731
+ attribute: "eBlink",
1732
+ description: "Enable (`0x01`) / Disable (`0x00`) Blink Actions",
1733
+ valueOn: ["ON", 0x01],
1734
+ valueOff: ["OFF", 0x00],
1735
+ entityCategory: "config",
1736
+ }),
1737
+ m.numeric({
1738
+ name: "blink_amount",
1739
+ cluster: "manuSpecificYokisLightControl",
1740
+ attribute: "blinkAmount",
1741
+ description: "Number of blinks done when receiving the corresponding order. One blink is considered as one ON step followed by one OFF step",
1742
+ valueMin: 0x00,
1743
+ valueMax: 0x14,
1744
+ valueStep: 1,
1745
+ entityCategory: "config",
1746
+ }),
1747
+ m.numeric({
1748
+ name: "blink_on_time",
1749
+ cluster: "manuSpecificYokisLightControl",
1750
+ attribute: "blinkOnTime",
1751
+ description: "Duration for the ON time on a blink period (In millisecond)",
1752
+ valueMin: 0x00,
1753
+ valueMax: 0x00409980,
1754
+ valueStep: 1,
1755
+ entityCategory: "config",
1756
+ }),
1757
+ m.numeric({
1758
+ name: "blink_off_time",
1759
+ cluster: "manuSpecificYokisLightControl",
1760
+ attribute: "blinkOffTime",
1761
+ description: "Duration for the OFF time on a blink period (In millisecond)",
1762
+ valueMin: 0x00,
1763
+ valueMax: 0x00409980,
1764
+ valueStep: 1,
1765
+ entityCategory: "config",
1766
+ }),
1767
+ // StateAfterBlink
1768
+ m.enumLookup({
1769
+ name: "state_after_blink",
1770
+ lookup: stateAfterBlinkEnum,
1771
+ cluster: "manuSpecificYokisLightControl",
1772
+ attribute: "stateAfterBlink",
1773
+ description: "Indicate which state must be apply after a blink sequence",
1774
+ entityCategory: "config",
1775
+ }),
1776
+ // eNcCommand
1777
+ m.binary({
1778
+ name: "enable_nc_command",
1779
+ cluster: "manuSpecificYokisLightControl",
1780
+ attribute: "eNcCommand",
1781
+ description: "Define the output relay as Normally close",
1782
+ valueOn: ["ON", 0x01],
1783
+ valueOff: ["OFF", 0x00],
1784
+ entityCategory: "config",
1785
+ }),
1786
+ yokisCommandsExtend.moveToPosition(),
1787
+ yokisCommandsExtend.pulse(),
1788
+ yokisCommandsExtend.blink(),
1789
+ yokisCommandsExtend.deafBlink(),
1790
+ yokisCommandsExtend.longOnCommand(),
1791
+ ];
1792
+ const YokisDimmerExtend = [
1793
+ // currentPosition
1794
+ m.numeric({
1795
+ name: "current_position",
1796
+ cluster: "manuSpecificYokisDimmer",
1797
+ attribute: "currentPosition",
1798
+ description: "This attribute defines the current position, in %",
1799
+ access: "STATE_GET",
1800
+ entityCategory: "diagnostic",
1801
+ }),
1802
+ // memoryPosition
1803
+ m.numeric({
1804
+ name: "memory_position",
1805
+ cluster: "manuSpecificYokisDimmer",
1806
+ attribute: "memoryPosition",
1807
+ description: "This attribute defines the memory position, in %",
1808
+ access: "STATE_GET",
1809
+ entityCategory: "diagnostic",
1810
+ }),
1811
+ // RampUp
1812
+ m.binary({
1813
+ name: "enable_ramp_up",
1814
+ cluster: "manuSpecificYokisDimmer",
1815
+ attribute: "eRampUp",
1816
+ description: "This attribute defines if a ramp up should be used or not",
1817
+ valueOn: ["ON", 0x01],
1818
+ valueOff: ["OFF", 0x00],
1819
+ entityCategory: "config",
1820
+ }),
1821
+ m.numeric({
1822
+ name: "ramp_up",
1823
+ cluster: "manuSpecificYokisDimmer",
1824
+ attribute: "rampUp",
1825
+ description: "This attribute defines the time taken during the ramp up in ms",
1826
+ valueMin: 0x00000000,
1827
+ valueMax: 0x05265c00,
1828
+ valueStep: 1000,
1829
+ entityCategory: "config",
1830
+ }),
1831
+ // RampDown
1832
+ m.binary({
1833
+ name: "enable_ramp_down",
1834
+ cluster: "manuSpecificYokisDimmer",
1835
+ attribute: "eRampDown",
1836
+ description: "This attribute defines if a ramp down should be used or not",
1837
+ valueOn: ["ON", 0x01],
1838
+ valueOff: ["OFF", 0x00],
1839
+ entityCategory: "config",
1840
+ }),
1841
+ m.numeric({
1842
+ name: "ramp_down",
1843
+ cluster: "manuSpecificYokisDimmer",
1844
+ attribute: "rampDown",
1845
+ description: "This attribute defines the time taken during the ramp down in ms",
1846
+ valueMin: 0x00000000,
1847
+ valueMax: 0x05265c00,
1848
+ valueStep: 1000,
1849
+ entityCategory: "config",
1850
+ }),
1851
+ // rampContinuousTime
1852
+ m.numeric({
1853
+ name: "ramp_continuous_time",
1854
+ cluster: "manuSpecificYokisDimmer",
1855
+ attribute: "rampContinuousTime",
1856
+ description: "This attribute defines the time taken during the ramp loop in ms",
1857
+ valueMin: 0x00000000,
1858
+ valueMax: 0x05265c00,
1859
+ valueStep: 1000,
1860
+ entityCategory: "config",
1861
+ }),
1862
+ // stepUp
1863
+ m.numeric({
1864
+ name: "step_up",
1865
+ cluster: "manuSpecificYokisDimmer",
1866
+ attribute: "stepUp",
1867
+ description: "This attribute defines the value of each step during a dimming up. This value is set in %",
1868
+ valueMin: 0x00,
1869
+ valueMax: 0x64,
1870
+ valueStep: 1,
1871
+ entityCategory: "config",
1872
+ }),
1873
+ // lowDimLimit
1874
+ m.numeric({
1875
+ name: "low_dim_limit",
1876
+ cluster: "manuSpecificYokisDimmer",
1877
+ attribute: "lowDimLimit",
1878
+ description: "This attribute defines the value of the low dim limit, used during a dimming loop, on a long press for example. This value is set in %",
1879
+ valueMin: 0x00,
1880
+ valueMax: 0x64,
1881
+ valueStep: 1,
1882
+ entityCategory: "config",
1883
+ }),
1884
+ // highDimLimit
1885
+ m.numeric({
1886
+ name: "high_dim_limit",
1887
+ cluster: "manuSpecificYokisDimmer",
1888
+ attribute: "highDimLimit",
1889
+ description: "This attribute defines the value of the high dim limit, used during a dimming loop, on a long press for example. This value is set in %",
1890
+ valueMin: 0x00,
1891
+ valueMax: 0x64,
1892
+ valueStep: 1,
1893
+ entityCategory: "config",
1894
+ }),
1895
+ // nightLightStartingDelay
1896
+ m.numeric({
1897
+ name: "nightlight_starting_delay",
1898
+ cluster: "manuSpecificYokisDimmer",
1899
+ attribute: "nightLightStartingDelay",
1900
+ description: "This attribute defines the time before the nightlight begin. This value is set in seconds",
1901
+ valueMin: 0x00000000,
1902
+ valueMax: 0xfffffffe,
1903
+ valueStep: 10,
1904
+ entityCategory: "config",
1905
+ }),
1906
+ // nightLightStartingBrightness
1907
+ m.numeric({
1908
+ name: "nightlight_starting_brightness",
1909
+ cluster: "manuSpecificYokisDimmer",
1910
+ attribute: "nightLightStartingBrightness",
1911
+ description: "This attribute defines the dimming value at the start of the nightlight. This value is set in %",
1912
+ valueMin: 0x00,
1913
+ valueMax: 0x64,
1914
+ valueStep: 1,
1915
+ entityCategory: "config",
1916
+ }),
1917
+ // nightLightEndingBrightness
1918
+ m.numeric({
1919
+ name: "nightlight_ending_brightness",
1920
+ cluster: "manuSpecificYokisDimmer",
1921
+ attribute: "nightLightEndingBrightness",
1922
+ description: "This attribute defines the dimming value at the last step of the nightlight. This attribute must be lower than 0x000D : Nightlight starting brightness. This value is set in %",
1923
+ valueMin: 0x00,
1924
+ valueMax: 0x64,
1925
+ valueStep: 1,
1926
+ entityCategory: "config",
1927
+ }),
1928
+ // nightLightRampTime
1929
+ m.numeric({
1930
+ name: "nightlight_ramp_time",
1931
+ cluster: "manuSpecificYokisDimmer",
1932
+ attribute: "nightLightRampTime",
1933
+ description: "This attribute defines the ramp duration of the nightlight. The ramp is running after the end of the starting delay and until the ending bright is reached. This value is set in seconds",
1934
+ valueMin: 0x00000000,
1935
+ valueMax: 0x05265c00,
1936
+ valueStep: 10,
1937
+ entityCategory: "config",
1938
+ }),
1939
+ // nightLightOnTime
1940
+ m.numeric({
1941
+ name: "nightlight_on_time",
1942
+ cluster: "manuSpecificYokisDimmer",
1943
+ attribute: "nightLightOnTime",
1944
+ description: "This attribute defines the total duration of the nightlight. It must not be lower than 0x000F : Nightlight ramp time. This value is set in seconds",
1945
+ valueMin: 0x00000000,
1946
+ valueMax: 0x00409980,
1947
+ valueStep: 10,
1948
+ entityCategory: "config",
1949
+ }),
1950
+ // favoritePosition1
1951
+ m.numeric({
1952
+ name: "favorite_position_1",
1953
+ cluster: "manuSpecificYokisDimmer",
1954
+ attribute: "favoritePosition1",
1955
+ description: "This attribute defines the value of the favorite position 1. This value is set in %",
1956
+ valueMin: 0x00,
1957
+ valueMax: 0x64,
1958
+ valueStep: 1,
1959
+ entityCategory: "config",
1960
+ }),
1961
+ // favoritePosition2
1962
+ m.numeric({
1963
+ name: "favorite_position_2",
1964
+ cluster: "manuSpecificYokisDimmer",
1965
+ attribute: "favoritePosition2",
1966
+ description: "This attribute defines the value of the favorite position 2. This value is set in %",
1967
+ valueMin: 0x00,
1968
+ valueMax: 0x64,
1969
+ valueStep: 1,
1970
+ entityCategory: "config",
1971
+ }),
1972
+ // favoritePosition3
1973
+ m.numeric({
1974
+ name: "favorite_position_3",
1975
+ cluster: "manuSpecificYokisDimmer",
1976
+ attribute: "favoritePosition3",
1977
+ description: "This attribute defines the value of the favorite position 3. This value is set in %",
1978
+ valueMin: 0x00,
1979
+ valueMax: 0x64,
1980
+ valueStep: 1,
1981
+ entityCategory: "config",
1982
+ }),
1983
+ // stepControllerMode
1984
+ m.binary({
1985
+ name: "step_controller_mode",
1986
+ cluster: "manuSpecificYokisDimmer",
1987
+ attribute: "stepControllerMode",
1988
+ description: "This attribute enables or disables the 2-step controller mode. This mode enable product to run without any ramp before and after ON or OFF. It acts like a relay",
1989
+ valueOn: ["ON", 0x01],
1990
+ valueOff: ["OFF", 0x00],
1991
+ entityCategory: "config",
1992
+ }),
1993
+ // memoryPositionMode
1994
+ m.binary({
1995
+ name: "memory_position_mode",
1996
+ cluster: "manuSpecificYokisDimmer",
1997
+ attribute: "memoryPositionMode",
1998
+ description: "This attribute enables or disables the memory position mode at first push button release",
1999
+ valueOn: ["ON", 0x01],
2000
+ valueOff: ["OFF", 0x00],
2001
+ entityCategory: "config",
2002
+ }),
2003
+ // stepDown
2004
+ m.numeric({
2005
+ name: "step_down",
2006
+ cluster: "manuSpecificYokisDimmer",
2007
+ attribute: "stepDown",
2008
+ description: "This attribute defines the value of each step during a dimming down. This value is set in %",
2009
+ valueMin: 0x00,
2010
+ valueMax: 0x64,
2011
+ valueStep: 1,
2012
+ entityCategory: "config",
2013
+ }),
2014
+ // stepContinuous
2015
+ m.numeric({
2016
+ name: "step_continuous",
2017
+ cluster: "manuSpecificYokisDimmer",
2018
+ attribute: "stepContinuous",
2019
+ description: "This attribute defines the value of each step during a dimming loop. This value is set in %",
2020
+ valueMin: 0x00,
2021
+ valueMax: 0x64,
2022
+ valueStep: 1,
2023
+ entityCategory: "config",
2024
+ }),
2025
+ // stepNightLigth
2026
+ m.numeric({
2027
+ name: "step_nightlight",
2028
+ cluster: "manuSpecificYokisDimmer",
2029
+ attribute: "stepNightLight",
2030
+ description: "This attribute defines the value of each step during the ramp down of the nightlight mode. This value is set in %",
2031
+ valueMin: 0x00,
2032
+ valueMax: 0x64,
2033
+ valueStep: 1,
2034
+ entityCategory: "config",
2035
+ }),
2036
+ yokisCommandsExtend.dimmerDim(),
2037
+ yokisCommandsExtend.dimmerUpDown(),
2038
+ yokisCommandsExtend.dimmerDimMinMax(),
2039
+ yokisCommandsExtend.dimmerMoveToFavorite(),
2040
+ yokisCommandsExtend.dimmerStartNightLightModeCurrent(),
2041
+ yokisCommandsExtend.dimmerStartNightLightMode(),
2042
+ ];
2043
+ const YokisWindowCoveringExtend = [
2044
+ // TODO : Placeholder - pending documentation
2045
+ ];
2046
+ /* Pending checks for a specific device
2047
+ const YokisChannelExtend: ModernExtend[] = [
2048
+ // On/Off cluster mode
2049
+ enumLookup({
2050
+ name: 'on_off_cluster_mode',
2051
+ lookup: {toggle: 0x00, on: 0x01, off: 0x02, off2: 0x03},
2052
+ cluster: 'manuSpecificYokisChannel',
2053
+ attribute: 'onOffClusterMode',
2054
+ description: `Define the command to send to the servers using cluster On/Off. Values are:
2055
+ - 0x00 – TOGGLE (1)
2056
+ - 0x01 – ON
2057
+ - 0x02 – OFF
2058
+ - 0x03 – OFF
2059
+ `,
2060
+ entityCategory: 'config',
2061
+ }),
2062
+
2063
+ // Level control cluster mode
2064
+ enumLookup({
2065
+ name: 'level_control_cluster_mode',
2066
+ lookup: {nothing: 0x00, move_up: 0x01, move_down: 0x02, stop: 0x03},
2067
+ cluster: 'manuSpecificYokisChannel',
2068
+ attribute: 'levelControlClusterMode',
2069
+ description: `Define the command to send to the servers using cluster Level control. Values are:
2070
+ - 0x00 – Nothing
2071
+ - 0x01 – Move up
2072
+ - 0x02 – Move down
2073
+ - 0x03 – Stop
2074
+ `,
2075
+ entityCategory: 'config',
2076
+ }),
2077
+
2078
+ // Window covering cluster mode
2079
+ enumLookup({
2080
+ name: 'window_covering_cluster_mode',
2081
+ lookup: {toggle: 0x00, up_open: 0x01, down_close: 0x02, stop: 0x03},
2082
+ cluster: 'manuSpecificYokisChannel',
2083
+ attribute: 'windowCoveringClusterMode',
2084
+ description: `Define the command to send to the servers using cluster Window Covering. Values are:
2085
+ - 0x00 – TOGGLE (1)
2086
+ - 0x01 – UP/OPEN
2087
+ - 0x02 – DOWN/CLOSE
2088
+ - 0x03 – STOP
2089
+ `,
2090
+ entityCategory: 'config',
2091
+ }),
2092
+
2093
+ // Cluster to be used
2094
+ // Supports reporting
2095
+ numeric({
2096
+ name: 'cluster_to_be_used',
2097
+ cluster: 'manuSpecificYokisChannel',
2098
+ attribute: 'clusterToBeUsed',
2099
+ description: `Defines the cluster that will be used by the channel to create an order.
2100
+
2101
+ If the value is set to 0xFFF0 the device will use a cluster priority list in order to choose the correct cluster and create the order associate depending on the target binded to the channel. The device will check which cluster the target declares and use the highest priority
2102
+
2103
+ The priority list is:
2104
+ - Yokis Input cluster (0xFC02)
2105
+ - Window covering (0x0102)
2106
+ - On Off (0x0006)
2107
+ - Level Control (0x0008)
2108
+ - Yokis Pilot Wire (0xFC0A)
2109
+ - Yokis Light Control (0xFC06)
2110
+
2111
+ This mode allows the user to “mix” multiple device type on the same channel.
2112
+
2113
+ When a cluster is specified, the channel will only “control” the device binded with this specific cluster.
2114
+ `,
2115
+ entityCategory: 'config',
2116
+ }),
2117
+
2118
+ // Sending mode
2119
+ enumLookup({
2120
+ name: 'sending_mode',
2121
+ lookup: {direct: 0x00, broadcast: 0x01, group: 0x02},
2122
+ cluster: 'manuSpecificYokisChannel',
2123
+ attribute: 'sendingMode',
2124
+ description: `Define the channel sending mode:
2125
+ - 0x00 : DIRECT
2126
+ - 0x01 : BROADCAST
2127
+ - 0x02: GROUP (Will use the Group Id)
2128
+ `,
2129
+ entityCategory: 'config',
2130
+ }),
2131
+
2132
+ // Yokis light control mode
2133
+ enumLookup({
2134
+ name: 'yokis_light_control_mode',
2135
+ lookup: {pulse: 0x00, deaf: 0x01},
2136
+ cluster: 'manuSpecificYokisChannel',
2137
+ attribute: 'yokisLightControlMode',
2138
+ description: `Define the light control mode used between remote and the binded device. Values are:
2139
+ - 0x00 – Mode pulse
2140
+ - 0x01 – Mode deaf
2141
+ `,
2142
+ entityCategory: 'config',
2143
+ }),
2144
+
2145
+ // Yokis pilot wire cluster mode
2146
+ enumLookup({
2147
+ name: 'yokis_pilot_wire_cluster_mode',
2148
+ lookup: {toggle: 0x00, confort: 0x01, eco: 0x02},
2149
+ cluster: 'manuSpecificYokisChannel',
2150
+ attribute: 'yokisPilotWireClusterMode',
2151
+ description: `Define the command to send to the servers using cluster Yokis Pilot Wire. Values are:
2152
+ - 0x00 – TOGGLE (1)
2153
+ - 0x01 – CONFORT
2154
+ - 0x02 – ECO
2155
+ `,
2156
+ entityCategory: 'config',
2157
+ }),
2158
+
2159
+ // Group id
2160
+ numeric({
2161
+ name: 'group_id',
2162
+ cluster: 'manuSpecificYokisChannel',
2163
+ attribute: 'groupId',
2164
+ description: `Indicate the group id who will receive the command from the dedicated endpoint. Only used when the sending mode is set to “GROUP” (0x02)`,
2165
+ entityCategory: 'config',
2166
+ }),
2167
+ ];
2168
+ */
2169
+ // biome-ignore lint/correctness/noUnusedVariables: Placeholder for potential futur implementation
2170
+ const YokisLoadManagerExtend = [
2171
+ // Not implemented (probably never will)
2172
+ ];
2173
+ const YokisPilotWireExtend = [
2174
+ // Actual Order
2175
+ m.enumLookup({
2176
+ name: "actual_order",
2177
+ lookup: {
2178
+ stop: 0x00,
2179
+ frost_off: 0x01,
2180
+ eco: 0x02,
2181
+ confort_2: 0x03,
2182
+ confort_1: 0x04,
2183
+ confort: 0x05,
2184
+ shortcut_error: 0x06,
2185
+ temperature_error: 0x07,
2186
+ },
2187
+ cluster: "manuSpecificYokisPilotWire",
2188
+ attribute: "actualOrder",
2189
+ description: "Represent the actual order used by the device",
2190
+ access: "STATE_GET",
2191
+ reporting: { min: constants_1.repInterval.MINUTE, max: constants_1.repInterval.HOUR, change: 1 },
2192
+ entityCategory: "diagnostic",
2193
+ }),
2194
+ // Order timer
2195
+ m.numeric({
2196
+ name: "order_timer",
2197
+ cluster: "manuSpecificYokisPilotWire",
2198
+ attribute: "orderTimer",
2199
+ description: "Define the “Order” embedded timer duration. This timer is set when the device changes its order (in second). After that duration, the device is set back to its fallback order.",
2200
+ valueMin: 0x00000000,
2201
+ valueMax: 0xffffffff,
2202
+ valueStep: 1,
2203
+ // reporting: {min: repInterval.SECONDS_5, max: repInterval.MINUTES_15, change: 1}, // we probably dont need to do a reporting for configuration attribute
2204
+ entityCategory: "config",
2205
+ }),
2206
+ // Pre-Order timer
2207
+ m.numeric({
2208
+ name: "pre_order_timer",
2209
+ cluster: "manuSpecificYokisPilotWire",
2210
+ attribute: "preOrderTimer",
2211
+ description: "Define the duration before an order is set. This timer is used when a new order is asked, it corresponds to the time before this order is applied. The duration is set in second.",
2212
+ valueMin: 0x00000000,
2213
+ valueMax: 0xffffffff,
2214
+ valueStep: 1,
2215
+ // reporting: {min: repInterval.SECONDS_5, max: repInterval.MINUTES_15, change: 1}, // we probably dont need to do a reporting for configuration attribute
2216
+ entityCategory: "config",
2217
+ }),
2218
+ // Timer unit
2219
+ m.enumLookup({
2220
+ name: "timer_unit",
2221
+ lookup: {
2222
+ second: 0x00,
2223
+ minutes: 0x01,
2224
+ },
2225
+ cluster: "manuSpecificYokisPilotWire",
2226
+ attribute: "timerUnit",
2227
+ description: "Represent the actual unit used for local command configuration",
2228
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2229
+ entityCategory: "config",
2230
+ }),
2231
+ // Led mode
2232
+ m.enumLookup({
2233
+ name: "led_mode",
2234
+ lookup: {
2235
+ led_on: 0x00,
2236
+ led_off: 0x01,
2237
+ },
2238
+ cluster: "manuSpecificYokisPilotWire",
2239
+ attribute: "ledMode",
2240
+ description: `Define the product’s LED behavior:
2241
+ - 0x00 -> LED is always ON and blink during radio activity (default)
2242
+ - 0x01 -> LED is only OFF during few seconds after a mode transition`,
2243
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2244
+ entityCategory: "config",
2245
+ }),
2246
+ // Pilot-wire relay mode
2247
+ m.enumLookup({
2248
+ name: "pilot_wire_relay_mode",
2249
+ lookup: {
2250
+ relay_on: 0x00,
2251
+ relay_off: 0x01,
2252
+ },
2253
+ cluster: "manuSpecificYokisPilotWire",
2254
+ attribute: "pilotWireRelayMode",
2255
+ description: `Define if the product must be set into pilot wire relay mode:
2256
+ - 0x00 -> Relay mode is deactivated (default)
2257
+ - 0x01 -> Relay mode is activated`,
2258
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2259
+ entityCategory: "config",
2260
+ }),
2261
+ // Order scrolling mode
2262
+ m.enumLookup({
2263
+ name: "order_scrolling_mode",
2264
+ lookup: {
2265
+ forward: 0x00,
2266
+ backward: 0x01,
2267
+ },
2268
+ cluster: "manuSpecificYokisPilotWire",
2269
+ attribute: "orderScrollingMode",
2270
+ description: `Define the order scrolling sense:
2271
+ - 0x00 -> Forward : Confort -> Confort – 1 -> Confort – 2 -> Eco -> Hors-Gel -> Arrêt (default)
2272
+ - 0x01 -> Backward : Arrêt -> Hors-Gel -> Eco -> Confort – 2 -> Confort – 1 -> Confort`,
2273
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2274
+ entityCategory: "config",
2275
+ }),
2276
+ // Order number supported
2277
+ m.enumLookup({
2278
+ name: "order_number_supported",
2279
+ lookup: {
2280
+ four_orders: 0x00,
2281
+ six_orders: 0x01,
2282
+ },
2283
+ cluster: "manuSpecificYokisPilotWire",
2284
+ attribute: "orderNumberSupported",
2285
+ description: `Define the number of orders supported by the device:
2286
+ - 0x00 -> 4 orders (Confort, Eco, Hors-Gel, Arrêt)
2287
+ - 0x01 -> 6 orders (Confort, Confort – 1, Confort – 2, Eco, Hors-Gel, Arrêt) - (default)`,
2288
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2289
+ entityCategory: "config",
2290
+ }),
2291
+ // Fallback Order
2292
+ m.enumLookup({
2293
+ name: "fallback_order",
2294
+ lookup: pilotwireOrderEnun,
2295
+ cluster: "manuSpecificYokisPilotWire",
2296
+ attribute: "fallbackOrder",
2297
+ description: "Represent the fallback order used by the device after the end of an order timer is reached",
2298
+ // reporting: {min: repInterval.MINUTE, max: repInterval.HOUR, change: 1}, // we probably dont need to do a reporting for configuration attribute
2299
+ entityCategory: "config",
2300
+ }),
2301
+ yokisCommandsExtend.pilotwire_setOrder(),
2302
+ yokisCommandsExtend.pilotwire_toggleOrder(),
2303
+ ];
2304
+ // biome-ignore lint/correctness/noUnusedVariables: Placeholder for potential futur implementation
2305
+ const YokisStatsExtend = [
2306
+ // Not implemented (probably never will)
2307
+ ];
2308
+ const YokisTemperatureMeasurementExtend = [
2309
+ // currentValue > this is probably redundant with msTemperatureMeasurement
2310
+ m.numeric({
2311
+ name: "current_value",
2312
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2313
+ attribute: "currentValue",
2314
+ description: "This attribute represents the last value measured.",
2315
+ access: "STATE_GET",
2316
+ entityCategory: "diagnostic",
2317
+ //endpointNames: ["9"],
2318
+ unit: "°C",
2319
+ valueMin: -50.0,
2320
+ valueMax: 120.0,
2321
+ valueStep: 0.01,
2322
+ scale: 100,
2323
+ // reporting: {min: "10_SECONDS", max: "1_HOUR", change: 100},
2324
+ }),
2325
+ m.numeric({
2326
+ name: "min_measured_value",
2327
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2328
+ attribute: "minMeasuredValue",
2329
+ description: "Represent the minimal value set since the last power-on/reset.",
2330
+ access: "STATE_GET",
2331
+ entityCategory: "diagnostic",
2332
+ //endpointNames: ["9"],
2333
+ unit: "°C",
2334
+ valueMin: -50.0,
2335
+ valueMax: 120.0,
2336
+ valueStep: 0.01,
2337
+ scale: 100,
2338
+ }),
2339
+ m.numeric({
2340
+ name: "max_measured_value",
2341
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2342
+ attribute: "maxMeasuredValue",
2343
+ description: "Represent the maximal value set since the last power-on/reset.",
2344
+ access: "STATE_GET",
2345
+ entityCategory: "diagnostic",
2346
+ //endpointNames: ["9"],
2347
+ unit: "°C",
2348
+ valueMin: -50.0,
2349
+ valueMax: 120.0,
2350
+ valueStep: 0.01,
2351
+ scale: 100,
2352
+ }),
2353
+ m.numeric({
2354
+ name: "offset",
2355
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2356
+ attribute: "offset",
2357
+ description: "Represent the offset applicated to the temperature measured.",
2358
+ entityCategory: "config",
2359
+ //endpointNames: ["9"],
2360
+ unit: "°C",
2361
+ valueMin: -50.0,
2362
+ valueMax: 50.0,
2363
+ valueStep: 0.1,
2364
+ scale: 10,
2365
+ }),
2366
+ m.numeric({
2367
+ name: "samplingPeriod",
2368
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2369
+ attribute: "samplingPeriod",
2370
+ description: "Represent the sampling period used to process the temperature measurement.",
2371
+ entityCategory: "config",
2372
+ //endpointNames: ["9"],
2373
+ unit: "s",
2374
+ valueMin: 1,
2375
+ valueMax: 120,
2376
+ valueStep: 1,
2377
+ }),
2378
+ m.numeric({
2379
+ name: "samplingNumber",
2380
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2381
+ attribute: "samplingNumber",
2382
+ description: "Represents the sampling number to sense per sampling period defined before.",
2383
+ entityCategory: "config",
2384
+ //endpointNames: ["9"],
2385
+ valueMin: 1,
2386
+ valueMax: 20,
2387
+ valueStep: 1,
2388
+ }),
2389
+ m.numeric({
2390
+ name: "deltaTemp",
2391
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2392
+ attribute: "deltaTemp",
2393
+ description: "Represents the temperature variation to request a new temperature sending through reports.",
2394
+ entityCategory: "config",
2395
+ //endpointNames: ["9"],
2396
+ unit: "°C",
2397
+ valueMin: 0,
2398
+ valueMax: 10,
2399
+ valueStep: 0.1,
2400
+ scale: 10,
2401
+ }),
2402
+ m.numeric({
2403
+ name: "minimalSendingPeriod",
2404
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2405
+ attribute: "minimalSendingPeriod",
2406
+ description: "Represents the minimal sending period that the device must respect before sending a new value through reporting.",
2407
+ entityCategory: "config",
2408
+ //endpointNames: ["9"],
2409
+ valueMin: 0,
2410
+ valueMax: 65535,
2411
+ valueStep: 1,
2412
+ }),
2413
+ m.numeric({
2414
+ name: "maximalSendingPeriod",
2415
+ cluster: "manuSpecificYokisTemperatureMeasurement",
2416
+ attribute: "maximalSendingPeriod",
2417
+ description: "Represents the maximal sending period. The device must send a new value through reporting before the end of this period.",
2418
+ entityCategory: "config",
2419
+ //endpointNames: ["9"],
2420
+ valueMin: 0,
2421
+ valueMax: 65535,
2422
+ valueStep: 1,
2423
+ }),
2424
+ ];
2425
+ // #endregion
2426
+ exports.definitions = [
2427
+ {
2428
+ // MTR500E-UP
2429
+ zigbeeModel: ["MTR500E-UP"],
2430
+ model: "MTR500E-UP",
2431
+ vendor: "YOKIS",
2432
+ description: "Remote power switch with timer 500W",
2433
+ extend: [
2434
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2435
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2436
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2437
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2438
+ m.deviceAddCustomCluster("manuSpecificYokisLoadManager", YokisClustersDefinition.manuSpecificYokisLoadManager), // Pending implementation
2439
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2440
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2441
+ YokisOnOff({ powerOnBehavior: false }), // StartupOnOff is not supported
2442
+ m.identify(),
2443
+ ...YokisSubSystemExtend,
2444
+ ...yokisLightControlExtend,
2445
+ ...YokisDeviceExtend,
2446
+ ...YokisInputExtend,
2447
+ ...YokisEntryExtend,
2448
+ ],
2449
+ },
2450
+ {
2451
+ // MTR1300E-UP
2452
+ zigbeeModel: ["MTR1300E-UP", "MTR1300EB-UP"],
2453
+ model: "MTR1300E-UP",
2454
+ vendor: "YOKIS",
2455
+ description: "Remote power switch with timer 1300W",
2456
+ whiteLabel: [
2457
+ {
2458
+ model: "MTR1300EB-UP",
2459
+ vendor: "YOKIS",
2460
+ description: "Remote power switch with timer 1300W with screw terminals",
2461
+ fingerprint: [{ modelID: "MTR1300EB-UP" }],
2462
+ },
2463
+ ],
2464
+ extend: [
2465
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2466
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2467
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2468
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2469
+ m.deviceAddCustomCluster("manuSpecificYokisLoadManager", YokisClustersDefinition.manuSpecificYokisLoadManager), // Pending implementation
2470
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2471
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2472
+ YokisOnOff({ powerOnBehavior: false }), // StartupOnOff is not supported
2473
+ m.identify(),
2474
+ ...YokisSubSystemExtend,
2475
+ ...yokisLightControlExtend,
2476
+ ...YokisDeviceExtend,
2477
+ ...YokisInputExtend,
2478
+ ...YokisEntryExtend,
2479
+ ],
2480
+ },
2481
+ {
2482
+ // MTR2000E-UP
2483
+ zigbeeModel: ["MTR2000E-UP"],
2484
+ model: "MTR2000E-UP",
2485
+ vendor: "YOKIS",
2486
+ description: "Remote power switch with timer 2000W",
2487
+ extend: [
2488
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2489
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2490
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2491
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2492
+ m.deviceAddCustomCluster("manuSpecificYokisLoadManager", YokisClustersDefinition.manuSpecificYokisLoadManager), // Pending implementation
2493
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2494
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2495
+ YokisOnOff({ powerOnBehavior: false }), // StartupOnOff is not supported
2496
+ m.identify(),
2497
+ ...YokisSubSystemExtend,
2498
+ ...yokisLightControlExtend,
2499
+ ...YokisDeviceExtend,
2500
+ ...YokisInputExtend,
2501
+ ...YokisEntryExtend,
2502
+ ],
2503
+ },
2504
+ {
2505
+ // MTV300E-UP
2506
+ zigbeeModel: ["MTV300E-UP"],
2507
+ model: "MTV300E-UP",
2508
+ vendor: "YOKIS",
2509
+ description: "Remote dimmer with timer 300W",
2510
+ extend: [
2511
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2512
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2513
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2514
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2515
+ m.deviceAddCustomCluster("manuSpecificYokisLoadManager", YokisClustersDefinition.manuSpecificYokisLoadManager), // Pending implementation
2516
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2517
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2518
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2519
+ m.light({
2520
+ effect: false, // related to the identify cluster
2521
+ configureReporting: true,
2522
+ powerOnBehavior: false,
2523
+ }), // StartupOnOff is not supported, TODO: review dimmer cluster instead
2524
+ m.identify(),
2525
+ ...yokisLightControlExtend,
2526
+ ...YokisSubSystemExtend,
2527
+ ...YokisDimmerExtend,
2528
+ ...YokisDeviceExtend,
2529
+ ...YokisInputExtend,
2530
+ ...YokisEntryExtend,
2531
+ ],
2532
+ },
2533
+ {
2534
+ // MVR500E-UP
2535
+ zigbeeModel: ["MVR500E-UP"],
2536
+ model: "MVR500E-UP",
2537
+ vendor: "YOKIS",
2538
+ description: "Roller shutter module 500W",
2539
+ extend: [
2540
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2541
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2542
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2543
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2544
+ m.deviceAddCustomCluster("manuSpecificYokisLoadManager", YokisClustersDefinition.manuSpecificYokisLoadManager), // Pending implementation
2545
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering),
2546
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2547
+ m.identify(),
2548
+ m.windowCovering({ controls: ["lift"] }),
2549
+ m.commandsWindowCovering(),
2550
+ ...YokisSubSystemExtend,
2551
+ ...YokisWindowCoveringExtend,
2552
+ ...YokisDeviceExtend,
2553
+ ...YokisInputExtend,
2554
+ ...YokisEntryExtend,
2555
+ ],
2556
+ },
2557
+ {
2558
+ // E2BP-UP
2559
+ zigbeeModel: ["E2BP-UP"],
2560
+ model: "E2BP-UP",
2561
+ vendor: "YOKIS",
2562
+ description: "Flush-mounted independent 2-channel transmitter",
2563
+ extend: [
2564
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2565
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2566
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2567
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2568
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2569
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2570
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2571
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
2572
+ m.identify(),
2573
+ m.commandsOnOff(),
2574
+ m.commandsLevelCtrl(),
2575
+ m.commandsWindowCovering(),
2576
+ // ...YokisDeviceExtend,
2577
+ // ...YokisInputExtend,
2578
+ // ...YokisChannelExtend,
2579
+ ],
2580
+ },
2581
+ {
2582
+ // E2BPA-UP
2583
+ zigbeeModel: ["E2BPA-UP"],
2584
+ model: "E2BPA-UP",
2585
+ vendor: "YOKIS",
2586
+ description: "Flush-mounted independent 2-channel transmitter (main powered)",
2587
+ extend: [
2588
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2589
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2590
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2591
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2592
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2593
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2594
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2595
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
2596
+ m.identify(),
2597
+ m.commandsOnOff(),
2598
+ m.commandsLevelCtrl(),
2599
+ m.commandsWindowCovering(),
2600
+ // ...YokisDeviceExtend,
2601
+ // ...YokisInputExtend,
2602
+ // ...YokisChannelExtend,
2603
+ ],
2604
+ },
2605
+ {
2606
+ // E4BP-UP
2607
+ zigbeeModel: ["E4BP-UP"],
2608
+ model: "E4BP-UP",
2609
+ vendor: "YOKIS",
2610
+ description: "Flush-mounted independent 4-channel transmitter",
2611
+ extend: [
2612
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2613
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2614
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2615
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2616
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2617
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2618
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2619
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 } }),
2620
+ m.identify(),
2621
+ m.commandsOnOff(),
2622
+ m.commandsLevelCtrl(),
2623
+ m.commandsWindowCovering(),
2624
+ // ...YokisDeviceExtend,
2625
+ // ...YokisInputExtend,
2626
+ // ...YokisChannelExtend,
2627
+ ],
2628
+ },
2629
+ {
2630
+ // E4BPX-UP
2631
+ zigbeeModel: ["E4BPX-UP"],
2632
+ model: "E4BPX-UP",
2633
+ vendor: "YOKIS",
2634
+ description: "Flush-mounted independent 4-channel transmitter (with antenna)",
2635
+ extend: [
2636
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2637
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2638
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2639
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2640
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2641
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2642
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2643
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 } }),
2644
+ m.identify(),
2645
+ m.commandsOnOff(),
2646
+ m.commandsLevelCtrl(),
2647
+ m.commandsWindowCovering(),
2648
+ // ...YokisDeviceExtend,
2649
+ // ...YokisInputExtend,
2650
+ // ...YokisChannelExtend,
2651
+ ],
2652
+ },
2653
+ {
2654
+ // TLC1-UP
2655
+ zigbeeModel: ["TLC1-UP"],
2656
+ model: "TLC1-UP",
2657
+ vendor: "YOKIS",
2658
+ description: "Tabletop Design series 1-button remote control",
2659
+ extend: [
2660
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2661
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2662
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2663
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2664
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2665
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2666
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2667
+ m.deviceAddCustomCluster("manuSpecificYokisTemperatureMeasurement", YokisClustersDefinition.manuSpecificYokisTemperatureMeasurement), // Pending implementation
2668
+ //m.deviceEndpoints({endpoints: {"1": 1, "9": 9}}),
2669
+ m.identify(),
2670
+ m.commandsOnOff(),
2671
+ m.commandsLevelCtrl(),
2672
+ m.commandsWindowCovering(),
2673
+ // ...YokisDeviceExtend,
2674
+ // ...YokisInputExtend,
2675
+ // ...YokisChannelExtend,
2676
+ // ...YokisPilotWireExtend,
2677
+ m.temperature({ reporting: { min: "5_MINUTES", max: "1_HOUR", change: 10 } }), // Slow update to save some battery
2678
+ m.battery({
2679
+ percentage: false,
2680
+ lowStatus: true,
2681
+ percentageReporting: false,
2682
+ lowStatusReportingConfig: { min: "1_HOUR", max: "MAX", change: 10 },
2683
+ }), // Yokis only provides low level status
2684
+ ...YokisTemperatureMeasurementExtend,
2685
+ ],
2686
+ },
2687
+ {
2688
+ // TLC2-UP
2689
+ zigbeeModel: ["TLC2-UP"],
2690
+ model: "TLC2-UP",
2691
+ vendor: "YOKIS",
2692
+ description: "Keyring Design series 2-button remote control",
2693
+ extend: [
2694
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2695
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2696
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2697
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2698
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2699
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2700
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2701
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
2702
+ m.identify(),
2703
+ m.commandsOnOff(),
2704
+ m.commandsLevelCtrl(),
2705
+ m.commandsWindowCovering(),
2706
+ // ...YokisDeviceExtend,
2707
+ // ...YokisInputExtend,
2708
+ // ...YokisChannelExtend,
2709
+ // ...YokisPilotWireExtend,
2710
+ ],
2711
+ },
2712
+ {
2713
+ // TLC4-UP
2714
+ zigbeeModel: ["TLC4-UP"],
2715
+ model: "TLC4-UP",
2716
+ vendor: "YOKIS",
2717
+ description: "Keyring Design series 4-button remote control",
2718
+ extend: [
2719
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2720
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2721
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2722
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2723
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2724
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2725
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2726
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 } }),
2727
+ m.identify(),
2728
+ m.commandsOnOff(),
2729
+ m.commandsLevelCtrl(),
2730
+ m.commandsWindowCovering(),
2731
+ // ...YokisDeviceExtend,
2732
+ // ...YokisInputExtend,
2733
+ // ...YokisChannelExtend,
2734
+ ],
2735
+ },
2736
+ {
2737
+ // TLC8-UP
2738
+ zigbeeModel: ["TLC8-UP"],
2739
+ model: "TLC8-UP",
2740
+ vendor: "YOKIS",
2741
+ description: "Keyring Design series 8-button remote control",
2742
+ extend: [
2743
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2744
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2745
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2746
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2747
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2748
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2749
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2750
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4, "5": 5, "6": 6, "7": 7, "8": 8 } }),
2751
+ m.identify(),
2752
+ m.commandsOnOff(),
2753
+ m.commandsLevelCtrl(),
2754
+ m.commandsWindowCovering(),
2755
+ // ...YokisDeviceExtend,
2756
+ // ...YokisInputExtend,
2757
+ // ...YokisChannelExtend,
2758
+ ],
2759
+ },
2760
+ {
2761
+ // TLM1-UP
2762
+ zigbeeModel: ["TLM1-UP", "TLM1T503-UP", "TLM1TNO-UP", "TLM1TDK-UP"],
2763
+ model: "TLM1-UP",
2764
+ vendor: "YOKIS",
2765
+ description: "Wall-mounted 1-button transmitter",
2766
+ whiteLabel: [
2767
+ {
2768
+ model: "TLM1T503-UP",
2769
+ vendor: "YOKIS",
2770
+ description: "Wall-mounted 1-button transmitter (503 format)",
2771
+ fingerprint: [{ modelID: "TLM1T503-UP" }],
2772
+ },
2773
+ {
2774
+ model: "TLM1TNO-UP",
2775
+ vendor: "YOKIS",
2776
+ description: "Wall-mounted 1-button transmitter (NO format)",
2777
+ fingerprint: [{ modelID: "TLM1TNO-UP" }],
2778
+ },
2779
+ {
2780
+ model: "TLM1TDK-UP",
2781
+ vendor: "YOKIS",
2782
+ description: "Wall-mounted 1-button transmitter (DK format)",
2783
+ fingerprint: [{ modelID: "TLM1TDK-UP" }],
2784
+ },
2785
+ ],
2786
+ extend: [
2787
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2788
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2789
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2790
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2791
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2792
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2793
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire),
2794
+ m.deviceAddCustomCluster("manuSpecificYokisTemperatureMeasurement", YokisClustersDefinition.manuSpecificYokisTemperatureMeasurement),
2795
+ m.identify(),
2796
+ m.commandsOnOff(),
2797
+ m.commandsLevelCtrl(),
2798
+ m.commandsWindowCovering(),
2799
+ // ...YokisDeviceExtend,
2800
+ // ...YokisInputExtend,
2801
+ // ...YokisChannelExtend,
2802
+ // ...YokisPilotWireExtend,
2803
+ m.temperature({ reporting: { min: "5_MINUTES", max: "1_HOUR", change: 10 } }), // Slow update to save some battery
2804
+ m.battery({
2805
+ percentage: false,
2806
+ lowStatus: true,
2807
+ percentageReporting: false,
2808
+ lowStatusReportingConfig: { min: "1_HOUR", max: "MAX", change: 10 },
2809
+ }), // Yokis only provides low level status
2810
+ ...YokisTemperatureMeasurementExtend,
2811
+ ],
2812
+ },
2813
+ {
2814
+ // TLM2-UP
2815
+ zigbeeModel: ["TLM2-UP", "TLM2T503-UP", "TLM2TNO-UP"],
2816
+ model: "TLM2-UP",
2817
+ vendor: "YOKIS",
2818
+ description: "Wall-mounted 2-button transmitter",
2819
+ whiteLabel: [
2820
+ {
2821
+ model: "TLM2T503-UP",
2822
+ vendor: "YOKIS",
2823
+ description: "Wall-mounted 2-button transmitter (503 format)",
2824
+ fingerprint: [{ modelID: "TLM2T503-UP" }],
2825
+ },
2826
+ {
2827
+ model: "TLM2TNO-UP",
2828
+ vendor: "YOKIS",
2829
+ description: "Wall-mounted 2-button transmitter (NO format)",
2830
+ fingerprint: [{ modelID: "TLM2TNO-UP" }],
2831
+ },
2832
+ ],
2833
+ extend: [
2834
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2835
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2836
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2837
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2838
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2839
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2840
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2841
+ m.deviceAddCustomCluster("manuSpecificYokisTemperatureMeasurement", YokisClustersDefinition.manuSpecificYokisTemperatureMeasurement), // Pending implementation
2842
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2 } }),
2843
+ m.identify(),
2844
+ m.commandsOnOff(),
2845
+ m.commandsLevelCtrl(),
2846
+ m.commandsWindowCovering(),
2847
+ // ...YokisDeviceExtend,
2848
+ // ...YokisInputExtend,
2849
+ // ...YokisChannelExtend,
2850
+ // ...YokisPilotWireExtend,
2851
+ m.temperature({ reporting: { min: "5_MINUTES", max: "1_HOUR", change: 10 } }), // Slow update to save some battery
2852
+ m.battery({
2853
+ percentage: false,
2854
+ lowStatus: true,
2855
+ percentageReporting: false,
2856
+ lowStatusReportingConfig: { min: "1_HOUR", max: "MAX", change: 10 },
2857
+ }), // Yokis only provides low level status
2858
+ ...YokisTemperatureMeasurementExtend,
2859
+ ],
2860
+ },
2861
+ {
2862
+ // TLM4-UP
2863
+ zigbeeModel: ["TLM4-UP", "TLM4T503-UP", "TLM4TNO-UP", "TLM4TDK-UP"],
2864
+ model: "TLM4-UP",
2865
+ vendor: "YOKIS",
2866
+ description: "Wall-mounted 4-button transmitter",
2867
+ whiteLabel: [
2868
+ {
2869
+ model: "TLM4T503-UP",
2870
+ vendor: "YOKIS",
2871
+ description: "Wall-mounted 4-button transmitter (503 format)",
2872
+ fingerprint: [{ modelID: "TLM4T503-UP" }],
2873
+ },
2874
+ {
2875
+ model: "TLM4TNO-UP",
2876
+ vendor: "YOKIS",
2877
+ description: "Wall-mounted 4-button transmitter (NO format)",
2878
+ fingerprint: [{ modelID: "TLM4TNO-UP" }],
2879
+ },
2880
+ {
2881
+ model: "TLM4TDK-UP",
2882
+ vendor: "YOKIS",
2883
+ description: "Wall-mounted 4-button transmitter (DK format)",
2884
+ fingerprint: [{ modelID: "TLM4TDK-UP" }],
2885
+ },
2886
+ ],
2887
+ extend: [
2888
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2889
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2890
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2891
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2892
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2893
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2894
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2895
+ m.deviceAddCustomCluster("manuSpecificYokisTemperatureMeasurement", YokisClustersDefinition.manuSpecificYokisTemperatureMeasurement), // Pending implementation
2896
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 } }),
2897
+ m.identify(),
2898
+ m.commandsOnOff(),
2899
+ m.commandsLevelCtrl(),
2900
+ m.commandsWindowCovering(),
2901
+ // ...YokisDeviceExtend,
2902
+ // ...YokisInputExtend,
2903
+ // ...YokisChannelExtend,
2904
+ // ...YokisPilotWireExtend,
2905
+ m.temperature({ reporting: { min: "5_MINUTES", max: "1_HOUR", change: 10 } }), // Slow update to save some battery
2906
+ m.battery({
2907
+ percentage: false,
2908
+ lowStatus: true,
2909
+ percentageReporting: false,
2910
+ lowStatusReportingConfig: { min: "1_HOUR", max: "MAX", change: 10 },
2911
+ }), // Yokis only provides low level status
2912
+ ...YokisTemperatureMeasurementExtend,
2913
+ ],
2914
+ },
2915
+ {
2916
+ // GALET4-UP
2917
+ zigbeeModel: ["GALET4-UP"],
2918
+ model: "GALET4-UP",
2919
+ vendor: "YOKIS",
2920
+ description: "4-button remote control",
2921
+ extend: [
2922
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2923
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2924
+ m.deviceAddCustomCluster("manuSpecificYokisLightControl", YokisClustersDefinition.manuSpecificYokisLightControl),
2925
+ m.deviceAddCustomCluster("manuSpecificYokisDimmer", YokisClustersDefinition.manuSpecificYokisDimmer),
2926
+ m.deviceAddCustomCluster("manuSpecificYokisWindowCovering", YokisClustersDefinition.manuSpecificYokisWindowCovering), // Pending implementation
2927
+ m.deviceAddCustomCluster("manuSpecificYokisChannel", YokisClustersDefinition.manuSpecificYokisChannel),
2928
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire), // Pending implementation
2929
+ m.deviceAddCustomCluster("manuSpecificYokisTemperatureMeasurement", YokisClustersDefinition.manuSpecificYokisTemperatureMeasurement), // Pending implementation
2930
+ m.deviceEndpoints({ endpoints: { "1": 1, "2": 2, "3": 3, "4": 4 } }),
2931
+ m.identify(),
2932
+ m.commandsOnOff(),
2933
+ m.commandsLevelCtrl(),
2934
+ m.commandsWindowCovering(),
2935
+ // ...YokisDeviceExtend,
2936
+ // ...YokisInputExtend,
2937
+ // ...YokisChannelExtend,
2938
+ // ...YokisPilotWireExtend,
2939
+ m.temperature({ reporting: { min: "5_MINUTES", max: "1_HOUR", change: 10 } }), // Slow update to save some battery
2940
+ m.battery({
2941
+ percentage: false,
2942
+ lowStatus: true,
2943
+ percentageReporting: false,
2944
+ lowStatusReportingConfig: { min: "1_HOUR", max: "MAX", change: 10 },
2945
+ }), // Yokis only provides low level status
2946
+ ...YokisTemperatureMeasurementExtend,
2947
+ ],
2948
+ },
2949
+ {
2950
+ // MFP-UP
2951
+ zigbeeModel: ["MFP-UP"],
2952
+ model: "MFP-UP",
2953
+ vendor: "YOKIS",
2954
+ description: "Remote module for pilot wire heating system",
2955
+ extend: [
2956
+ m.deviceAddCustomCluster("manuSpecificYokisDevice", YokisClustersDefinition.manuSpecificYokisDevice),
2957
+ m.deviceAddCustomCluster("manuSpecificYokisInput", YokisClustersDefinition.manuSpecificYokisInput),
2958
+ m.deviceAddCustomCluster("manuSpecificYokisEntryConfigurator", YokisClustersDefinition.manuSpecificYokisEntryConfigurator),
2959
+ m.deviceAddCustomCluster("manuSpecificYokisSubSystem", YokisClustersDefinition.manuSpecificYokisSubSystem),
2960
+ m.deviceAddCustomCluster("manuSpecificYokisPilotWire", YokisClustersDefinition.manuSpecificYokisPilotWire),
2961
+ m.deviceAddCustomCluster("manuSpecificYokisStats", YokisClustersDefinition.manuSpecificYokisStats), // Pending implementation
2962
+ m.identify(),
2963
+ m.electricityMeter({ voltage: false }),
2964
+ ...YokisSubSystemExtend,
2965
+ ...YokisPilotWireExtend,
2966
+ ...YokisDeviceExtend,
2967
+ // ...YokisInputExtend,
2968
+ // ...YokisEntryExtend,
2969
+ ],
2970
+ },
2971
+ ];
2972
+ //# sourceMappingURL=yokis.js.map