@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,2015 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.definitions = void 0;
37
+ const zigbee_herdsman_1 = require("@willieee802/zigbee-herdsman");
38
+ const fz = __importStar(require("../converters/fromZigbee"));
39
+ const tz = __importStar(require("../converters/toZigbee"));
40
+ const constants = __importStar(require("../lib/constants"));
41
+ const exposes = __importStar(require("../lib/exposes"));
42
+ const m = __importStar(require("../lib/modernExtend"));
43
+ const reporting = __importStar(require("../lib/reporting"));
44
+ const utils = __importStar(require("../lib/utils"));
45
+ const utils_1 = require("../lib/utils");
46
+ const e = exposes.presets;
47
+ const ea = exposes.access;
48
+ const manuSinope = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SINOPE_TECHNOLOGIES };
49
+ const sinopeExtend = {
50
+ addManuSpecificSinopeCluster: () => m.deviceAddCustomCluster("manuSpecificSinope", {
51
+ ID: 0xff01,
52
+ manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SINOPE_TECHNOLOGIES,
53
+ attributes: {
54
+ // attribute ID :1's readable
55
+ keypadLockout: { ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
56
+ // 'firmware number': {ID: 3, type: Zcl.DataType.UNKNOWN}, write: true,
57
+ firmwareVersion: { ID: 0x0004, type: zigbee_herdsman_1.Zcl.DataType.CHAR_STR, write: true },
58
+ outdoorTempToDisplay: { ID: 0x0010, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
59
+ outdoorTempToDisplayTimeout: { ID: 0x0011, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
60
+ secondScreenBehavior: { ID: 0x0012, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff }, // auto:0,setpoint:1,outside:2
61
+ currentTimeToDisplay: { ID: 0x0020, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
62
+ ledIntensityOn: { ID: 0x0052, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
63
+ ledIntensityOff: { ID: 0x0053, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
64
+ ledColorOn: { ID: 0x0050, type: zigbee_herdsman_1.Zcl.DataType.UINT24, write: true, max: 0xffffff }, // inversed hex BBGGRR
65
+ ledColorOff: { ID: 0x0051, type: zigbee_herdsman_1.Zcl.DataType.UINT24, write: true, max: 0xffffff },
66
+ onLedIntensity: { ID: 0x0052, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff }, // percent
67
+ offLedIntensity: { ID: 0x0053, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff }, // percent
68
+ actionReport: { ID: 0x0054, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff }, // singleTapUp: 1,2, doubleTapUp: 1,4, singleTapDown: 17,18, doubleTapDown: 17,20
69
+ minimumBrightness: { ID: 0x0055, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
70
+ connectedLoadRM: { ID: 0x0060, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff }, // unit watt/hr for Calypso RM3500 & Load Controller RM3250
71
+ currentLoad: { ID: 0x0070, type: zigbee_herdsman_1.Zcl.DataType.BITMAP8, write: true }, // related to ecoMode(s)
72
+ ecoMode: { ID: 0x0071, type: zigbee_herdsman_1.Zcl.DataType.INT8, write: true, min: -128, max: 127, default: -128 }, // -100-0-100%
73
+ ecoMode1: { ID: 0x0072, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff, default: 0xff }, // 0-99
74
+ ecoMode2: { ID: 0x0073, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff, default: 0xff }, // 0-100
75
+ unknown: { ID: 0x0075, type: zigbee_herdsman_1.Zcl.DataType.BITMAP32, write: true, max: 0xffffffff }, // RW *testing*
76
+ drConfigWaterTempMin: { ID: 0x0076, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff }, // value 45 or 0
77
+ drConfigWaterTempTime: { ID: 0x0077, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff, default: 2 }, // default 2
78
+ drWTTimeOn: { ID: 0x0078, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
79
+ unknown1: { ID: 0x0080, type: zigbee_herdsman_1.Zcl.DataType.UINT32, max: 0xffffffff }, // readOnly stringNumber *testing*
80
+ dimmerTimmer: { ID: 0x00a0, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff },
81
+ unknown2: { ID: 0x0100, type: zigbee_herdsman_1.Zcl.DataType.UINT8, max: 0xff }, // readOnly *testing*
82
+ floorControlMode: { ID: 0x0105, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff }, // airFloorMode
83
+ auxOutputMode: { ID: 0x0106, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
84
+ floorTemperature: { ID: 0x0107, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
85
+ ambiantMaxHeatSetpointLimit: { ID: 0x0108, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
86
+ floorMinHeatSetpointLimit: { ID: 0x0109, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
87
+ floorMaxHeatSetpointLimit: { ID: 0x010a, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
88
+ temperatureSensor: { ID: 0x010b, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
89
+ floorLimitStatus: { ID: 0x010c, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
90
+ roomTemperature: { ID: 0x010d, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff },
91
+ timeFormatToDisplay: { ID: 0x0114, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
92
+ GFCiStatus: { ID: 0x0115, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff },
93
+ auxConnectedLoad: { ID: 0x0118, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xff },
94
+ connectedLoad: { ID: 0x0119, type: zigbee_herdsman_1.Zcl.DataType.UINT16, write: true, max: 0xffff },
95
+ pumpProtection: { ID: 0x0128, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
96
+ unknown3: { ID: 0x012a, type: zigbee_herdsman_1.Zcl.DataType.ENUM8, write: true, max: 0xff, default: 60 }, // RW 5,10,15,20,30,60 *testing*
97
+ currentSetpoint: { ID: 0x012b, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, max: 0xffff }, // W:to ocuppiedHeatSetpoint, R:depends of SinopeOccupancy
98
+ // attribute ID: 300's readable, returns a buffer
99
+ reportLocalTemperature: { ID: 0x012d, type: zigbee_herdsman_1.Zcl.DataType.INT16, write: true, min: -32768, max: 32767 },
100
+ // attribute ID: 512's readable
101
+ flowMeterConfig: { ID: 0x0240, type: zigbee_herdsman_1.Zcl.DataType.ARRAY, write: true },
102
+ coldLoadPickupStatus: { ID: 0x0283, type: zigbee_herdsman_1.Zcl.DataType.UINT8, write: true, max: 0xff },
103
+ },
104
+ commands: {},
105
+ commandsResponse: {},
106
+ }),
107
+ };
108
+ const fzLocal = {
109
+ ias_water_leak_alarm: {
110
+ // RM3500ZB specific
111
+ cluster: "ssIasZone",
112
+ type: ["commandStatusChangeNotification", "attributeReport", "readResponse"],
113
+ convert: (model, msg, publish, options, meta) => {
114
+ const zoneStatus = "zonestatus" in msg.data ? msg.data.zonestatus : msg.data.zoneStatus;
115
+ return {
116
+ water_leak: (zoneStatus & 1) > 0,
117
+ tamper: (zoneStatus & (1 << 2)) > 0,
118
+ };
119
+ },
120
+ },
121
+ thermostat: {
122
+ cluster: "hvacThermostat",
123
+ type: ["attributeReport", "readResponse"],
124
+ convert: (model, msg, publish, options, meta) => {
125
+ // @ts-expect-error ignore
126
+ delete msg.running_state;
127
+ const result = {};
128
+ const occupancyLookup = { 0: "unoccupied", 1: "occupied" };
129
+ const cycleOutputLookup = { 15: "15_sec", 300: "5_min", 600: "10_min", 900: "15_min", 1200: "20_min", 1800: "30_min", 65535: "off" };
130
+ if (msg.data["1024"] !== undefined) {
131
+ result.thermostat_occupancy = utils.getFromLookup(msg.data["1024"], occupancyLookup);
132
+ }
133
+ if (msg.data.SinopeOccupancy !== undefined) {
134
+ result.thermostat_occupancy = utils.getFromLookup(msg.data.SinopeOccupancy, occupancyLookup);
135
+ }
136
+ if (msg.data["1025"] !== undefined) {
137
+ result.main_cycle_output = utils.getFromLookup(msg.data["1025"], cycleOutputLookup);
138
+ }
139
+ if (msg.data.SinopeMainCycleOutput !== undefined) {
140
+ result.main_cycle_output = utils.getFromLookup(msg.data.SinopeMainCycleOutput, cycleOutputLookup);
141
+ }
142
+ if (msg.data["1026"] !== undefined) {
143
+ const lookup = utils.getMetaValue(msg.endpoint, model, "sinopeAlternateBacklightAutoDim", "allEqual", false)
144
+ ? { 0: "on_demand", 1: "off", 2: "sensing" }
145
+ : { 0: "on_demand", 1: "sensing", 2: "off" };
146
+ result.backlight_auto_dim = utils.getFromLookup(msg.data["1026"], lookup);
147
+ }
148
+ if (msg.data.SinopeBacklight !== undefined) {
149
+ const lookup = utils.getMetaValue(msg.endpoint, model, "sinopeAlternateBacklightAutoDim", "allEqual", false)
150
+ ? { 0: "on_demand", 1: "off", 2: "sensing" }
151
+ : { 0: "on_demand", 1: "sensing", 2: "off" };
152
+ result.backlight_auto_dim = utils.getFromLookup(msg.data.SinopeBacklight, lookup);
153
+ }
154
+ if (msg.data["1028"] !== undefined) {
155
+ result.aux_cycle_output = utils.getFromLookup(msg.data["1028"], cycleOutputLookup);
156
+ }
157
+ if (msg.data.localTemp !== undefined) {
158
+ result.local_temperature = (0, utils_1.precisionRound)(msg.data.localTemp, 2) / 100;
159
+ }
160
+ if (msg.data.localTemperatureCalibration !== undefined) {
161
+ result.local_temperature_calibration = (0, utils_1.precisionRound)(msg.data.localTemperatureCalibration, 2) / 10;
162
+ }
163
+ if (msg.data.outdoorTemp !== undefined) {
164
+ result.outdoor_temperature = (0, utils_1.precisionRound)(msg.data.outdoorTemp, 2) / 100;
165
+ }
166
+ if (msg.data.occupiedHeatingSetpoint !== undefined) {
167
+ result.occupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data.occupiedHeatingSetpoint, 2) / 100;
168
+ }
169
+ if (msg.data.unoccupiedHeatingSetpoint !== undefined) {
170
+ result.unoccupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data.unoccupiedHeatingSetpoint, 2) / 100;
171
+ }
172
+ if (msg.data.occupiedCoolingSetpoint !== undefined) {
173
+ result.occupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data.occupiedCoolingSetpoint, 2) / 100;
174
+ }
175
+ if (msg.data.unoccupiedCoolingSetpoint !== undefined) {
176
+ result.unoccupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data.unoccupiedCoolingSetpoint, 2) / 100;
177
+ }
178
+ if (msg.data.ctrlSeqeOfOper !== undefined) {
179
+ result.control_sequence_of_operation = constants.thermostatControlSequenceOfOperations[msg.data.ctrlSeqeOfOper];
180
+ }
181
+ if (msg.data.systemMode !== undefined) {
182
+ result.system_mode = constants.thermostatSystemModes[msg.data.systemMode];
183
+ }
184
+ if (msg.data.pIHeatingDemand !== undefined) {
185
+ result.pi_heating_demand = (0, utils_1.precisionRound)(msg.data.pIHeatingDemand, 0);
186
+ }
187
+ if (msg.data.minHeatSetpointLimit !== undefined) {
188
+ result.min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data.minHeatSetpointLimit, 2) / 100;
189
+ }
190
+ if (msg.data.maxHeatSetpointLimit !== undefined) {
191
+ result.max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data.maxHeatSetpointLimit, 2) / 100;
192
+ }
193
+ if (msg.data.absMinHeatSetpointLimit !== undefined) {
194
+ result.abs_min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data.absMinHeatSetpointLimit, 2) / 100;
195
+ }
196
+ if (msg.data.absMaxHeatSetpointLimit !== undefined) {
197
+ result.abs_max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data.absMaxHeatSetpointLimit, 2) / 100;
198
+ }
199
+ if (msg.data.pIHeatingDemand !== undefined) {
200
+ result.running_state = msg.data.pIHeatingDemand >= 10 ? "heat" : "idle";
201
+ }
202
+ return result;
203
+ },
204
+ },
205
+ tank_level: {
206
+ cluster: "genAnalogInput",
207
+ type: ["attributeReport", "readResponse"],
208
+ convert: (model, msg, publish, options, meta) => {
209
+ const result = {};
210
+ if (msg.data.presentValue !== undefined) {
211
+ let x = msg.data.presentValue;
212
+ if (x === -1) {
213
+ result.tank_level = 0;
214
+ }
215
+ else {
216
+ const xMin = 110;
217
+ const xMax = 406;
218
+ const delta = 46;
219
+ if (delta <= x && x <= 70) {
220
+ x = delta;
221
+ }
222
+ if (0 <= x && x <= delta) {
223
+ x = x + 360;
224
+ }
225
+ const y = (x - xMin) / (xMax - xMin);
226
+ const lowerLimit = 10;
227
+ const upperLimit = 80;
228
+ const valueRange = upperLimit - lowerLimit;
229
+ const pct = y * valueRange + lowerLimit;
230
+ result.tank_level = utils.precisionRound(pct, 2);
231
+ }
232
+ }
233
+ return result;
234
+ },
235
+ },
236
+ sinope: {
237
+ cluster: "manuSpecificSinope",
238
+ type: ["attributeReport", "readResponse"],
239
+ convert: (model, msg, publish, options, meta) => {
240
+ const result = {};
241
+ if (msg.data.GFCiStatus !== undefined) {
242
+ const lookup = { 0: "off", 1: "on" };
243
+ result.gfci_status = utils.getFromLookup(msg.data.GFCiStatus, lookup);
244
+ }
245
+ if (msg.data.floorLimitStatus !== undefined) {
246
+ const lookup = { 0: "off", 1: "on" };
247
+ result.floor_limit_status = utils.getFromLookup(msg.data.floorLimitStatus, lookup);
248
+ }
249
+ if (msg.data.secondScreenBehavior !== undefined) {
250
+ const lookup = { 0: "auto", 1: "setpoint", 2: "outdoor temp" };
251
+ result.second_display_mode = utils.getFromLookup(msg.data.secondScreenBehavior, lookup);
252
+ }
253
+ if (msg.data.outdoorTempToDisplayTimeout !== undefined) {
254
+ result.outdoor_temperature_timeout = msg.data.outdoorTempToDisplayTimeout;
255
+ // DEPRECATED: Use Second Display Mode or control via set outdoorTempToDisplayTimeout
256
+ result.enable_outdoor_temperature = msg.data.outdoorTempToDisplayTimeout === 12 ? "OFF" : "ON";
257
+ }
258
+ if (msg.data.outdoorTempToDisplay !== undefined) {
259
+ result.thermostat_outdoor_temperature = (0, utils_1.precisionRound)(msg.data.outdoorTempToDisplay, 2) / 100;
260
+ }
261
+ if (msg.data.currentTimeToDisplay !== undefined) {
262
+ result.current_time_to_display = msg.data.currentTimeToDisplay;
263
+ }
264
+ if (msg.data.floorControlMode !== undefined) {
265
+ const lookup = { 1: "ambiant", 2: "floor" };
266
+ result.floor_control_mode = utils.getFromLookup(msg.data.floorControlMode, lookup);
267
+ }
268
+ if (msg.data.ambiantMaxHeatSetpointLimit !== undefined) {
269
+ result.ambiant_max_heat_setpoint = msg.data.ambiantMaxHeatSetpointLimit / 100.0;
270
+ if (result.ambiant_max_heat_setpoint === -327.68) {
271
+ result.ambiant_max_heat_setpoint = "off";
272
+ }
273
+ }
274
+ if (msg.data.floorMinHeatSetpointLimit !== undefined) {
275
+ result.floor_min_heat_setpoint = msg.data.floorMinHeatSetpointLimit / 100.0;
276
+ if (result.floor_min_heat_setpoint === -327.68) {
277
+ result.floor_min_heat_setpoint = "off";
278
+ }
279
+ }
280
+ if (msg.data.floorMaxHeatSetpointLimit !== undefined) {
281
+ result.floor_max_heat_setpoint = msg.data.floorMaxHeatSetpointLimit / 100.0;
282
+ if (result.floor_max_heat_setpoint === -327.68) {
283
+ result.floor_max_heat_setpoint = "off";
284
+ }
285
+ }
286
+ if (msg.data.temperatureSensor !== undefined) {
287
+ const lookup = { 0: "10k", 1: "12k" };
288
+ result.floor_temperature_sensor = utils.getFromLookup(msg.data.temperatureSensor, lookup);
289
+ }
290
+ if (msg.data.timeFormatToDisplay !== undefined) {
291
+ const lookup = { 0: "24h", 1: "12h" };
292
+ result.time_format = utils.getFromLookup(msg.data.timeFormatToDisplay, lookup);
293
+ }
294
+ if (msg.data.connectedLoad !== undefined) {
295
+ result.connected_load = msg.data.connectedLoad;
296
+ }
297
+ if (msg.data.auxConnectedLoad !== undefined) {
298
+ result.aux_connected_load = msg.data.auxConnectedLoad;
299
+ if (result.aux_connected_load === 65535) {
300
+ result.aux_connected_load = "disabled";
301
+ }
302
+ }
303
+ if (msg.data.pumpProtection !== undefined) {
304
+ result.pump_protection = msg.data.pumpProtection === 1 ? "ON" : "OFF";
305
+ }
306
+ if (msg.data.dimmerTimmer !== undefined) {
307
+ result.timer_seconds = msg.data.dimmerTimmer;
308
+ }
309
+ if (msg.data.ledIntensityOn !== undefined) {
310
+ result.led_intensity_on = msg.data.ledIntensityOn;
311
+ }
312
+ if (msg.data.ledIntensityOff !== undefined) {
313
+ result.led_intensity_off = msg.data.ledIntensityOff;
314
+ }
315
+ if (msg.data.minimumBrightness !== undefined) {
316
+ result.minimum_brightness = msg.data.minimumBrightness;
317
+ }
318
+ if (msg.data.actionReport !== undefined) {
319
+ const lookup = {
320
+ 1: "up_clickdown",
321
+ 2: "up_single",
322
+ 3: "up_hold",
323
+ 4: "up_double",
324
+ 17: "down_clickdown",
325
+ 18: "down_single",
326
+ 19: "down_hold",
327
+ 20: "down_double",
328
+ };
329
+ result.action = utils.getFromLookup(msg.data.actionReport, lookup);
330
+ }
331
+ if (msg.data.keypadLockout !== undefined) {
332
+ const lookup = { 0: "unlock", 1: "lock" };
333
+ result.keypad_lockout = utils.getFromLookup(msg.data.keypadLockout, lookup);
334
+ }
335
+ if (msg.data.drConfigWaterTempMin !== undefined) {
336
+ result.low_water_temp_protection = msg.data.drConfigWaterTempMin;
337
+ }
338
+ if (msg.data.ecoMode !== undefined) {
339
+ result.eco_mode = (msg.data.ecoMode ?? -128) / 10;
340
+ }
341
+ return result;
342
+ },
343
+ },
344
+ };
345
+ const tzLocal = {
346
+ thermostat_occupancy: {
347
+ key: ["thermostat_occupancy"],
348
+ convertSet: async (entity, key, value, meta) => {
349
+ const sinopeOccupancy = { 0: "unoccupied", 1: "occupied" };
350
+ const SinopeOccupancy = utils.getKey(sinopeOccupancy, value, value, Number);
351
+ await entity.write("hvacThermostat", { SinopeOccupancy }, manuSinope);
352
+ return { state: { thermostat_occupancy: value } };
353
+ },
354
+ convertGet: async (entity, key, meta) => {
355
+ await entity.read("hvacThermostat", ["SinopeOccupancy"], manuSinope);
356
+ },
357
+ },
358
+ backlight_autodim: {
359
+ key: ["backlight_auto_dim"],
360
+ convertSet: async (entity, key, value, meta) => {
361
+ const sinopeBacklightParam = utils.getMetaValue(entity, meta.mapped, "sinopeAlternateBacklightAutoDim", "allEqual", false)
362
+ ? { 0: "on_demand", 1: "off", 2: "sensing" }
363
+ : { 0: "on_demand", 1: "sensing", 2: "off" };
364
+ const SinopeBacklight = utils.getKey(sinopeBacklightParam, value, value, Number);
365
+ await entity.write("hvacThermostat", { SinopeBacklight }, manuSinope);
366
+ return { state: { backlight_auto_dim: value } };
367
+ },
368
+ convertGet: async (entity, key, meta) => {
369
+ await entity.read("hvacThermostat", ["SinopeBacklight"], manuSinope);
370
+ },
371
+ },
372
+ main_cycle_output: {
373
+ key: ["main_cycle_output"],
374
+ convertSet: async (entity, key, value, meta) => {
375
+ const lookup = { "15_sec": 15, "5_min": 300, "10_min": 600, "15_min": 900, "20_min": 1200, "30_min": 1800 };
376
+ await entity.write("hvacThermostat", { SinopeMainCycleOutput: utils.getFromLookup(value, lookup) }, manuSinope);
377
+ return { state: { main_cycle_output: value } };
378
+ },
379
+ convertGet: async (entity, key, meta) => {
380
+ await entity.read("hvacThermostat", ["SinopeMainCycleOutput"], manuSinope);
381
+ },
382
+ },
383
+ aux_cycle_output: {
384
+ // TH1400ZB specific
385
+ key: ["aux_cycle_output"],
386
+ convertSet: async (entity, key, value, meta) => {
387
+ const lookup = { off: 65535, "15_sec": 15, "5_min": 300, "10_min": 600, "15_min": 900, "20_min": 1200, "30_min": 1800 };
388
+ await entity.write("hvacThermostat", { SinopeAuxCycleOutput: utils.getFromLookup(value, lookup) });
389
+ return { state: { aux_cycle_output: value } };
390
+ },
391
+ convertGet: async (entity, key, meta) => {
392
+ await entity.read("hvacThermostat", ["SinopeAuxCycleOutput"]);
393
+ },
394
+ },
395
+ enable_outdoor_temperature: {
396
+ // DEPRECATED: Use Second Display Mode or control via the timeout
397
+ key: ["enable_outdoor_temperature"],
398
+ convertSet: async (entity, key, value, meta) => {
399
+ utils.assertString(value);
400
+ if (value.toLowerCase() === "on") {
401
+ await entity.write("manuSpecificSinope", { outdoorTempToDisplayTimeout: 10800 }, manuSinope);
402
+ }
403
+ else if (value.toLowerCase() === "off") {
404
+ // set timer to 12 sec in order to disable outdoor temperature
405
+ await entity.write("manuSpecificSinope", { outdoorTempToDisplayTimeout: 12 }, manuSinope);
406
+ }
407
+ return { state: { enable_outdoor_temperature: value } };
408
+ },
409
+ convertGet: async (entity, key, meta) => {
410
+ await entity.read("manuSpecificSinope", ["outdoorTempToDisplayTimeout"], manuSinope);
411
+ },
412
+ },
413
+ second_display_mode: {
414
+ key: ["second_display_mode"],
415
+ convertSet: async (entity, key, value, meta) => {
416
+ const lookup = { auto: 0, setpoint: 1, "outdoor temp": 2 };
417
+ await entity.write("manuSpecificSinope", { secondScreenBehavior: utils.getFromLookup(value, lookup) });
418
+ return { state: { second_display_mode: value } };
419
+ },
420
+ convertGet: async (entity, key, meta) => {
421
+ await entity.read("manuSpecificSinope", ["secondScreenBehavior"]);
422
+ },
423
+ },
424
+ thermostat_outdoor_temperature: {
425
+ key: ["thermostat_outdoor_temperature"],
426
+ convertSet: async (entity, key, value, meta) => {
427
+ const number = utils.toNumber(value);
428
+ if (number >= -99.5 && number <= 99.5) {
429
+ await entity.write("manuSpecificSinope", { outdoorTempToDisplay: number * 100 }, manuSinope);
430
+ }
431
+ return { state: { thermostat_outdoor_temperature: number } };
432
+ },
433
+ convertGet: async (entity, key, meta) => {
434
+ await entity.read("manuSpecificSinope", ["outdoorTempToDisplay"], manuSinope);
435
+ },
436
+ },
437
+ outdoor_temperature_timeout: {
438
+ key: ["outdoor_temperature_timeout"],
439
+ convertSet: async (entity, key, value, meta) => {
440
+ const number = utils.toNumber(value);
441
+ if (number >= 30 && number <= 64800) {
442
+ await entity.write("manuSpecificSinope", { outdoorTempToDisplayTimeout: number });
443
+ return { state: { outdoor_temperature_timeout: number } };
444
+ }
445
+ },
446
+ convertGet: async (entity, key, meta) => {
447
+ await entity.read("manuSpecificSinope", ["outdoorTempToDisplayTimeout"]);
448
+ },
449
+ },
450
+ thermostat_time: {
451
+ key: ["thermostat_time"],
452
+ convertSet: async (entity, key, value, meta) => {
453
+ if (value === "") {
454
+ const thermostatDate = new Date();
455
+ const thermostatTimeSec = thermostatDate.getTime() / 1000;
456
+ const thermostatTimezoneOffsetSec = thermostatDate.getTimezoneOffset() * 60;
457
+ const currentTimeToDisplay = Math.round(thermostatTimeSec - thermostatTimezoneOffsetSec - 946684800);
458
+ await entity.write("manuSpecificSinope", { currentTimeToDisplay }, manuSinope);
459
+ }
460
+ else if (value !== "") {
461
+ await entity.write("manuSpecificSinope", { currentTimeToDisplay: value }, manuSinope);
462
+ }
463
+ },
464
+ },
465
+ floor_control_mode: {
466
+ // TH1300ZB and TH1400ZB specific
467
+ key: ["floor_control_mode"],
468
+ convertSet: async (entity, key, value, meta) => {
469
+ if (typeof value !== "string") {
470
+ return;
471
+ }
472
+ const lookup = { ambiant: 1, floor: 2 };
473
+ value = value.toLowerCase();
474
+ // @ts-expect-error ignore
475
+ if (lookup[value] !== undefined) {
476
+ await entity.write("manuSpecificSinope", { floorControlMode: utils.getFromLookup(value, lookup) });
477
+ }
478
+ return { state: { floor_control_mode: value } };
479
+ },
480
+ convertGet: async (entity, key, meta) => {
481
+ await entity.read("manuSpecificSinope", ["floorControlMode"]);
482
+ },
483
+ },
484
+ ambiant_max_heat_setpoint: {
485
+ // TH1300ZB and TH1400ZB specific
486
+ key: ["ambiant_max_heat_setpoint"],
487
+ convertSet: async (entity, key, value, meta) => {
488
+ // @ts-expect-error ignore
489
+ if ((value >= 5 && value <= 36) || value === "off") {
490
+ // @ts-expect-error ignore
491
+ await entity.write("manuSpecificSinope", { ambiantMaxHeatSetpointLimit: value === "off" ? -32768 : value * 100 });
492
+ return { state: { ambiant_max_heat_setpoint: value } };
493
+ }
494
+ },
495
+ convertGet: async (entity, key, meta) => {
496
+ await entity.read("manuSpecificSinope", ["ambiantMaxHeatSetpointLimit"]);
497
+ },
498
+ },
499
+ floor_min_heat_setpoint: {
500
+ // TH1300ZB and TH1400ZB specific
501
+ key: ["floor_min_heat_setpoint"],
502
+ convertSet: async (entity, key, value, meta) => {
503
+ // @ts-expect-error ignore
504
+ if ((value >= 5 && value <= 34) || value === "off") {
505
+ // @ts-expect-error ignore
506
+ await entity.write("manuSpecificSinope", { floorMinHeatSetpointLimit: value === "off" ? -32768 : value * 100 });
507
+ return { state: { floor_min_heat_setpoint: value } };
508
+ }
509
+ },
510
+ convertGet: async (entity, key, meta) => {
511
+ await entity.read("manuSpecificSinope", ["floorMinHeatSetpointLimit"]);
512
+ },
513
+ },
514
+ floor_max_heat_setpoint: {
515
+ // TH1300ZB and TH1400ZB specific
516
+ key: ["floor_max_heat_setpoint"],
517
+ convertSet: async (entity, key, value, meta) => {
518
+ // @ts-expect-error ignore
519
+ if ((value >= 7 && value <= 36) || value === "off") {
520
+ // @ts-expect-error ignore
521
+ await entity.write("manuSpecificSinope", { floorMaxHeatSetpointLimit: value === "off" ? -32768 : value * 100 });
522
+ return { state: { floor_max_heat_setpoint: value } };
523
+ }
524
+ },
525
+ convertGet: async (entity, key, meta) => {
526
+ await entity.read("manuSpecificSinope", ["floorMaxHeatSetpointLimit"]);
527
+ },
528
+ },
529
+ temperature_sensor: {
530
+ // TH1300ZB and TH1400ZB specific
531
+ key: ["floor_temperature_sensor"],
532
+ convertSet: async (entity, key, value, meta) => {
533
+ if (typeof value !== "string") {
534
+ return;
535
+ }
536
+ const lookup = { "10k": 0, "12k": 1 };
537
+ value = value.toLowerCase();
538
+ // @ts-expect-error ignore
539
+ if (lookup[value] !== undefined) {
540
+ await entity.write("manuSpecificSinope", { temperatureSensor: utils.getFromLookup(value, lookup) });
541
+ }
542
+ return { state: { floor_temperature_sensor: value } };
543
+ },
544
+ convertGet: async (entity, key, meta) => {
545
+ await entity.read("manuSpecificSinope", ["temperatureSensor"]);
546
+ },
547
+ },
548
+ time_format: {
549
+ key: ["time_format"],
550
+ convertSet: async (entity, key, value, meta) => {
551
+ await entity.write("manuSpecificSinope", { timeFormatToDisplay: utils.getFromLookup(value, { "24h": 0, "12h": 1 }) }, manuSinope);
552
+ return { state: { time_format: value } };
553
+ },
554
+ convertGet: async (entity, key, meta) => {
555
+ await entity.read("manuSpecificSinope", ["timeFormatToDisplay"], manuSinope);
556
+ },
557
+ },
558
+ connected_load: {
559
+ // TH1400ZB and SW2500ZB
560
+ key: ["connected_load"],
561
+ convertSet: async (entity, key, value, meta) => {
562
+ await entity.write("manuSpecificSinope", { connectedLoad: value });
563
+ return { state: { connected_load: value } };
564
+ },
565
+ convertGet: async (entity, key, meta) => {
566
+ await entity.read("manuSpecificSinope", ["connectedLoad"]);
567
+ },
568
+ },
569
+ aux_connected_load: {
570
+ // TH1400ZB specific
571
+ key: ["aux_connected_load"],
572
+ convertSet: async (entity, key, value, meta) => {
573
+ await entity.write("manuSpecificSinope", { auxConnectedLoad: value });
574
+ return { state: { aux_connected_load: value } };
575
+ },
576
+ convertGet: async (entity, key, meta) => {
577
+ await entity.read("manuSpecificSinope", ["auxConnectedLoad"]);
578
+ },
579
+ },
580
+ pump_protection: {
581
+ // TH1400ZB specific
582
+ key: ["pump_protection"],
583
+ convertSet: async (entity, key, value, meta) => {
584
+ utils.assertString(value);
585
+ if (value.toLowerCase() === "on") {
586
+ await entity.write("manuSpecificSinope", { pumpProtection: 1 });
587
+ }
588
+ else if (value.toLowerCase() === "off") {
589
+ await entity.write("manuSpecificSinope", { pumpProtection: 255 });
590
+ }
591
+ return { state: { pump_protection: value } };
592
+ },
593
+ convertGet: async (entity, key, meta) => {
594
+ await entity.read("manuSpecificSinope", ["pumpProtection"]);
595
+ },
596
+ },
597
+ led_intensity_on: {
598
+ // DM25x0ZB and SW2500ZB
599
+ key: ["led_intensity_on"],
600
+ convertSet: async (entity, key, value, meta) => {
601
+ const number = utils.toNumber(value);
602
+ if (number >= 0 && number <= 100) {
603
+ await entity.write("manuSpecificSinope", { ledIntensityOn: number });
604
+ }
605
+ return { state: { led_intensity_on: number } };
606
+ },
607
+ convertGet: async (entity, key, meta) => {
608
+ await entity.read("manuSpecificSinope", ["ledIntensityOn"]);
609
+ },
610
+ },
611
+ led_intensity_off: {
612
+ // DM25x0ZB and SW2500ZB
613
+ key: ["led_intensity_off"],
614
+ convertSet: async (entity, key, value, meta) => {
615
+ const number = utils.toNumber(value);
616
+ if (number >= 0 && number <= 100) {
617
+ await entity.write("manuSpecificSinope", { ledIntensityOff: number });
618
+ }
619
+ return { state: { led_intensity_off: number } };
620
+ },
621
+ convertGet: async (entity, key, meta) => {
622
+ await entity.read("manuSpecificSinope", ["ledIntensityOff"]);
623
+ },
624
+ },
625
+ led_color_on: {
626
+ // DM25x0ZB and SW2500ZB
627
+ key: ["led_color_on"],
628
+ convertSet: async (entity, key, value, meta) => {
629
+ const r = value.r >= 0 && value.r <= 255 ? value.r : 0;
630
+ const g = value.g >= 0 && value.g <= 255 ? value.g : 0;
631
+ const b = value.b >= 0 && value.b <= 255 ? value.b : 0;
632
+ const valueHex = r + g * 256 + b * 256 ** 2;
633
+ await entity.write("manuSpecificSinope", { ledColorOn: valueHex });
634
+ },
635
+ },
636
+ led_color_off: {
637
+ // DM25x0ZB and SW2500ZB
638
+ key: ["led_color_off"],
639
+ convertSet: async (entity, key, value, meta) => {
640
+ const r = value.r >= 0 && value.r <= 255 ? value.r : 0;
641
+ const g = value.g >= 0 && value.g <= 255 ? value.g : 0;
642
+ const b = value.b >= 0 && value.b <= 255 ? value.b : 0;
643
+ const valueHex = r + g * 256 + b * 256 ** 2;
644
+ await entity.write("manuSpecificSinope", { ledColorOff: valueHex });
645
+ },
646
+ },
647
+ minimum_brightness: {
648
+ // DM25x0ZB
649
+ key: ["minimum_brightness"],
650
+ convertSet: async (entity, key, value, meta) => {
651
+ const number = utils.toNumber(value);
652
+ if (number >= 0 && number <= 3000) {
653
+ await entity.write("manuSpecificSinope", { minimumBrightness: number });
654
+ }
655
+ return { state: { minimumBrightness: number } };
656
+ },
657
+ convertGet: async (entity, key, meta) => {
658
+ await entity.read("manuSpecificSinope", ["minimumBrightness"]);
659
+ },
660
+ },
661
+ timer_seconds: {
662
+ // DM25x0ZB and SW2500ZB
663
+ key: ["timer_seconds"],
664
+ convertSet: async (entity, key, value, meta) => {
665
+ const number = utils.toNumber(value);
666
+ if (number >= 0 && number <= 65535) {
667
+ await entity.write("manuSpecificSinope", { dimmerTimmer: number });
668
+ }
669
+ return { state: { timer_seconds: number } };
670
+ },
671
+ convertGet: async (entity, key, meta) => {
672
+ await entity.read("manuSpecificSinope", ["dimmerTimmer"]);
673
+ },
674
+ },
675
+ keypad_lockout: {
676
+ // SW2500ZB
677
+ key: ["keypad_lockout"],
678
+ convertSet: async (entity, key, value, meta) => {
679
+ const lookup = { unlock: 0, lock: 1 };
680
+ await entity.write("manuSpecificSinope", { keypadLockout: utils.getFromLookup(value, lookup) });
681
+ return { state: { keypad_lockout: value } };
682
+ },
683
+ convertGet: async (entity, key, meta) => {
684
+ await entity.read("manuSpecificSinope", ["keypadLockout"]);
685
+ },
686
+ },
687
+ low_water_temp_protection: {
688
+ // RM3500ZB specific
689
+ key: ["low_water_temp_protection"],
690
+ convertSet: async (entity, key, value, meta) => {
691
+ await entity.write("manuSpecificSinope", { drConfigWaterTempMin: value });
692
+ return { state: { low_water_temp_protection: value } };
693
+ },
694
+ convertGet: async (entity, key, meta) => {
695
+ await entity.read("manuSpecificSinope", ["drConfigWaterTempMin"]);
696
+ },
697
+ },
698
+ eco_mode: {
699
+ key: ["eco_mode"],
700
+ convertSet: async (entity, key, value, meta) => {
701
+ const defaultedValue = value ?? -12.8;
702
+ await entity.write("manuSpecificSinope", { ecoMode: defaultedValue * 10 });
703
+ return { state: { eco_mode: defaultedValue } };
704
+ },
705
+ convertGet: async (entity, key, meta) => {
706
+ await entity.read("manuSpecificSinope", ["ecoMode"]);
707
+ },
708
+ },
709
+ };
710
+ exports.definitions = [
711
+ {
712
+ zigbeeModel: ["HP6000ZB-GE", "HP6000ZB-HS", "HP6000ZB-MA"],
713
+ model: "HP6000ZB",
714
+ vendor: "Sinopé",
715
+ description: "Mini-split air conditioner interface",
716
+ extend: [sinopeExtend.addManuSpecificSinopeCluster()],
717
+ fromZigbee: [
718
+ fz.fan,
719
+ {
720
+ cluster: "hvacThermostat",
721
+ type: ["attributeReport", "readResponse"],
722
+ convert: (model, msg, publish, options, meta) => {
723
+ const result = {};
724
+ if (Object.hasOwn(msg.data, "localTemp")) {
725
+ result.local_temperature = Number.parseFloat((msg.data["localTemp"] / 100).toFixed(1));
726
+ }
727
+ if (Object.hasOwn(msg.data, "systemMode")) {
728
+ const modeLookup = { 0: "off", 3: "cool", 4: "heat", 6: "fan_only", 8: "dry" };
729
+ result.system_mode = modeLookup[msg.data["systemMode"]];
730
+ }
731
+ // Unified setpoint to prevent "Range" UI issues in Home Assistant
732
+ if (Object.hasOwn(msg.data, "occupiedHeatingSetpoint") || Object.hasOwn(msg.data, "occupiedCoolingSetpoint")) {
733
+ const val = msg.data["occupiedHeatingSetpoint"] || msg.data["occupiedCoolingSetpoint"];
734
+ result.occupied_heating_setpoint = Number.parseFloat((val / 100).toFixed(1));
735
+ }
736
+ return result;
737
+ },
738
+ },
739
+ {
740
+ cluster: "manuSpecificSinope",
741
+ type: ["attributeReport", "readResponse"],
742
+ convert: (model, msg, publish, options, meta) => {
743
+ const result = {};
744
+ if (msg.data["610"] !== undefined)
745
+ result.swing_mode = msg.data["610"] === 1 ? "ON" : "OFF";
746
+ if (msg.data["613"] !== undefined)
747
+ result.display_led = msg.data["613"] === 1 ? "ON" : "OFF";
748
+ if (msg.data["currentSetpoint"] !== undefined) {
749
+ result.occupied_heating_setpoint = Number.parseFloat((msg.data["currentSetpoint"] / 100).toFixed(1));
750
+ }
751
+ return result;
752
+ },
753
+ },
754
+ ],
755
+ toZigbee: [
756
+ tz.thermostat_local_temperature,
757
+ tz.thermostat_system_mode,
758
+ tz.fan_mode,
759
+ {
760
+ key: ["occupied_heating_setpoint"],
761
+ convertSet: async (entity, key, value, meta) => {
762
+ const temp = Math.round(Number(value) * 100);
763
+ await entity.write("manuSpecificSinope", { currentSetpoint: temp }, { manufacturerCode: 0x119c });
764
+ return { state: { occupied_heating_setpoint: value } };
765
+ },
766
+ },
767
+ {
768
+ key: ["swing_mode"],
769
+ convertSet: async (entity, key, value, meta) => {
770
+ const val = value === "ON" ? 1 : 0;
771
+ await entity.write("manuSpecificSinope", { 610: { value: val, type: 0x30 } }, { manufacturerCode: 0x119c });
772
+ return { state: { swing_mode: value } };
773
+ },
774
+ },
775
+ {
776
+ key: ["display_led"],
777
+ convertSet: async (entity, key, value, meta) => {
778
+ const val = value === "ON" ? 1 : 0;
779
+ await entity.write("manuSpecificSinope", { 613: { value: val, type: 0x30 } }, { manufacturerCode: 0x119c });
780
+ return { state: { display_led: value } };
781
+ },
782
+ },
783
+ ],
784
+ exposes: [
785
+ e
786
+ .climate()
787
+ .withLocalTemperature()
788
+ .withSetpoint("occupied_heating_setpoint", 16, 30, 1)
789
+ .withSystemMode(["off", "heat", "cool", "dry", "fan_only"])
790
+ .withFanMode(["low", "medium", "high", "auto"]),
791
+ e.binary("swing_mode", ea.ALL, "ON", "OFF").withDescription("Vertical Swing"),
792
+ e.binary("display_led", ea.ALL, "ON", "OFF").withDescription("Display LED"),
793
+ ],
794
+ configure: async (device, coordinatorEndpoint) => {
795
+ const endpoint = device.getEndpoint(1);
796
+ const binds = ["hvacThermostat", "hvacFanCtrl", "manuSpecificSinope"];
797
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
798
+ await reporting.thermostatTemperature(endpoint);
799
+ await reporting.thermostatSystemMode(endpoint);
800
+ await endpoint.configureReporting("manuSpecificSinope", [
801
+ {
802
+ attribute: "currentSetpoint",
803
+ minimumReportInterval: 1,
804
+ maximumReportInterval: 3600,
805
+ reportableChange: 10,
806
+ },
807
+ ], { manufacturerCode: 0x119c });
808
+ },
809
+ },
810
+ {
811
+ zigbeeModel: ["TH1123ZB"],
812
+ model: "TH1123ZB",
813
+ vendor: "Sinopé",
814
+ description: "Zigbee line volt thermostat",
815
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.electricityMeter()],
816
+ fromZigbee: [fzLocal.thermostat, fzLocal.sinope, fz.hvac_user_interface, fz.ignore_temperature_report],
817
+ toZigbee: [
818
+ tz.thermostat_local_temperature,
819
+ tz.thermostat_occupied_heating_setpoint,
820
+ tz.thermostat_unoccupied_heating_setpoint,
821
+ tz.thermostat_temperature_display_mode,
822
+ tz.thermostat_keypad_lockout,
823
+ tz.thermostat_system_mode,
824
+ tzLocal.backlight_autodim,
825
+ tzLocal.thermostat_time,
826
+ tzLocal.time_format,
827
+ tzLocal.enable_outdoor_temperature,
828
+ tzLocal.second_display_mode,
829
+ tzLocal.thermostat_outdoor_temperature,
830
+ tzLocal.outdoor_temperature_timeout,
831
+ tzLocal.thermostat_occupancy,
832
+ tzLocal.main_cycle_output,
833
+ tzLocal.eco_mode,
834
+ ],
835
+ exposes: [
836
+ e
837
+ .climate()
838
+ .withSetpoint("occupied_heating_setpoint", 5, 30, 0.5)
839
+ .withSetpoint("unoccupied_heating_setpoint", 5, 30, 0.5)
840
+ .withLocalTemperature()
841
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
842
+ .withPiHeatingDemand()
843
+ .withRunningState(["idle", "heat"], ea.STATE),
844
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
845
+ e
846
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
847
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
848
+ 'in "outdoor temp" mode when expired.'),
849
+ e
850
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
851
+ .withUnit("°C")
852
+ .withValueMin(-99.5)
853
+ .withValueMax(99.5)
854
+ .withValueStep(0.5)
855
+ .withDescription("Outdoor temperature for the secondary display"),
856
+ e
857
+ .numeric("outdoor_temperature_timeout", ea.ALL)
858
+ .withUnit("s")
859
+ .withValueMin(30)
860
+ .withValueMax(64800)
861
+ .withPreset("15 min", 900, "15 minutes")
862
+ .withPreset("30 min", 1800, "30 minutes")
863
+ .withPreset("1 hour", 3600, "1 hour")
864
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
865
+ e
866
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
867
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
868
+ e
869
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
870
+ .withDescription("The temperature format displayed on the thermostat screen"),
871
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
872
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing"]).withDescription("Control backlight dimming behavior"),
873
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
874
+ e.enum("main_cycle_output", ea.ALL, ["15_sec", "15_min"]).withDescription("The length of the control cycle: 15_sec=normal 15_min=fan"),
875
+ e
876
+ .numeric("eco_mode", ea.ALL)
877
+ .withUnit("°C")
878
+ .withValueMin(-10)
879
+ .withValueMax(10)
880
+ .withValueStep(0.5)
881
+ .withDescription("Adjusts temperature setpoint to fulfill demand response")
882
+ .withPreset("disabled", -12.8, "Disables the eco mode"),
883
+ ],
884
+ configure: async (device, coordinatorEndpoint) => {
885
+ const endpoint = device.getEndpoint(1);
886
+ const binds = [
887
+ "genBasic",
888
+ "genIdentify",
889
+ "genGroups",
890
+ "hvacThermostat",
891
+ "hvacUserInterfaceCfg",
892
+ "msTemperatureMeasurement",
893
+ "manuSpecificSinope",
894
+ ];
895
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
896
+ await reporting.thermostatTemperature(endpoint);
897
+ await reporting.thermostatPIHeatingDemand(endpoint);
898
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
899
+ await reporting.temperature(endpoint, { min: 1, max: 0xffff }); // Disable default reporting
900
+ await endpoint.configureReporting("msTemperatureMeasurement", [
901
+ {
902
+ attribute: "tolerance",
903
+ minimumReportInterval: 1,
904
+ maximumReportInterval: 0xffff,
905
+ reportableChange: 1,
906
+ },
907
+ ]);
908
+ try {
909
+ await reporting.thermostatSystemMode(endpoint);
910
+ }
911
+ catch {
912
+ /* Not all support this */
913
+ }
914
+ },
915
+ },
916
+ {
917
+ zigbeeModel: ["TH1124ZB"],
918
+ model: "TH1124ZB",
919
+ vendor: "Sinopé",
920
+ description: "Zigbee line volt thermostat",
921
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.electricityMeter()],
922
+ fromZigbee: [fzLocal.thermostat, fzLocal.sinope, fz.hvac_user_interface, fz.ignore_temperature_report],
923
+ toZigbee: [
924
+ tz.thermostat_local_temperature,
925
+ tz.thermostat_occupied_heating_setpoint,
926
+ tz.thermostat_unoccupied_heating_setpoint,
927
+ tz.thermostat_temperature_display_mode,
928
+ tz.thermostat_keypad_lockout,
929
+ tz.thermostat_system_mode,
930
+ tzLocal.backlight_autodim,
931
+ tzLocal.thermostat_time,
932
+ tzLocal.time_format,
933
+ tzLocal.enable_outdoor_temperature,
934
+ tzLocal.second_display_mode,
935
+ tzLocal.thermostat_outdoor_temperature,
936
+ tzLocal.outdoor_temperature_timeout,
937
+ tzLocal.thermostat_occupancy,
938
+ tzLocal.main_cycle_output,
939
+ tzLocal.eco_mode,
940
+ ],
941
+ exposes: [
942
+ e
943
+ .climate()
944
+ .withSetpoint("occupied_heating_setpoint", 5, 30, 0.5)
945
+ .withSetpoint("unoccupied_heating_setpoint", 5, 30, 0.5)
946
+ .withLocalTemperature()
947
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
948
+ .withPiHeatingDemand()
949
+ .withRunningState(["idle", "heat"], ea.STATE),
950
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
951
+ e
952
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
953
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
954
+ 'in "outdoor temp" mode when expired.'),
955
+ e
956
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
957
+ .withUnit("°C")
958
+ .withValueMin(-99.5)
959
+ .withValueMax(99.5)
960
+ .withValueStep(0.5)
961
+ .withDescription("Outdoor temperature for the secondary display"),
962
+ e
963
+ .numeric("outdoor_temperature_timeout", ea.ALL)
964
+ .withUnit("s")
965
+ .withValueMin(30)
966
+ .withValueMax(64800)
967
+ .withPreset("15 min", 900, "15 minutes")
968
+ .withPreset("30 min", 1800, "30 minutes")
969
+ .withPreset("1 hour", 3600, "1 hour")
970
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
971
+ e
972
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
973
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
974
+ e
975
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
976
+ .withDescription("The temperature format displayed on the thermostat screen"),
977
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
978
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing"]).withDescription("Control backlight dimming behavior"),
979
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
980
+ e.enum("main_cycle_output", ea.ALL, ["15_sec", "15_min"]).withDescription("The length of the control cycle: 15_sec=normal 15_min=fan"),
981
+ e
982
+ .numeric("eco_mode", ea.ALL)
983
+ .withUnit("°C")
984
+ .withValueMin(-10)
985
+ .withValueMax(10)
986
+ .withValueStep(0.5)
987
+ .withDescription("Adjusts temperature setpoint to fulfill demand response")
988
+ .withPreset("disabled", -12.8, "Disables the eco mode"),
989
+ ],
990
+ configure: async (device, coordinatorEndpoint) => {
991
+ const endpoint = device.getEndpoint(1);
992
+ const binds = [
993
+ "genBasic",
994
+ "genIdentify",
995
+ "genGroups",
996
+ "hvacThermostat",
997
+ "hvacUserInterfaceCfg",
998
+ "msTemperatureMeasurement",
999
+ "manuSpecificSinope",
1000
+ ];
1001
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1002
+ await reporting.thermostatTemperature(endpoint);
1003
+ await reporting.thermostatPIHeatingDemand(endpoint);
1004
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1005
+ await reporting.temperature(endpoint, { min: 1, max: 0xffff }); // Disable default reporting
1006
+ await endpoint.configureReporting("msTemperatureMeasurement", [
1007
+ {
1008
+ attribute: "tolerance",
1009
+ minimumReportInterval: 1,
1010
+ maximumReportInterval: 0xffff,
1011
+ reportableChange: 1,
1012
+ },
1013
+ ]);
1014
+ try {
1015
+ await reporting.thermostatSystemMode(endpoint);
1016
+ }
1017
+ catch {
1018
+ /* Not all support this */
1019
+ }
1020
+ },
1021
+ },
1022
+ {
1023
+ zigbeeModel: ["TH1123ZB-G2"],
1024
+ model: "TH1123ZB-G2",
1025
+ vendor: "Sinopé",
1026
+ description: "Zigbee line volt thermostat",
1027
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } })],
1028
+ meta: { sinopeAlternateBacklightAutoDim: true },
1029
+ fromZigbee: [fzLocal.thermostat, fzLocal.sinope, fz.hvac_user_interface, fz.ignore_temperature_report],
1030
+ toZigbee: [
1031
+ tz.thermostat_local_temperature,
1032
+ tz.thermostat_occupied_heating_setpoint,
1033
+ tz.thermostat_unoccupied_heating_setpoint,
1034
+ tz.thermostat_temperature_display_mode,
1035
+ tz.thermostat_keypad_lockout,
1036
+ tz.thermostat_system_mode,
1037
+ tzLocal.backlight_autodim,
1038
+ tzLocal.thermostat_time,
1039
+ tzLocal.time_format,
1040
+ tzLocal.enable_outdoor_temperature,
1041
+ tzLocal.second_display_mode,
1042
+ tzLocal.thermostat_outdoor_temperature,
1043
+ tzLocal.outdoor_temperature_timeout,
1044
+ tzLocal.thermostat_occupancy,
1045
+ tzLocal.main_cycle_output,
1046
+ tzLocal.eco_mode,
1047
+ ],
1048
+ exposes: [
1049
+ e
1050
+ .climate()
1051
+ .withSetpoint("occupied_heating_setpoint", 5, 30, 0.5)
1052
+ .withSetpoint("unoccupied_heating_setpoint", 5, 30, 0.5)
1053
+ .withLocalTemperature()
1054
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
1055
+ .withPiHeatingDemand()
1056
+ .withRunningState(["idle", "heat"], ea.STATE),
1057
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
1058
+ e
1059
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
1060
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
1061
+ 'in "outdoor temp" mode when expired.'),
1062
+ e
1063
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
1064
+ .withUnit("°C")
1065
+ .withValueMin(-99.5)
1066
+ .withValueMax(99.5)
1067
+ .withValueStep(0.5)
1068
+ .withDescription("Outdoor temperature for the secondary display"),
1069
+ e
1070
+ .numeric("outdoor_temperature_timeout", ea.ALL)
1071
+ .withUnit("s")
1072
+ .withValueMin(30)
1073
+ .withValueMax(64800)
1074
+ .withPreset("15 min", 900, "15 minutes")
1075
+ .withPreset("30 min", 1800, "30 minutes")
1076
+ .withPreset("1 hour", 3600, "1 hour")
1077
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
1078
+ e
1079
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
1080
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
1081
+ e
1082
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
1083
+ .withDescription("The temperature format displayed on the thermostat screen"),
1084
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
1085
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing", "off"]).withDescription("Control backlight dimming behavior"),
1086
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
1087
+ e.enum("main_cycle_output", ea.ALL, ["15_sec", "15_min"]).withDescription("The length of the control cycle: 15_sec=normal 15_min=fan"),
1088
+ e
1089
+ .numeric("eco_mode", ea.ALL)
1090
+ .withUnit("°C")
1091
+ .withValueMin(-10)
1092
+ .withValueMax(10)
1093
+ .withValueStep(0.5)
1094
+ .withDescription("Adjusts temperature setpoint to fulfill demand response")
1095
+ .withPreset("disabled", -12.8, "Disables the eco mode"),
1096
+ ],
1097
+ configure: async (device, coordinatorEndpoint) => {
1098
+ const endpoint = device.getEndpoint(1);
1099
+ const binds = [
1100
+ "genBasic",
1101
+ "genIdentify",
1102
+ "genGroups",
1103
+ "hvacThermostat",
1104
+ "hvacUserInterfaceCfg",
1105
+ "msTemperatureMeasurement",
1106
+ "manuSpecificSinope",
1107
+ "seMetering",
1108
+ "haElectricalMeasurement",
1109
+ ];
1110
+ // This G2 version has limited memory space
1111
+ // from experimenting we can configure a maximum of 8 reporting entities
1112
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1113
+ const thermostatDate = new Date();
1114
+ const thermostatTimeSec = thermostatDate.getTime() / 1000;
1115
+ const thermostatTimezoneOffsetSec = thermostatDate.getTimezoneOffset() * 60;
1116
+ const currentTimeToDisplay = Math.round(thermostatTimeSec - thermostatTimezoneOffsetSec - 946684800);
1117
+ await endpoint.write("manuSpecificSinope", { currentTimeToDisplay }, manuSinope);
1118
+ await endpoint.write("manuSpecificSinope", { secondScreenBehavior: 0 }, manuSinope); // Mode auto
1119
+ await reporting.thermostatTemperature(endpoint);
1120
+ await reporting.thermostatPIHeatingDemand(endpoint);
1121
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1122
+ await reporting.thermostatRunningState(endpoint, { min: 1, max: 0xffff });
1123
+ await endpoint.configureReporting("msTemperatureMeasurement", [
1124
+ {
1125
+ attribute: "tolerance",
1126
+ minimumReportInterval: 1,
1127
+ maximumReportInterval: 0xffff,
1128
+ reportableChange: 1,
1129
+ },
1130
+ ]);
1131
+ await reporting.readMeteringMultiplierDivisor(endpoint);
1132
+ await reporting.currentSummDelivered(endpoint, { min: 60, max: 300, change: 10 });
1133
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
1134
+ await endpoint.configureReporting("haElectricalMeasurement", [
1135
+ { attribute: "rmsVoltage", minimumReportInterval: 60, maximumReportInterval: 300, reportableChange: 5 },
1136
+ { attribute: "rmsCurrent", minimumReportInterval: 10, maximumReportInterval: 60, reportableChange: 0.1 },
1137
+ { attribute: "activePower", minimumReportInterval: 10, maximumReportInterval: 60, reportableChange: 5 },
1138
+ ]);
1139
+ // for some older version it migth still work
1140
+ try {
1141
+ await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
1142
+ }
1143
+ catch {
1144
+ /* Do nothing */
1145
+ }
1146
+ },
1147
+ },
1148
+ {
1149
+ zigbeeModel: ["TH1124ZB-G2"],
1150
+ model: "TH1124ZB-G2",
1151
+ vendor: "Sinopé",
1152
+ description: "Zigbee line volt thermostat",
1153
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } })],
1154
+ meta: { sinopeAlternateBacklightAutoDim: true },
1155
+ fromZigbee: [fzLocal.thermostat, fzLocal.sinope, fz.hvac_user_interface, fz.ignore_temperature_report],
1156
+ toZigbee: [
1157
+ tz.thermostat_local_temperature,
1158
+ tz.thermostat_occupied_heating_setpoint,
1159
+ tz.thermostat_unoccupied_heating_setpoint,
1160
+ tz.thermostat_temperature_display_mode,
1161
+ tz.thermostat_keypad_lockout,
1162
+ tz.thermostat_system_mode,
1163
+ tzLocal.backlight_autodim,
1164
+ tzLocal.thermostat_time,
1165
+ tzLocal.time_format,
1166
+ tzLocal.enable_outdoor_temperature,
1167
+ tzLocal.second_display_mode,
1168
+ tzLocal.thermostat_outdoor_temperature,
1169
+ tzLocal.outdoor_temperature_timeout,
1170
+ tzLocal.thermostat_occupancy,
1171
+ tzLocal.main_cycle_output,
1172
+ tzLocal.eco_mode,
1173
+ ],
1174
+ exposes: [
1175
+ e
1176
+ .climate()
1177
+ .withSetpoint("occupied_heating_setpoint", 5, 30, 0.5)
1178
+ .withSetpoint("unoccupied_heating_setpoint", 5, 30, 0.5)
1179
+ .withLocalTemperature()
1180
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
1181
+ .withPiHeatingDemand()
1182
+ .withRunningState(["idle", "heat"], ea.STATE),
1183
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
1184
+ e
1185
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
1186
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
1187
+ 'in "outdoor temp" mode when expired.'),
1188
+ e
1189
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
1190
+ .withUnit("°C")
1191
+ .withValueMin(-99.5)
1192
+ .withValueMax(99.5)
1193
+ .withValueStep(0.5)
1194
+ .withDescription("Outdoor temperature for the secondary display"),
1195
+ e
1196
+ .numeric("outdoor_temperature_timeout", ea.ALL)
1197
+ .withUnit("s")
1198
+ .withValueMin(30)
1199
+ .withValueMax(64800)
1200
+ .withPreset("15 min", 900, "15 minutes")
1201
+ .withPreset("30 min", 1800, "30 minutes")
1202
+ .withPreset("1 hour", 3600, "1 hour")
1203
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
1204
+ e
1205
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
1206
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
1207
+ e
1208
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
1209
+ .withDescription("The temperature format displayed on the thermostat screen"),
1210
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
1211
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing", "off"]).withDescription("Control backlight dimming behavior"),
1212
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
1213
+ e.enum("main_cycle_output", ea.ALL, ["15_sec", "15_min"]).withDescription("The length of the control cycle: 15_sec=normal 15_min=fan"),
1214
+ e
1215
+ .numeric("eco_mode", ea.ALL)
1216
+ .withUnit("°C")
1217
+ .withValueMin(-10)
1218
+ .withValueMax(10)
1219
+ .withValueStep(0.5)
1220
+ .withDescription("Adjusts temperature setpoint to fulfill demand response")
1221
+ .withPreset("disabled", -12.8, "Disables the eco mode"),
1222
+ ],
1223
+ configure: async (device, coordinatorEndpoint) => {
1224
+ const endpoint = device.getEndpoint(1);
1225
+ const binds = [
1226
+ "genBasic",
1227
+ "genIdentify",
1228
+ "genGroups",
1229
+ "hvacThermostat",
1230
+ "hvacUserInterfaceCfg",
1231
+ "msTemperatureMeasurement",
1232
+ "manuSpecificSinope",
1233
+ "seMetering",
1234
+ "haElectricalMeasurement",
1235
+ ];
1236
+ // This G2 version has limited memory space
1237
+ // from experimenting we can configure a maximum of 8 reporting entities
1238
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1239
+ const thermostatDate = new Date();
1240
+ const thermostatTimeSec = thermostatDate.getTime() / 1000;
1241
+ const thermostatTimezoneOffsetSec = thermostatDate.getTimezoneOffset() * 60;
1242
+ const currentTimeToDisplay = Math.round(thermostatTimeSec - thermostatTimezoneOffsetSec - 946684800);
1243
+ await endpoint.write("manuSpecificSinope", { currentTimeToDisplay }, manuSinope);
1244
+ await endpoint.write("manuSpecificSinope", { secondScreenBehavior: 0 }, manuSinope); // Mode auto
1245
+ await reporting.thermostatTemperature(endpoint);
1246
+ await reporting.thermostatPIHeatingDemand(endpoint);
1247
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1248
+ await reporting.thermostatRunningState(endpoint, { min: 1, max: 0xffff });
1249
+ await endpoint.configureReporting("msTemperatureMeasurement", [
1250
+ {
1251
+ attribute: "tolerance",
1252
+ minimumReportInterval: 1,
1253
+ maximumReportInterval: 0xffff,
1254
+ reportableChange: 1,
1255
+ },
1256
+ ]);
1257
+ await reporting.readMeteringMultiplierDivisor(endpoint);
1258
+ await reporting.currentSummDelivered(endpoint, { min: 60, max: 300, change: 10 });
1259
+ await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
1260
+ await endpoint.configureReporting("haElectricalMeasurement", [
1261
+ { attribute: "rmsVoltage", minimumReportInterval: 60, maximumReportInterval: 300, reportableChange: 5 },
1262
+ { attribute: "rmsCurrent", minimumReportInterval: 10, maximumReportInterval: 60, reportableChange: 0.1 },
1263
+ { attribute: "activePower", minimumReportInterval: 10, maximumReportInterval: 60, reportableChange: 5 },
1264
+ ]);
1265
+ // for some older version it migth still work
1266
+ try {
1267
+ await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
1268
+ }
1269
+ catch {
1270
+ /* Do nothing */
1271
+ }
1272
+ },
1273
+ },
1274
+ {
1275
+ zigbeeModel: ["TH1300ZB", "TH1320ZB-04"],
1276
+ model: "TH1300ZB",
1277
+ vendor: "Sinopé",
1278
+ description: "Zigbee smart floor heating thermostat",
1279
+ whiteLabel: [
1280
+ { model: "TH1320ZB-04", vendor: "Sinopé", description: "Zigbee smart floor heating thermostat", fingerprint: [{ modelID: "TH1320ZB-04" }] },
1281
+ ],
1282
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.electricityMeter()],
1283
+ fromZigbee: [fzLocal.thermostat, fzLocal.sinope, fz.hvac_user_interface, fz.ignore_temperature_report],
1284
+ toZigbee: [
1285
+ tz.thermostat_local_temperature,
1286
+ tz.thermostat_occupied_heating_setpoint,
1287
+ tz.thermostat_unoccupied_heating_setpoint,
1288
+ tz.thermostat_temperature_display_mode,
1289
+ tz.thermostat_keypad_lockout,
1290
+ tz.thermostat_system_mode,
1291
+ tzLocal.backlight_autodim,
1292
+ tzLocal.thermostat_time,
1293
+ tzLocal.time_format,
1294
+ tzLocal.enable_outdoor_temperature,
1295
+ tzLocal.second_display_mode,
1296
+ tzLocal.thermostat_outdoor_temperature,
1297
+ tzLocal.outdoor_temperature_timeout,
1298
+ tzLocal.thermostat_occupancy,
1299
+ tzLocal.floor_control_mode,
1300
+ tzLocal.ambiant_max_heat_setpoint,
1301
+ tzLocal.floor_min_heat_setpoint,
1302
+ tzLocal.floor_max_heat_setpoint,
1303
+ tzLocal.temperature_sensor,
1304
+ ],
1305
+ exposes: [
1306
+ e
1307
+ .climate()
1308
+ .withSetpoint("occupied_heating_setpoint", 5, 36, 0.5)
1309
+ .withSetpoint("unoccupied_heating_setpoint", 5, 36, 0.5)
1310
+ .withLocalTemperature()
1311
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
1312
+ .withPiHeatingDemand()
1313
+ .withRunningState(["idle", "heat"], ea.STATE),
1314
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
1315
+ e
1316
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
1317
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
1318
+ 'in "outdoor temp" mode when expired.'),
1319
+ e
1320
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
1321
+ .withUnit("°C")
1322
+ .withValueMin(-99.5)
1323
+ .withValueMax(99.5)
1324
+ .withValueStep(0.5)
1325
+ .withDescription("Outdoor temperature for the secondary display"),
1326
+ e
1327
+ .numeric("outdoor_temperature_timeout", ea.ALL)
1328
+ .withUnit("s")
1329
+ .withValueMin(30)
1330
+ .withValueMax(64800)
1331
+ .withPreset("15 min", 900, "15 minutes")
1332
+ .withPreset("30 min", 1800, "30 minutes")
1333
+ .withPreset("1 hour", 3600, "1 hour")
1334
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
1335
+ e
1336
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
1337
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
1338
+ e
1339
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
1340
+ .withDescription("The temperature format displayed on the thermostat screen"),
1341
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
1342
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing"]).withDescription("Control backlight dimming behavior"),
1343
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
1344
+ ],
1345
+ configure: async (device, coordinatorEndpoint) => {
1346
+ const endpoint = device.getEndpoint(1);
1347
+ const binds = [
1348
+ "genBasic",
1349
+ "genIdentify",
1350
+ "genGroups",
1351
+ "hvacThermostat",
1352
+ "hvacUserInterfaceCfg",
1353
+ "msTemperatureMeasurement",
1354
+ "manuSpecificSinope",
1355
+ ];
1356
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1357
+ await reporting.thermostatTemperature(endpoint);
1358
+ await reporting.thermostatPIHeatingDemand(endpoint);
1359
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1360
+ try {
1361
+ await reporting.thermostatKeypadLockMode(endpoint);
1362
+ }
1363
+ catch {
1364
+ // Not all support this: https://github.com/Koenkk/zigbee2mqtt/issues/3760
1365
+ }
1366
+ await endpoint.configureReporting("manuSpecificSinope", [
1367
+ { attribute: "GFCiStatus", minimumReportInterval: 1, maximumReportInterval: constants.repInterval.HOUR, reportableChange: 1 },
1368
+ ]);
1369
+ await endpoint.configureReporting("manuSpecificSinope", [
1370
+ { attribute: "floorLimitStatus", minimumReportInterval: 1, maximumReportInterval: constants.repInterval.HOUR, reportableChange: 1 },
1371
+ ]);
1372
+ await reporting.temperature(endpoint, { min: 1, max: 0xffff }); // disable reporting
1373
+ },
1374
+ },
1375
+ {
1376
+ zigbeeModel: ["TH1400ZB"],
1377
+ model: "TH1400ZB",
1378
+ vendor: "Sinopé",
1379
+ description: "Zigbee low volt thermostat",
1380
+ extend: [sinopeExtend.addManuSpecificSinopeCluster()],
1381
+ fromZigbee: [
1382
+ fzLocal.thermostat,
1383
+ fzLocal.sinope,
1384
+ fz.hvac_user_interface,
1385
+ fz.electrical_measurement,
1386
+ fz.metering,
1387
+ fz.ignore_temperature_report,
1388
+ ],
1389
+ toZigbee: [
1390
+ tz.thermostat_local_temperature,
1391
+ tz.thermostat_occupied_heating_setpoint,
1392
+ tz.thermostat_unoccupied_heating_setpoint,
1393
+ tz.thermostat_temperature_display_mode,
1394
+ tz.thermostat_keypad_lockout,
1395
+ tz.thermostat_system_mode,
1396
+ tzLocal.backlight_autodim,
1397
+ tzLocal.thermostat_time,
1398
+ tzLocal.time_format,
1399
+ tzLocal.enable_outdoor_temperature,
1400
+ tzLocal.second_display_mode,
1401
+ tzLocal.thermostat_outdoor_temperature,
1402
+ tzLocal.outdoor_temperature_timeout,
1403
+ tzLocal.thermostat_occupancy,
1404
+ tzLocal.floor_control_mode,
1405
+ tzLocal.ambiant_max_heat_setpoint,
1406
+ tzLocal.floor_min_heat_setpoint,
1407
+ tzLocal.floor_max_heat_setpoint,
1408
+ tzLocal.temperature_sensor,
1409
+ tz.thermostat_min_heat_setpoint_limit,
1410
+ tz.thermostat_max_heat_setpoint_limit,
1411
+ tzLocal.connected_load,
1412
+ tzLocal.aux_connected_load,
1413
+ tzLocal.main_cycle_output,
1414
+ tzLocal.aux_cycle_output,
1415
+ tzLocal.pump_protection,
1416
+ ],
1417
+ exposes: [
1418
+ e
1419
+ .climate()
1420
+ .withSetpoint("occupied_heating_setpoint", 5, 36, 0.5)
1421
+ .withSetpoint("unoccupied_heating_setpoint", 5, 36, 0.5)
1422
+ .withLocalTemperature()
1423
+ .withSystemMode(["off", "heat"])
1424
+ .withPiHeatingDemand()
1425
+ .withRunningState(["idle", "heat"], ea.STATE),
1426
+ e.max_heat_setpoint_limit(5, 36, 0.5),
1427
+ e.min_heat_setpoint_limit(5, 36, 0.5),
1428
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
1429
+ e
1430
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
1431
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
1432
+ 'in "outdoor temp" mode when expired.'),
1433
+ e
1434
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
1435
+ .withUnit("°C")
1436
+ .withValueMin(-99.5)
1437
+ .withValueMax(99.5)
1438
+ .withValueStep(0.5)
1439
+ .withDescription("Outdoor temperature for the secondary display"),
1440
+ e
1441
+ .numeric("outdoor_temperature_timeout", ea.ALL)
1442
+ .withUnit("s")
1443
+ .withValueMin(30)
1444
+ .withValueMax(64800)
1445
+ .withPreset("15 min", 900, "15 minutes")
1446
+ .withPreset("30 min", 1800, "30 minutes")
1447
+ .withPreset("1 hour", 3600, "1 hour")
1448
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
1449
+ e
1450
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
1451
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
1452
+ e
1453
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
1454
+ .withDescription("The temperature format displayed on the thermostat screen"),
1455
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
1456
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing"]).withDescription("The display backlight behavior"),
1457
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
1458
+ e
1459
+ .numeric("connected_load", ea.ALL)
1460
+ .withUnit("W")
1461
+ .withValueMin(1)
1462
+ .withValueMax(20000)
1463
+ .withDescription("The power in watts of the electrical load connected to the device"),
1464
+ e.enum("floor_control_mode", ea.ALL, ["ambiant", "floor"]).withDescription("Control mode using floor or ambient temperature"),
1465
+ e
1466
+ .numeric("floor_max_heat_setpoint", ea.ALL)
1467
+ .withUnit("°C")
1468
+ .withValueMin(7)
1469
+ .withValueMax(36)
1470
+ .withValueStep(0.5)
1471
+ .withPreset("off", "off", "Use minimum permitted value")
1472
+ .withDescription("The maximum floor temperature limit of the floor when in ambient control mode"),
1473
+ e
1474
+ .numeric("floor_min_heat_setpoint", ea.ALL)
1475
+ .withUnit("°C")
1476
+ .withValueMin(5)
1477
+ .withValueMax(34)
1478
+ .withValueStep(0.5)
1479
+ .withPreset("off", "off", "Use minimum permitted value")
1480
+ .withDescription("The minimum floor temperature limit of the floor when in ambient control mode"),
1481
+ e
1482
+ .numeric("ambiant_max_heat_setpoint", ea.ALL)
1483
+ .withUnit("°C")
1484
+ .withValueMin(5)
1485
+ .withValueMax(36)
1486
+ .withValueStep(0.5)
1487
+ .withPreset("off", "off", "Use minimum permitted value")
1488
+ .withDescription("The maximum ambient temperature limit when in floor control mode"),
1489
+ e.enum("floor_temperature_sensor", ea.ALL, ["10k", "12k"]).withDescription("The floor sensor"),
1490
+ e
1491
+ .enum("main_cycle_output", ea.ALL, ["15_sec", "5_min", "10_min", "15_min", "20_min", "30_min"])
1492
+ .withDescription("The length of the control cycle according to the type of load connected to the thermostats"),
1493
+ e
1494
+ .enum("aux_cycle_output", ea.ALL, ["off", "15_sec", "5_min", "10_min", "15_min", "20_min", "30_min"])
1495
+ .withDescription("The length of the control cycle according to the type of auxiliary load connected to the thermostats"),
1496
+ e.binary("pump_protection", ea.ALL, "ON", "OFF").withDescription("This function prevents the seizure of the pump"),
1497
+ e
1498
+ .numeric("aux_connected_load", ea.ALL)
1499
+ .withUnit("W")
1500
+ .withValueMin(0)
1501
+ .withValueMax(20000)
1502
+ .withDescription("The power in watts of the heater connected to the auxiliary output of the thermostat"),
1503
+ ],
1504
+ configure: async (device, coordinatorEndpoint) => {
1505
+ const endpoint = device.getEndpoint(1);
1506
+ const binds = [
1507
+ "genBasic",
1508
+ "genIdentify",
1509
+ "genGroups",
1510
+ "hvacThermostat",
1511
+ "hvacUserInterfaceCfg",
1512
+ "msTemperatureMeasurement",
1513
+ "manuSpecificSinope",
1514
+ ];
1515
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1516
+ await reporting.thermostatTemperature(endpoint);
1517
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1518
+ await reporting.thermostatPIHeatingDemand(endpoint);
1519
+ try {
1520
+ await reporting.thermostatSystemMode(endpoint);
1521
+ }
1522
+ catch {
1523
+ /* Not all support this */
1524
+ }
1525
+ await endpoint.read("hvacThermostat", [
1526
+ "occupiedHeatingSetpoint",
1527
+ "localTemp",
1528
+ "systemMode",
1529
+ "pIHeatingDemand",
1530
+ "SinopeBacklight",
1531
+ "maxHeatSetpointLimit",
1532
+ "minHeatSetpointLimit",
1533
+ "SinopeMainCycleOutput",
1534
+ "SinopeAuxCycleOutput",
1535
+ ]);
1536
+ await endpoint.read("hvacUserInterfaceCfg", ["keypadLockout", "tempDisplayMode"]);
1537
+ await endpoint.read("manuSpecificSinope", [
1538
+ "timeFormatToDisplay",
1539
+ "connectedLoad",
1540
+ "auxConnectedLoad",
1541
+ "floorControlMode",
1542
+ "floorMinHeatSetpointLimit",
1543
+ "floorMaxHeatSetpointLimit",
1544
+ "ambiantMaxHeatSetpointLimit",
1545
+ "outdoorTempToDisplayTimeout",
1546
+ "temperatureSensor",
1547
+ "pumpProtection",
1548
+ ]);
1549
+ await reporting.temperature(endpoint, { min: 1, max: 0xffff }); // disable reporting
1550
+ },
1551
+ },
1552
+ {
1553
+ zigbeeModel: ["TH1500ZB"],
1554
+ model: "TH1500ZB",
1555
+ vendor: "Sinopé",
1556
+ description: "Zigbee dual pole line volt thermostat",
1557
+ extend: [sinopeExtend.addManuSpecificSinopeCluster()],
1558
+ fromZigbee: [
1559
+ fzLocal.thermostat,
1560
+ fzLocal.sinope,
1561
+ fz.hvac_user_interface,
1562
+ fz.electrical_measurement,
1563
+ fz.metering,
1564
+ fz.ignore_temperature_report,
1565
+ ],
1566
+ toZigbee: [
1567
+ tz.thermostat_local_temperature,
1568
+ tz.thermostat_occupied_heating_setpoint,
1569
+ tz.thermostat_unoccupied_heating_setpoint,
1570
+ tz.thermostat_temperature_display_mode,
1571
+ tz.thermostat_keypad_lockout,
1572
+ tz.thermostat_system_mode,
1573
+ tzLocal.backlight_autodim,
1574
+ tzLocal.thermostat_time,
1575
+ tzLocal.time_format,
1576
+ tzLocal.enable_outdoor_temperature,
1577
+ tzLocal.second_display_mode,
1578
+ tzLocal.thermostat_outdoor_temperature,
1579
+ tzLocal.outdoor_temperature_timeout,
1580
+ tzLocal.thermostat_occupancy,
1581
+ ],
1582
+ exposes: [
1583
+ e
1584
+ .climate()
1585
+ .withSetpoint("occupied_heating_setpoint", 5, 30, 0.5)
1586
+ .withSetpoint("unoccupied_heating_setpoint", 5, 30, 0.5)
1587
+ .withLocalTemperature()
1588
+ .withSystemMode(["off", "heat"], ea.ALL, "Mode of the thermostat")
1589
+ .withPiHeatingDemand()
1590
+ .withRunningState(["idle", "heat"], ea.STATE),
1591
+ e.enum("thermostat_occupancy", ea.ALL, ["unoccupied", "occupied"]).withDescription("Occupancy state of the thermostat"),
1592
+ e
1593
+ .enum("second_display_mode", ea.ALL, ["auto", "setpoint", "outdoor temp"])
1594
+ .withDescription('Displays the outdoor temperature and then returns to the set point in "auto" mode, or clears ' +
1595
+ 'in "outdoor temp" mode when expired.'),
1596
+ e
1597
+ .numeric("thermostat_outdoor_temperature", ea.ALL)
1598
+ .withUnit("°C")
1599
+ .withValueMin(-99.5)
1600
+ .withValueMax(99.5)
1601
+ .withValueStep(0.5)
1602
+ .withDescription("Outdoor temperature for the secondary display"),
1603
+ e
1604
+ .numeric("outdoor_temperature_timeout", ea.ALL)
1605
+ .withUnit("s")
1606
+ .withValueMin(30)
1607
+ .withValueMax(64800)
1608
+ .withPreset("15 min", 900, "15 minutes")
1609
+ .withPreset("30 min", 1800, "30 minutes")
1610
+ .withPreset("1 hour", 3600, "1 hour")
1611
+ .withDescription("Time in seconds after which the outdoor temperature is considered to have expired"),
1612
+ e
1613
+ .binary("enable_outdoor_temperature", ea.ALL, "ON", "OFF")
1614
+ .withDescription("DEPRECATED: Use second_display_mode or control via outdoor_temperature_timeout"),
1615
+ e
1616
+ .enum("temperature_display_mode", ea.ALL, ["celsius", "fahrenheit"])
1617
+ .withDescription("The temperature format displayed on the thermostat screen"),
1618
+ e.enum("time_format", ea.ALL, ["24h", "12h"]).withDescription("The time format featured on the thermostat display"),
1619
+ e.enum("backlight_auto_dim", ea.ALL, ["on_demand", "sensing"]).withDescription("Control backlight dimming behavior"),
1620
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock1"]).withDescription("Enables or disables the device’s buttons"),
1621
+ ],
1622
+ configure: async (device, coordinatorEndpoint) => {
1623
+ const endpoint = device.getEndpoint(1);
1624
+ const binds = ["genBasic", "genIdentify", "genGroups", "hvacThermostat", "hvacUserInterfaceCfg", "msTemperatureMeasurement"];
1625
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1626
+ await reporting.thermostatTemperature(endpoint);
1627
+ await reporting.thermostatOccupiedHeatingSetpoint(endpoint);
1628
+ await reporting.thermostatPIHeatingDemand(endpoint);
1629
+ },
1630
+ },
1631
+ {
1632
+ zigbeeModel: ["SW2500ZB"],
1633
+ model: "SW2500ZB",
1634
+ vendor: "Sinopé",
1635
+ description: "Zigbee smart light switch",
1636
+ // Some SW2500ZB firmware variants reject `seMetering` config/reporting and
1637
+ // also fail `instantaneousDemand` reads with UNSUPPORTED_ATTRIBUTE.
1638
+ // Keep metering support for delivered energy, but disable power handling.
1639
+ extend: [
1640
+ sinopeExtend.addManuSpecificSinopeCluster(),
1641
+ m.onOff(),
1642
+ m.electricityMeter({ cluster: "metering", configureReporting: false, power: false }),
1643
+ ],
1644
+ fromZigbee: [fzLocal.sinope],
1645
+ toZigbee: [
1646
+ tzLocal.timer_seconds,
1647
+ tzLocal.led_intensity_on,
1648
+ tzLocal.led_intensity_off,
1649
+ tzLocal.led_color_on,
1650
+ tzLocal.led_color_off,
1651
+ tzLocal.keypad_lockout,
1652
+ tzLocal.connected_load,
1653
+ ],
1654
+ exposes: [
1655
+ e.action(["up_single", "up_double", "up_hold", "down_single", "down_double", "down_hold"]),
1656
+ e
1657
+ .numeric("timer_seconds", ea.ALL)
1658
+ .withUnit("s")
1659
+ .withValueMin(0)
1660
+ .withValueMax(65535)
1661
+ .withPreset("Disabled", 0, "disabled")
1662
+ .withDescription("Automatically turn off load after x seconds"),
1663
+ e
1664
+ .numeric("led_intensity_on", ea.ALL)
1665
+ .withUnit("%")
1666
+ .withValueMin(0)
1667
+ .withValueMax(100)
1668
+ .withDescription("Control status LED intensity when load ON"),
1669
+ e
1670
+ .numeric("led_intensity_off", ea.ALL)
1671
+ .withUnit("%")
1672
+ .withValueMin(0)
1673
+ .withValueMax(100)
1674
+ .withDescription("Control status LED intensity when load OFF"),
1675
+ e
1676
+ .composite("led_color_on", "led_color_on", ea.SET)
1677
+ .withFeature(e.numeric("r", ea.SET))
1678
+ .withFeature(e.numeric("g", ea.SET))
1679
+ .withFeature(e.numeric("b", ea.SET))
1680
+ .withDescription("Control status LED color when load ON"),
1681
+ e
1682
+ .composite("led_color_off", "led_color_off", ea.SET)
1683
+ .withFeature(e.numeric("r", ea.SET))
1684
+ .withFeature(e.numeric("g", ea.SET))
1685
+ .withFeature(e.numeric("b", ea.SET))
1686
+ .withDescription("Control status LED color when load OFF"),
1687
+ e.enum("keypad_lockout", ea.ALL, ["unlock", "lock"]).withDescription("Enables or disables the device’s buttons"),
1688
+ e.numeric("connected_load", ea.ALL).withUnit("W").withValueMin(0).withValueMax(1800).withDescription("Load connected in watt"),
1689
+ ],
1690
+ configure: async (device, coordinatorEndpoint) => {
1691
+ const endpoint = device.getEndpoint(1);
1692
+ const binds = ["manuSpecificSinope"];
1693
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1694
+ const payload = [
1695
+ {
1696
+ attribute: "actionReport",
1697
+ minimumReportInterval: 0,
1698
+ maximumReportInterval: 0,
1699
+ reportableChange: 0,
1700
+ },
1701
+ ];
1702
+ await endpoint.configureReporting("manuSpecificSinope", payload);
1703
+ },
1704
+ },
1705
+ {
1706
+ zigbeeModel: ["DM2500ZB"],
1707
+ model: "DM2500ZB",
1708
+ vendor: "Sinopé",
1709
+ description: "Zigbee smart dimmer",
1710
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.light({ configureReporting: true })],
1711
+ fromZigbee: [fzLocal.sinope],
1712
+ toZigbee: [
1713
+ tzLocal.timer_seconds,
1714
+ tzLocal.led_intensity_on,
1715
+ tzLocal.led_intensity_off,
1716
+ tzLocal.minimum_brightness,
1717
+ tzLocal.led_color_on,
1718
+ tzLocal.led_color_off,
1719
+ ],
1720
+ exposes: [
1721
+ e
1722
+ .numeric("timer_seconds", ea.ALL)
1723
+ .withUnit("s")
1724
+ .withValueMin(0)
1725
+ .withValueMax(65535)
1726
+ .withPreset("Disabled", 0, "disabled")
1727
+ .withDescription("Automatically turn off load after x seconds"),
1728
+ e
1729
+ .numeric("led_intensity_on", ea.ALL)
1730
+ .withUnit("%")
1731
+ .withValueMin(0)
1732
+ .withValueMax(100)
1733
+ .withDescription("Control status LED intensity when load ON"),
1734
+ e
1735
+ .numeric("led_intensity_off", ea.ALL)
1736
+ .withUnit("%")
1737
+ .withValueMin(0)
1738
+ .withValueMax(100)
1739
+ .withDescription("Control status LED when load OFF"),
1740
+ e.numeric("minimum_brightness", ea.ALL).withValueMin(0).withValueMax(3000).withDescription("Control minimum dimmer brightness"),
1741
+ e
1742
+ .composite("led_color_on", "led_color_on", ea.SET)
1743
+ .withFeature(e.numeric("r", ea.SET))
1744
+ .withFeature(e.numeric("g", ea.SET))
1745
+ .withFeature(e.numeric("b", ea.SET))
1746
+ .withDescription("Control status LED color when load ON"),
1747
+ e
1748
+ .composite("led_color_off", "led_color_off", ea.SET)
1749
+ .withFeature(e.numeric("r", ea.SET))
1750
+ .withFeature(e.numeric("g", ea.SET))
1751
+ .withFeature(e.numeric("b", ea.SET))
1752
+ .withDescription("Control status LED color when load OFF"),
1753
+ ],
1754
+ },
1755
+ {
1756
+ zigbeeModel: ["DM2550ZB"],
1757
+ model: "DM2550ZB",
1758
+ vendor: "Sinopé",
1759
+ description: "Zigbee Adaptive phase smart dimmer",
1760
+ extend: [
1761
+ sinopeExtend.addManuSpecificSinopeCluster(),
1762
+ m.light({ configureReporting: true }),
1763
+ m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } }),
1764
+ ],
1765
+ fromZigbee: [fzLocal.sinope],
1766
+ toZigbee: [
1767
+ tzLocal.timer_seconds,
1768
+ tzLocal.led_intensity_on,
1769
+ tzLocal.led_intensity_off,
1770
+ tzLocal.minimum_brightness,
1771
+ tzLocal.led_color_on,
1772
+ tzLocal.led_color_off,
1773
+ ],
1774
+ exposes: [
1775
+ e
1776
+ .numeric("timer_seconds", ea.ALL)
1777
+ .withUnit("s")
1778
+ .withValueMin(0)
1779
+ .withValueMax(65535)
1780
+ .withPreset("Disabled", 0, "disabled")
1781
+ .withDescription("Automatically turn off load after x seconds"),
1782
+ e
1783
+ .numeric("led_intensity_on", ea.ALL)
1784
+ .withUnit("%")
1785
+ .withValueMin(0)
1786
+ .withValueMax(100)
1787
+ .withDescription("Control status LED intensity when load ON"),
1788
+ e
1789
+ .numeric("led_intensity_off", ea.ALL)
1790
+ .withUnit("%")
1791
+ .withValueMin(0)
1792
+ .withValueMax(100)
1793
+ .withDescription("Control status LED when load OFF"),
1794
+ e.numeric("minimum_brightness", ea.ALL).withValueMin(0).withValueMax(3000).withDescription("Control minimum dimmer brightness"),
1795
+ e
1796
+ .composite("led_color_on", "led_color_on", ea.SET)
1797
+ .withFeature(e.numeric("r", ea.SET))
1798
+ .withFeature(e.numeric("g", ea.SET))
1799
+ .withFeature(e.numeric("b", ea.SET))
1800
+ .withDescription("Control status LED color when load ON"),
1801
+ e
1802
+ .composite("led_color_off", "led_color_off", ea.SET)
1803
+ .withFeature(e.numeric("r", ea.SET))
1804
+ .withFeature(e.numeric("g", ea.SET))
1805
+ .withFeature(e.numeric("b", ea.SET))
1806
+ .withDescription("Control status LED color when load OFF"),
1807
+ ],
1808
+ configure: async (device, coordinatorEndpoint) => {
1809
+ const endpoint = device.getEndpoint(1);
1810
+ const binds = ["manuSpecificSinope"];
1811
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1812
+ },
1813
+ },
1814
+ {
1815
+ zigbeeModel: ["SP2600ZB"],
1816
+ model: "SP2600ZB",
1817
+ vendor: "Sinopé",
1818
+ description: "Zigbee smart plug",
1819
+ extend: [sinopeExtend.addManuSpecificSinopeCluster(), m.onOff(), m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } })],
1820
+ configure: async (device, coordinatorEndpoint) => {
1821
+ const endpoint = device.getEndpoint(1);
1822
+ const binds = ["manuSpecificSinope"];
1823
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1824
+ },
1825
+ },
1826
+ {
1827
+ zigbeeModel: ["SP2610ZB"],
1828
+ model: "SP2610ZB",
1829
+ vendor: "Sinopé",
1830
+ description: "Zigbee smart plug",
1831
+ extend: [m.onOff(), m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } })],
1832
+ },
1833
+ {
1834
+ zigbeeModel: ["RM3250ZB"],
1835
+ model: "RM3250ZB",
1836
+ vendor: "Sinopé",
1837
+ description: "50A Smart electrical load controller",
1838
+ extend: [m.onOff(), m.electricityMeter()],
1839
+ },
1840
+ {
1841
+ zigbeeModel: ["WL4200"],
1842
+ model: "WL4200",
1843
+ vendor: "Sinopé",
1844
+ description: "Zigbee smart water leak detector",
1845
+ fromZigbee: [fz.ias_water_leak_alarm_1, fz.temperature, fz.battery],
1846
+ exposes: [e.water_leak(), e.battery_low(), e.temperature(), e.battery()],
1847
+ toZigbee: [],
1848
+ configure: async (device, coordinatorEndpoint) => {
1849
+ const endpoint = device.getEndpoint(1);
1850
+ const binds = ["genPowerCfg", "msTemperatureMeasurement"];
1851
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1852
+ await reporting.temperature(endpoint, { min: 600, max: constants.repInterval.MAX, change: 100 });
1853
+ await reporting.batteryPercentageRemaining(endpoint);
1854
+ await reporting.batteryAlarmState(endpoint);
1855
+ },
1856
+ },
1857
+ {
1858
+ zigbeeModel: ["WL4200S"],
1859
+ model: "WL4200S",
1860
+ vendor: "Sinopé",
1861
+ description: "Zigbee smart water leak detector with external sensor",
1862
+ fromZigbee: [fz.ias_water_leak_alarm_1, fz.temperature, fz.battery],
1863
+ toZigbee: [],
1864
+ exposes: [e.water_leak(), e.battery_low(), e.temperature(), e.battery()],
1865
+ configure: async (device, coordinatorEndpoint) => {
1866
+ const endpoint = device.getEndpoint(1);
1867
+ const binds = ["genPowerCfg", "msTemperatureMeasurement"];
1868
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1869
+ await reporting.temperature(endpoint, { min: 600, max: constants.repInterval.MAX, change: 100 });
1870
+ await reporting.batteryPercentageRemaining(endpoint);
1871
+ await reporting.batteryAlarmState(endpoint);
1872
+ },
1873
+ },
1874
+ {
1875
+ zigbeeModel: ["WL4210"],
1876
+ model: "WL4210",
1877
+ vendor: "Sinopé",
1878
+ description: "Zigbee smart water leak detector with external sensor",
1879
+ fromZigbee: [fz.ias_water_leak_alarm_1, fz.temperature, fz.battery],
1880
+ toZigbee: [],
1881
+ exposes: [e.water_leak(), e.battery_low(), e.temperature(), e.battery()],
1882
+ configure: async (device, coordinatorEndpoint) => {
1883
+ const endpoint = device.getEndpoint(1);
1884
+ const binds = ["genPowerCfg", "msTemperatureMeasurement"];
1885
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1886
+ await reporting.temperature(endpoint, { min: 600, max: constants.repInterval.MAX, change: 100 });
1887
+ await reporting.batteryPercentageRemaining(endpoint);
1888
+ await reporting.batteryAlarmState(endpoint);
1889
+ },
1890
+ },
1891
+ {
1892
+ zigbeeModel: ["VA4200WZ"],
1893
+ model: "VA4200WZ",
1894
+ vendor: "Sinopé",
1895
+ description: 'Zigbee smart water valve (3/4")',
1896
+ fromZigbee: [fz.cover_position_via_brightness, fz.cover_state_via_onoff, fz.battery],
1897
+ toZigbee: [tz.cover_via_brightness],
1898
+ exposes: [e.valve_switch(), e.valve_position(), e.battery_low(), e.battery()],
1899
+ configure: async (device, coordinatorEndpoint) => {
1900
+ const endpoint = device.getEndpoint(1);
1901
+ const binds = ["genOnOff", "genLevelCtrl", "genPowerCfg"];
1902
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1903
+ await reporting.batteryPercentageRemaining(endpoint);
1904
+ await reporting.onOff(endpoint);
1905
+ await reporting.brightness(endpoint); // valve position
1906
+ },
1907
+ },
1908
+ {
1909
+ zigbeeModel: ["VA4201WZ"],
1910
+ model: "VA4201WZ",
1911
+ vendor: "Sinopé",
1912
+ description: 'Zigbee smart water valve (1")',
1913
+ fromZigbee: [fz.cover_position_via_brightness, fz.cover_state_via_onoff, fz.battery],
1914
+ toZigbee: [tz.cover_via_brightness],
1915
+ exposes: [e.valve_switch(), e.valve_position(), e.battery_low(), e.battery()],
1916
+ configure: async (device, coordinatorEndpoint) => {
1917
+ const endpoint = device.getEndpoint(1);
1918
+ const binds = ["genOnOff", "genLevelCtrl", "genPowerCfg"];
1919
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1920
+ await reporting.batteryPercentageRemaining(endpoint);
1921
+ await reporting.onOff(endpoint);
1922
+ await reporting.brightness(endpoint); // valve position
1923
+ },
1924
+ },
1925
+ {
1926
+ zigbeeModel: ["VA4220ZB"],
1927
+ model: "VA4220ZB",
1928
+ vendor: "Sinopé",
1929
+ description: "Sedna smart water valve",
1930
+ extend: [sinopeExtend.addManuSpecificSinopeCluster()],
1931
+ fromZigbee: [fz.ignore_iaszone_statuschange, fz.cover_position_via_brightness, fz.cover_state_via_onoff, fz.battery, fz.metering],
1932
+ toZigbee: [tz.cover_via_brightness],
1933
+ meta: { battery: { voltageToPercentage: { min: 5400, max: 6800 } } },
1934
+ exposes: [e.valve_switch(), e.valve_position(), e.battery_low(), e.battery(), e.battery_voltage()],
1935
+ configure: async (device, coordinatorEndpoint) => {
1936
+ const endpoint = device.getEndpoint(1);
1937
+ const binds = ["genBasic", "genGroups", "genOnOff", "ssIasZone", "genLevelCtrl", "genPowerCfg", "seMetering", "manuSpecificSinope"];
1938
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1939
+ await reporting.batteryPercentageRemaining(endpoint);
1940
+ await reporting.onOff(endpoint);
1941
+ await reporting.brightness(endpoint); // valve position
1942
+ try {
1943
+ await reporting.batteryVoltage(endpoint);
1944
+ }
1945
+ catch {
1946
+ /* Do Nothing */
1947
+ }
1948
+ try {
1949
+ await reporting.batteryAlarmState(endpoint);
1950
+ }
1951
+ catch {
1952
+ /* Do Nothing */
1953
+ }
1954
+ },
1955
+ },
1956
+ {
1957
+ zigbeeModel: ["RM3500ZB"],
1958
+ model: "RM3500ZB",
1959
+ vendor: "Sinopé",
1960
+ description: "Calypso smart water heater controller",
1961
+ extend: [
1962
+ sinopeExtend.addManuSpecificSinopeCluster(),
1963
+ m.onOff({ powerOnBehavior: false }),
1964
+ m.electricityMeter({ energy: { divisor: 1000, multiplier: 1 } }),
1965
+ ],
1966
+ fromZigbee: [fzLocal.ias_water_leak_alarm, fzLocal.sinope, fz.temperature],
1967
+ toZigbee: [tzLocal.low_water_temp_protection],
1968
+ exposes: [
1969
+ e
1970
+ .numeric("low_water_temp_protection", ea.ALL)
1971
+ .withUnit("°C")
1972
+ .withValueMin(0)
1973
+ .withValueMax(65)
1974
+ .withValueStep(1)
1975
+ .withDescription("Temperature at which water heating will resume automatically (default: 45°C)"),
1976
+ e.water_leak(),
1977
+ e.temperature(),
1978
+ ],
1979
+ configure: async (device, coordinatorEndpoint) => {
1980
+ const endpoint = device.getEndpoint(1);
1981
+ const binds = ["msTemperatureMeasurement", "ssIasZone", "manuSpecificSinope"];
1982
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
1983
+ await reporting.temperature(endpoint, { min: 60, max: 60, change: 0 }); // divider 100: 0.1C
1984
+ await endpoint.configureReporting("ssIasZone", [
1985
+ { attribute: "zoneStatus", minimumReportInterval: 1, maximumReportInterval: constants.repInterval.HOUR, reportableChange: 1 },
1986
+ ]);
1987
+ },
1988
+ },
1989
+ {
1990
+ zigbeeModel: ["LM4110-ZB"],
1991
+ model: "LM4110ZB",
1992
+ vendor: "Sinopé",
1993
+ description: "Tank level monitor",
1994
+ fromZigbee: [fz.battery, fz.temperature, fzLocal.tank_level],
1995
+ toZigbee: [],
1996
+ exposes: [
1997
+ e.battery_low(),
1998
+ e.battery(),
1999
+ e.temperature(),
2000
+ e.numeric("tank_level", ea.STATE).withUnit("%").withValueMin(0).withValueMax(100).withDescription("Percent volume remaining in tank"),
2001
+ ],
2002
+ configure: async (device, coordinatorEndpoint) => {
2003
+ const endpoint = device.getEndpoint(1);
2004
+ const binds = ["genPowerCfg", "msTemperatureMeasurement", "genAnalogInput"];
2005
+ await reporting.bind(endpoint, coordinatorEndpoint, binds);
2006
+ await reporting.batteryPercentageRemaining(endpoint);
2007
+ await reporting.batteryAlarmState(endpoint);
2008
+ await reporting.temperature(endpoint);
2009
+ const payload = reporting.payload("presentValue", 10, constants.repInterval.HOUR, 1);
2010
+ await endpoint.configureReporting("genAnalogInput", payload);
2011
+ await endpoint.read("genAnalogInput", ["presentValue"]);
2012
+ },
2013
+ },
2014
+ ];
2015
+ //# sourceMappingURL=sinope.js.map