zigbee-herdsman-converters 20.13.0 → 20.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +345 -334
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/converters/toZigbee.d.ts +1 -1
  6. package/converters/toZigbee.d.ts.map +1 -1
  7. package/converters/toZigbee.js +80 -82
  8. package/converters/toZigbee.js.map +1 -1
  9. package/devices/ITCommander.d.ts.map +1 -1
  10. package/devices/ITCommander.js +1 -1
  11. package/devices/ITCommander.js.map +1 -1
  12. package/devices/acova.d.ts.map +1 -1
  13. package/devices/acova.js.map +1 -1
  14. package/devices/akuvox.d.ts.map +1 -1
  15. package/devices/akuvox.js.map +1 -1
  16. package/devices/aldi.d.ts.map +1 -1
  17. package/devices/aldi.js.map +1 -1
  18. package/devices/alecto.d.ts.map +1 -1
  19. package/devices/alecto.js.map +1 -1
  20. package/devices/atlantic.d.ts.map +1 -1
  21. package/devices/atlantic.js.map +1 -1
  22. package/devices/aubess.d.ts.map +1 -1
  23. package/devices/aubess.js.map +1 -1
  24. package/devices/aurora_lighting.d.ts.map +1 -1
  25. package/devices/aurora_lighting.js +2 -2
  26. package/devices/aurora_lighting.js.map +1 -1
  27. package/devices/avatto.js +0 -1
  28. package/devices/avatto.js.map +1 -1
  29. package/devices/axis.d.ts.map +1 -1
  30. package/devices/axis.js.map +1 -1
  31. package/devices/bitron.d.ts.map +1 -1
  32. package/devices/bitron.js +9 -9
  33. package/devices/bitron.js.map +1 -1
  34. package/devices/bituo_technik.d.ts.map +1 -1
  35. package/devices/bituo_technik.js +2 -2
  36. package/devices/bituo_technik.js.map +1 -1
  37. package/devices/blaupunkt.d.ts.map +1 -1
  38. package/devices/blaupunkt.js +1 -1
  39. package/devices/blaupunkt.js.map +1 -1
  40. package/devices/blitzwolf.d.ts.map +1 -1
  41. package/devices/blitzwolf.js.map +1 -1
  42. package/devices/bosch.d.ts.map +1 -1
  43. package/devices/bosch.js +25 -25
  44. package/devices/bosch.js.map +1 -1
  45. package/devices/brimate.d.ts.map +1 -1
  46. package/devices/brimate.js.map +1 -1
  47. package/devices/bseed.d.ts.map +1 -1
  48. package/devices/bseed.js.map +1 -1
  49. package/devices/bticino.d.ts.map +1 -1
  50. package/devices/bticino.js.map +1 -1
  51. package/devices/busch_jaeger.d.ts.map +1 -1
  52. package/devices/busch_jaeger.js.map +1 -1
  53. package/devices/byun.d.ts.map +1 -1
  54. package/devices/byun.js.map +1 -1
  55. package/devices/casaia.d.ts.map +1 -1
  56. package/devices/casaia.js +2 -2
  57. package/devices/casaia.js.map +1 -1
  58. package/devices/centralite.d.ts.map +1 -1
  59. package/devices/centralite.js +5 -5
  60. package/devices/centralite.js.map +1 -1
  61. package/devices/cleverio.d.ts.map +1 -1
  62. package/devices/cleverio.js.map +1 -1
  63. package/devices/ctm.d.ts.map +1 -1
  64. package/devices/ctm.js +62 -62
  65. package/devices/ctm.js.map +1 -1
  66. package/devices/current_products_corp.d.ts.map +1 -1
  67. package/devices/current_products_corp.js.map +1 -1
  68. package/devices/custom_devices_diy.d.ts.map +1 -1
  69. package/devices/custom_devices_diy.js +12 -12
  70. package/devices/custom_devices_diy.js.map +1 -1
  71. package/devices/danalock.d.ts.map +1 -1
  72. package/devices/danalock.js.map +1 -1
  73. package/devices/danfoss.d.ts.map +1 -1
  74. package/devices/danfoss.js +2 -2
  75. package/devices/danfoss.js.map +1 -1
  76. package/devices/datek.d.ts.map +1 -1
  77. package/devices/datek.js +1 -1
  78. package/devices/datek.js.map +1 -1
  79. package/devices/dawon_dns.d.ts.map +1 -1
  80. package/devices/dawon_dns.js.map +1 -1
  81. package/devices/develco.d.ts.map +1 -1
  82. package/devices/develco.js +15 -14
  83. package/devices/develco.js.map +1 -1
  84. package/devices/digi.d.ts.map +1 -1
  85. package/devices/digi.js.map +1 -1
  86. package/devices/dlink.d.ts.map +1 -1
  87. package/devices/dlink.js.map +1 -1
  88. package/devices/easyaccess.d.ts.map +1 -1
  89. package/devices/easyaccess.js.map +1 -1
  90. package/devices/easyiot.d.ts.map +1 -1
  91. package/devices/easyiot.js.map +1 -1
  92. package/devices/echostar.d.ts.map +1 -1
  93. package/devices/echostar.js.map +1 -1
  94. package/devices/ecodim.d.ts.map +1 -1
  95. package/devices/ecodim.js +1 -1
  96. package/devices/ecodim.js.map +1 -1
  97. package/devices/ecolink.d.ts.map +1 -1
  98. package/devices/ecolink.js.map +1 -1
  99. package/devices/ecozy.d.ts.map +1 -1
  100. package/devices/ecozy.js.map +1 -1
  101. package/devices/enocean.d.ts.map +1 -1
  102. package/devices/enocean.js.map +1 -1
  103. package/devices/envilar.d.ts.map +1 -1
  104. package/devices/envilar.js +2 -2
  105. package/devices/envilar.js.map +1 -1
  106. package/devices/eurotronic.d.ts.map +1 -1
  107. package/devices/eurotronic.js.map +1 -1
  108. package/devices/evanell.d.ts.map +1 -1
  109. package/devices/evanell.js.map +1 -1
  110. package/devices/evology.d.ts.map +1 -1
  111. package/devices/evology.js.map +1 -1
  112. package/devices/ewelink.d.ts.map +1 -1
  113. package/devices/ewelink.js +1 -1
  114. package/devices/ewelink.js.map +1 -1
  115. package/devices/fantem.d.ts.map +1 -1
  116. package/devices/fantem.js +2 -2
  117. package/devices/fantem.js.map +1 -1
  118. package/devices/fireangel.d.ts.map +1 -1
  119. package/devices/fireangel.js.map +1 -1
  120. package/devices/frankever.d.ts.map +1 -1
  121. package/devices/frankever.js.map +1 -1
  122. package/devices/frient.d.ts.map +1 -1
  123. package/devices/frient.js.map +1 -1
  124. package/devices/gewiss.d.ts.map +1 -1
  125. package/devices/gewiss.js.map +1 -1
  126. package/devices/giex.d.ts.map +1 -1
  127. package/devices/giex.js.map +1 -1
  128. package/devices/gledopto.js +2 -2
  129. package/devices/gledopto.js.map +1 -1
  130. package/devices/gmmts.d.ts.map +1 -1
  131. package/devices/gmmts.js +23 -23
  132. package/devices/gmmts.js.map +1 -1
  133. package/devices/gumax.d.ts +4 -0
  134. package/devices/gumax.d.ts.map +1 -0
  135. package/devices/gumax.js +15 -0
  136. package/devices/gumax.js.map +1 -0
  137. package/devices/heiman.d.ts.map +1 -1
  138. package/devices/heiman.js +2 -2
  139. package/devices/heiman.js.map +1 -1
  140. package/devices/heimgard_technologies.d.ts.map +1 -1
  141. package/devices/heimgard_technologies.js +2 -2
  142. package/devices/heimgard_technologies.js.map +1 -1
  143. package/devices/hive.js +1 -1
  144. package/devices/hive.js.map +1 -1
  145. package/devices/hommyn.d.ts.map +1 -1
  146. package/devices/hommyn.js.map +1 -1
  147. package/devices/hzc.d.ts.map +1 -1
  148. package/devices/hzc.js.map +1 -1
  149. package/devices/hzc_electric.d.ts.map +1 -1
  150. package/devices/hzc_electric.js.map +1 -1
  151. package/devices/ihorn.d.ts.map +1 -1
  152. package/devices/ihorn.js.map +1 -1
  153. package/devices/imhotepcreation.d.ts.map +1 -1
  154. package/devices/index.d.ts.map +1 -1
  155. package/devices/index.js +4 -2
  156. package/devices/index.js.map +1 -1
  157. package/devices/innr.d.ts.map +1 -1
  158. package/devices/innr.js +2 -2
  159. package/devices/innr.js.map +1 -1
  160. package/devices/inovelli.d.ts.map +1 -1
  161. package/devices/inovelli.js +38 -38
  162. package/devices/inovelli.js.map +1 -1
  163. package/devices/insta.d.ts.map +1 -1
  164. package/devices/insta.js.map +1 -1
  165. package/devices/iotperfect.d.ts.map +1 -1
  166. package/devices/iotperfect.js.map +1 -1
  167. package/devices/iris.d.ts.map +1 -1
  168. package/devices/iris.js +1 -1
  169. package/devices/iris.js.map +1 -1
  170. package/devices/javis.d.ts.map +1 -1
  171. package/devices/javis.js.map +1 -1
  172. package/devices/jxuan.d.ts.map +1 -1
  173. package/devices/jxuan.js +2 -2
  174. package/devices/jxuan.js.map +1 -1
  175. package/devices/kami.d.ts.map +1 -1
  176. package/devices/kami.js.map +1 -1
  177. package/devices/keen_home.d.ts.map +1 -1
  178. package/devices/keen_home.js.map +1 -1
  179. package/devices/kmpcil.d.ts.map +1 -1
  180. package/devices/kmpcil.js +5 -5
  181. package/devices/kmpcil.js.map +1 -1
  182. package/devices/kwikset.d.ts.map +1 -1
  183. package/devices/kwikset.js.map +1 -1
  184. package/devices/led_trading.d.ts.map +1 -1
  185. package/devices/led_trading.js +1 -8
  186. package/devices/led_trading.js.map +1 -1
  187. package/devices/legrand.d.ts.map +1 -1
  188. package/devices/legrand.js +2 -2
  189. package/devices/legrand.js.map +1 -1
  190. package/devices/lellki.d.ts.map +1 -1
  191. package/devices/lellki.js +2 -2
  192. package/devices/lellki.js.map +1 -1
  193. package/devices/letv.d.ts.map +1 -1
  194. package/devices/letv.js.map +1 -1
  195. package/devices/leviton.d.ts.map +1 -1
  196. package/devices/leviton.js +1 -1
  197. package/devices/leviton.js.map +1 -1
  198. package/devices/lidl.d.ts.map +1 -1
  199. package/devices/lidl.js +15 -15
  200. package/devices/lidl.js.map +1 -1
  201. package/devices/lifecontrol.d.ts.map +1 -1
  202. package/devices/lifecontrol.js +1 -1
  203. package/devices/lifecontrol.js.map +1 -1
  204. package/devices/linkind.d.ts.map +1 -1
  205. package/devices/linkind.js +2 -2
  206. package/devices/linkind.js.map +1 -1
  207. package/devices/linptech.d.ts.map +1 -1
  208. package/devices/linptech.js +5 -5
  209. package/devices/linptech.js.map +1 -1
  210. package/devices/livolo.d.ts.map +1 -1
  211. package/devices/livolo.js +1 -1
  212. package/devices/livolo.js.map +1 -1
  213. package/devices/lixee.d.ts.map +1 -1
  214. package/devices/lixee.js +29 -28
  215. package/devices/lixee.js.map +1 -1
  216. package/devices/ls.d.ts.map +1 -1
  217. package/devices/ls.js.map +1 -1
  218. package/devices/lumi.d.ts.map +1 -1
  219. package/devices/lumi.js +7 -7
  220. package/devices/lumi.js.map +1 -1
  221. package/devices/lupus.d.ts.map +1 -1
  222. package/devices/lupus.js +2 -2
  223. package/devices/lupus.js.map +1 -1
  224. package/devices/lutron.d.ts.map +1 -1
  225. package/devices/lutron.js.map +1 -1
  226. package/devices/lux.d.ts.map +1 -1
  227. package/devices/lux.js.map +1 -1
  228. package/devices/lytko.js +6 -6
  229. package/devices/lytko.js.map +1 -1
  230. package/devices/meazon.d.ts.map +1 -1
  231. package/devices/meazon.js.map +1 -1
  232. package/devices/mercator.d.ts.map +1 -1
  233. package/devices/mercator.js +2 -2
  234. package/devices/mercator.js.map +1 -1
  235. package/devices/miboxer.d.ts.map +1 -1
  236. package/devices/miboxer.js +1 -1
  237. package/devices/miboxer.js.map +1 -1
  238. package/devices/moes.d.ts.map +1 -1
  239. package/devices/moes.js +3 -3
  240. package/devices/moes.js.map +1 -1
  241. package/devices/multiterm.js +1 -1
  242. package/devices/multiterm.js.map +1 -1
  243. package/devices/namron.js +6 -6
  244. package/devices/namron.js.map +1 -1
  245. package/devices/neo.d.ts.map +1 -1
  246. package/devices/neo.js +1 -1
  247. package/devices/neo.js.map +1 -1
  248. package/devices/net2grid.d.ts.map +1 -1
  249. package/devices/net2grid.js.map +1 -1
  250. package/devices/netvox.d.ts.map +1 -1
  251. package/devices/netvox.js.map +1 -1
  252. package/devices/niko.d.ts.map +1 -1
  253. package/devices/niko.js +10 -10
  254. package/devices/niko.js.map +1 -1
  255. package/devices/ninja_blocks.d.ts.map +1 -1
  256. package/devices/ninja_blocks.js.map +1 -1
  257. package/devices/nodon.d.ts.map +1 -1
  258. package/devices/nodon.js +2 -2
  259. package/devices/nodon.js.map +1 -1
  260. package/devices/nous.d.ts.map +1 -1
  261. package/devices/nous.js.map +1 -1
  262. package/devices/novo.d.ts.map +1 -1
  263. package/devices/novo.js.map +1 -1
  264. package/devices/nue_3a.js +2 -2
  265. package/devices/nue_3a.js.map +1 -1
  266. package/devices/nyce.d.ts.map +1 -1
  267. package/devices/nyce.js.map +1 -1
  268. package/devices/onesti.d.ts.map +1 -1
  269. package/devices/onesti.js.map +1 -1
  270. package/devices/openlumi.d.ts.map +1 -1
  271. package/devices/openlumi.js.map +1 -1
  272. package/devices/oujiabao.d.ts.map +1 -1
  273. package/devices/oujiabao.js.map +1 -1
  274. package/devices/owon.d.ts.map +1 -1
  275. package/devices/owon.js +35 -26
  276. package/devices/owon.js.map +1 -1
  277. package/devices/peq.d.ts.map +1 -1
  278. package/devices/peq.js.map +1 -1
  279. package/devices/perenio.d.ts.map +1 -1
  280. package/devices/perenio.js +21 -21
  281. package/devices/perenio.js.map +1 -1
  282. package/devices/philips.d.ts.map +1 -1
  283. package/devices/philips.js +28 -0
  284. package/devices/philips.js.map +1 -1
  285. package/devices/plaid.d.ts.map +1 -1
  286. package/devices/plaid.js.map +1 -1
  287. package/devices/plugwise.d.ts.map +1 -1
  288. package/devices/plugwise.js +1 -1
  289. package/devices/plugwise.js.map +1 -1
  290. package/devices/qa.d.ts.map +1 -1
  291. package/devices/qa.js.map +1 -1
  292. package/devices/qmotion.d.ts.map +1 -1
  293. package/devices/qmotion.js +1 -1
  294. package/devices/qmotion.js.map +1 -1
  295. package/devices/qoto.d.ts.map +1 -1
  296. package/devices/qoto.js.map +1 -1
  297. package/devices/rgb_genie.d.ts.map +1 -1
  298. package/devices/rgb_genie.js +2 -2
  299. package/devices/rgb_genie.js.map +1 -1
  300. package/devices/roome.d.ts.map +1 -1
  301. package/devices/roome.js.map +1 -1
  302. package/devices/rtx.d.ts.map +1 -1
  303. package/devices/rtx.js.map +1 -1
  304. package/devices/salus_controls.d.ts.map +1 -1
  305. package/devices/salus_controls.js.map +1 -1
  306. package/devices/saswell.d.ts.map +1 -1
  307. package/devices/saswell.js +1 -1
  308. package/devices/saswell.js.map +1 -1
  309. package/devices/sber.d.ts.map +1 -1
  310. package/devices/sber.js.map +1 -1
  311. package/devices/schlage.d.ts.map +1 -1
  312. package/devices/schlage.js.map +1 -1
  313. package/devices/schneider_electric.d.ts.map +1 -1
  314. package/devices/schneider_electric.js +22 -22
  315. package/devices/schneider_electric.js.map +1 -1
  316. package/devices/securifi.d.ts.map +1 -1
  317. package/devices/securifi.js.map +1 -1
  318. package/devices/sengled.d.ts.map +1 -1
  319. package/devices/sercomm.d.ts.map +1 -1
  320. package/devices/sercomm.js.map +1 -1
  321. package/devices/shade_control.d.ts.map +1 -1
  322. package/devices/shade_control.js.map +1 -1
  323. package/devices/shinasystem.js +1 -1
  324. package/devices/shinasystem.js.map +1 -1
  325. package/devices/siglis.d.ts.map +1 -1
  326. package/devices/siglis.js +4 -5
  327. package/devices/siglis.js.map +1 -1
  328. package/devices/sinope.d.ts.map +1 -1
  329. package/devices/sinope.js +76 -84
  330. package/devices/sinope.js.map +1 -1
  331. package/devices/siterwell.d.ts.map +1 -1
  332. package/devices/siterwell.js.map +1 -1
  333. package/devices/skydance.d.ts.map +1 -1
  334. package/devices/skydance.js.map +1 -1
  335. package/devices/smart9.d.ts.map +1 -1
  336. package/devices/smart9.js.map +1 -1
  337. package/devices/smartenit.d.ts.map +1 -1
  338. package/devices/smartenit.js.map +1 -1
  339. package/devices/smartthings.js +1 -1
  340. package/devices/smartthings.js.map +1 -1
  341. package/devices/smartwings.d.ts.map +1 -1
  342. package/devices/smartwings.js.map +1 -1
  343. package/devices/somgoms.d.ts.map +1 -1
  344. package/devices/somgoms.js.map +1 -1
  345. package/devices/sonoff.d.ts.map +1 -1
  346. package/devices/sonoff.js +2 -2
  347. package/devices/sonoff.js.map +1 -1
  348. package/devices/stelpro.d.ts.map +1 -1
  349. package/devices/stelpro.js +3 -3
  350. package/devices/stelpro.js.map +1 -1
  351. package/devices/sunricher.d.ts.map +1 -1
  352. package/devices/sunricher.js +3 -8
  353. package/devices/sunricher.js.map +1 -1
  354. package/devices/swann.d.ts.map +1 -1
  355. package/devices/swann.js.map +1 -1
  356. package/devices/tapestry.d.ts.map +1 -1
  357. package/devices/tapestry.js.map +1 -1
  358. package/devices/technicolor.d.ts.map +1 -1
  359. package/devices/technicolor.js.map +1 -1
  360. package/devices/third_reality.d.ts.map +1 -1
  361. package/devices/third_reality.js +166 -15
  362. package/devices/third_reality.js.map +1 -1
  363. package/devices/titan_products.d.ts.map +1 -1
  364. package/devices/titan_products.js.map +1 -1
  365. package/devices/tplink.d.ts.map +1 -1
  366. package/devices/tplink.js.map +1 -1
  367. package/devices/tuya.d.ts.map +1 -1
  368. package/devices/tuya.js +20 -20
  369. package/devices/tuya.js.map +1 -1
  370. package/devices/ubisys.d.ts.map +1 -1
  371. package/devices/ubisys.js +30 -27
  372. package/devices/ubisys.js.map +1 -1
  373. package/devices/uhome.d.ts.map +1 -1
  374. package/devices/uhome.js.map +1 -1
  375. package/devices/universal_electronics_inc.d.ts.map +1 -1
  376. package/devices/universal_electronics_inc.js +1 -1
  377. package/devices/universal_electronics_inc.js.map +1 -1
  378. package/devices/vesternet.d.ts.map +1 -1
  379. package/devices/vesternet.js.map +1 -1
  380. package/devices/viessmann.d.ts.map +1 -1
  381. package/devices/viessmann.js.map +1 -1
  382. package/devices/vimar.d.ts.map +1 -1
  383. package/devices/vimar.js.map +1 -1
  384. package/devices/visonic.d.ts.map +1 -1
  385. package/devices/visonic.js.map +1 -1
  386. package/devices/wally.d.ts.map +1 -1
  387. package/devices/wally.js.map +1 -1
  388. package/devices/waxman.d.ts.map +1 -1
  389. package/devices/waxman.js.map +1 -1
  390. package/devices/weiser.d.ts.map +1 -1
  391. package/devices/weiser.js.map +1 -1
  392. package/devices/wirenboard.d.ts.map +1 -1
  393. package/devices/wirenboard.js +11 -11
  394. package/devices/wirenboard.js.map +1 -1
  395. package/devices/woolley.d.ts.map +1 -1
  396. package/devices/woolley.js +1 -1
  397. package/devices/woolley.js.map +1 -1
  398. package/devices/woox.d.ts.map +1 -1
  399. package/devices/woox.js.map +1 -1
  400. package/devices/wyze.d.ts.map +1 -1
  401. package/devices/wyze.js.map +1 -1
  402. package/devices/xyzroe.d.ts.map +1 -1
  403. package/devices/xyzroe.js +6 -6
  404. package/devices/xyzroe.js.map +1 -1
  405. package/devices/yale.d.ts.map +1 -1
  406. package/devices/yale.js +3 -3
  407. package/devices/yale.js.map +1 -1
  408. package/devices/yookee.d.ts.map +1 -1
  409. package/devices/yookee.js.map +1 -1
  410. package/devices/zemismart.d.ts.map +1 -1
  411. package/devices/zemismart.js +2 -2
  412. package/devices/zemismart.js.map +1 -1
  413. package/devices/zen.d.ts.map +1 -1
  414. package/devices/zen.js.map +1 -1
  415. package/index.d.ts +5 -5
  416. package/index.d.ts.map +1 -1
  417. package/index.js +31 -16
  418. package/index.js.map +1 -1
  419. package/lib/color.d.ts +1 -1
  420. package/lib/color.d.ts.map +1 -1
  421. package/lib/color.js +47 -50
  422. package/lib/color.js.map +1 -1
  423. package/lib/configureKey.js +2 -2
  424. package/lib/configureKey.js.map +1 -1
  425. package/lib/develco.d.ts.map +1 -1
  426. package/lib/develco.js +5 -6
  427. package/lib/develco.js.map +1 -1
  428. package/lib/ewelink.d.ts.map +1 -1
  429. package/lib/exposes.js +1 -1
  430. package/lib/exposes.js.map +1 -1
  431. package/lib/ikea.d.ts +1 -1
  432. package/lib/ikea.d.ts.map +1 -1
  433. package/lib/ikea.js +10 -10
  434. package/lib/ikea.js.map +1 -1
  435. package/lib/ledvance.d.ts +1 -1
  436. package/lib/ledvance.d.ts.map +1 -1
  437. package/lib/legacy.d.ts +3 -16
  438. package/lib/legacy.d.ts.map +1 -1
  439. package/lib/legacy.js +121 -131
  440. package/lib/legacy.js.map +1 -1
  441. package/lib/legrand.d.ts +1 -1
  442. package/lib/legrand.d.ts.map +1 -1
  443. package/lib/legrand.js +4 -4
  444. package/lib/legrand.js.map +1 -1
  445. package/lib/light.d.ts +1 -1
  446. package/lib/light.js +5 -5
  447. package/lib/light.js.map +1 -1
  448. package/lib/logger.d.ts.map +1 -1
  449. package/lib/logger.js +4 -4
  450. package/lib/logger.js.map +1 -1
  451. package/lib/lumi.d.ts +1 -1
  452. package/lib/lumi.d.ts.map +1 -1
  453. package/lib/lumi.js +90 -92
  454. package/lib/lumi.js.map +1 -1
  455. package/lib/modernExtend.d.ts +1 -1
  456. package/lib/modernExtend.d.ts.map +1 -1
  457. package/lib/modernExtend.js +15 -15
  458. package/lib/modernExtend.js.map +1 -1
  459. package/lib/ota/common.d.ts +1 -1
  460. package/lib/ota/common.d.ts.map +1 -1
  461. package/lib/ota/common.js +5 -5
  462. package/lib/ota/common.js.map +1 -1
  463. package/lib/ota/gmmts.d.ts +1 -1
  464. package/lib/ota/gmmts.d.ts.map +1 -1
  465. package/lib/ota/gmmts.js +2 -2
  466. package/lib/ota/gmmts.js.map +1 -1
  467. package/lib/ota/index.d.ts +5 -5
  468. package/lib/ota/index.d.ts.map +1 -1
  469. package/lib/ota/index.js +7 -7
  470. package/lib/ota/index.js.map +1 -1
  471. package/lib/ota/inovelli.d.ts +1 -6
  472. package/lib/ota/inovelli.d.ts.map +1 -1
  473. package/lib/ota/inovelli.js +11 -11
  474. package/lib/ota/inovelli.js.map +1 -1
  475. package/lib/ota/jethome.d.ts +1 -1
  476. package/lib/ota/jethome.d.ts.map +1 -1
  477. package/lib/ota/jethome.js +4 -4
  478. package/lib/ota/jethome.js.map +1 -1
  479. package/lib/ota/ledvance.d.ts +1 -1
  480. package/lib/ota/ledvance.d.ts.map +1 -1
  481. package/lib/ota/ledvance.js +4 -4
  482. package/lib/ota/ledvance.js.map +1 -1
  483. package/lib/ota/lixee.d.ts +1 -1
  484. package/lib/ota/lixee.d.ts.map +1 -1
  485. package/lib/ota/lixee.js +3 -3
  486. package/lib/ota/lixee.js.map +1 -1
  487. package/lib/ota/salus.d.ts +1 -1
  488. package/lib/ota/salus.d.ts.map +1 -1
  489. package/lib/ota/salus.js +5 -5
  490. package/lib/ota/salus.js.map +1 -1
  491. package/lib/ota/securifi.d.ts +1 -1
  492. package/lib/ota/securifi.d.ts.map +1 -1
  493. package/lib/ota/securifi.js +2 -2
  494. package/lib/ota/securifi.js.map +1 -1
  495. package/lib/ota/tradfri.d.ts.map +1 -1
  496. package/lib/ota/tradfri.js +4 -4
  497. package/lib/ota/tradfri.js.map +1 -1
  498. package/lib/ota/ubisys.d.ts.map +1 -1
  499. package/lib/ota/ubisys.js +4 -4
  500. package/lib/ota/ubisys.js.map +1 -1
  501. package/lib/ota/zigbeeOTA.d.ts +1 -1
  502. package/lib/ota/zigbeeOTA.d.ts.map +1 -1
  503. package/lib/ota/zigbeeOTA.js +9 -9
  504. package/lib/ota/zigbeeOTA.js.map +1 -1
  505. package/lib/philips.js +12 -12
  506. package/lib/philips.js.map +1 -1
  507. package/lib/reporting.d.ts +1 -1
  508. package/lib/reporting.d.ts.map +1 -1
  509. package/lib/reporting.js +7 -7
  510. package/lib/reporting.js.map +1 -1
  511. package/lib/store.d.ts +1 -1
  512. package/lib/store.d.ts.map +1 -1
  513. package/lib/store.js +2 -2
  514. package/lib/store.js.map +1 -1
  515. package/lib/tuya.d.ts +1 -1
  516. package/lib/tuya.d.ts.map +1 -1
  517. package/lib/tuya.js +24 -56
  518. package/lib/tuya.js.map +1 -1
  519. package/lib/types.d.ts +4 -4
  520. package/lib/types.d.ts.map +1 -1
  521. package/lib/types.js +1 -0
  522. package/lib/types.js.map +1 -1
  523. package/lib/ubisys.d.ts +1 -1
  524. package/lib/ubisys.d.ts.map +1 -1
  525. package/lib/ubisys.js +1 -1
  526. package/lib/ubisys.js.map +1 -1
  527. package/lib/utils.d.ts +1 -1
  528. package/lib/utils.d.ts.map +1 -1
  529. package/lib/utils.js +26 -26
  530. package/lib/utils.js.map +1 -1
  531. package/package.json +8 -9
package/devices/sinope.js CHANGED
@@ -32,12 +32,12 @@ const toZigbee_1 = __importDefault(require("../converters/toZigbee"));
32
32
  const constants = __importStar(require("../lib/constants"));
33
33
  const exposes = __importStar(require("../lib/exposes"));
34
34
  const legacy = __importStar(require("../lib/legacy"));
35
+ const modernExtend_1 = require("../lib/modernExtend");
35
36
  const reporting = __importStar(require("../lib/reporting"));
36
37
  const utils = __importStar(require("../lib/utils"));
38
+ const utils_1 = require("../lib/utils");
37
39
  const e = exposes.presets;
38
40
  const ea = exposes.access;
39
- const modernExtend_1 = require("../lib/modernExtend");
40
- const utils_1 = require("../lib/utils");
41
41
  const manuSinope = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SINOPE_TECHNOLOGIES };
42
42
  const fzLocal = {
43
43
  ias_water_leak_alarm: {
@@ -57,77 +57,77 @@ const fzLocal = {
57
57
  type: ['attributeReport', 'readResponse'],
58
58
  options: [exposes.options.legacy()],
59
59
  convert: (model, msg, publish, options, meta) => {
60
- // @ts-expect-error
60
+ // @ts-expect-error ignore
61
61
  delete msg['running_state'];
62
62
  const result = {};
63
63
  const occupancyLookup = { 0: 'unoccupied', 1: 'occupied' };
64
64
  const cycleOutputLookup = { 15: '15_sec', 300: '5_min', 600: '10_min', 900: '15_min', 1200: '20_min', 1800: '30_min', 65535: 'off' };
65
- if (msg.data.hasOwnProperty('1024')) {
65
+ if (msg.data['1024'] !== undefined) {
66
66
  result.thermostat_occupancy = utils.getFromLookup(msg.data['1024'], occupancyLookup);
67
67
  }
68
- if (msg.data.hasOwnProperty('SinopeOccupancy')) {
68
+ if (msg.data.SinopeOccupancy !== undefined) {
69
69
  result.thermostat_occupancy = utils.getFromLookup(msg.data['SinopeOccupancy'], occupancyLookup);
70
70
  }
71
- if (msg.data.hasOwnProperty('1025')) {
71
+ if (msg.data['1025'] !== undefined) {
72
72
  result.main_cycle_output = utils.getFromLookup(msg.data['1025'], cycleOutputLookup);
73
73
  }
74
- if (msg.data.hasOwnProperty('SinopeMainCycleOutput')) {
74
+ if (msg.data.SinopeMainCycleOutput !== undefined) {
75
75
  result.main_cycle_output = utils.getFromLookup(msg.data['SinopeMainCycleOutput'], cycleOutputLookup);
76
76
  }
77
- if (msg.data.hasOwnProperty('1026')) {
77
+ if (msg.data['1026'] !== undefined) {
78
78
  const lookup = { 0: 'on_demand', 1: 'sensing' };
79
79
  result.backlight_auto_dim = utils.getFromLookup(msg.data['1026'], lookup);
80
80
  }
81
- if (msg.data.hasOwnProperty('SinopeBacklight')) {
81
+ if (msg.data.SinopeBacklight !== undefined) {
82
82
  const lookup = { 0: 'on_demand', 1: 'sensing' };
83
83
  result.backlight_auto_dim = utils.getFromLookup(msg.data['SinopeBacklight'], lookup);
84
84
  }
85
- if (msg.data.hasOwnProperty('1028')) {
85
+ if (msg.data['1028'] !== undefined) {
86
86
  result.aux_cycle_output = utils.getFromLookup(msg.data['1028'], cycleOutputLookup);
87
87
  }
88
- if (msg.data.hasOwnProperty('localTemp')) {
88
+ if (msg.data.localTemp !== undefined) {
89
89
  result.local_temperature = (0, utils_1.precisionRound)(msg.data['localTemp'], 2) / 100;
90
90
  }
91
- if (msg.data.hasOwnProperty('localTemperatureCalibration')) {
91
+ if (msg.data.localTemperatureCalibration !== undefined) {
92
92
  result.local_temperature_calibration = (0, utils_1.precisionRound)(msg.data['localTemperatureCalibration'], 2) / 10;
93
93
  }
94
- if (msg.data.hasOwnProperty('outdoorTemp')) {
94
+ if (msg.data.outdoorTemp !== undefined) {
95
95
  result.outdoor_temperature = (0, utils_1.precisionRound)(msg.data['outdoorTemp'], 2) / 100;
96
96
  }
97
- if (msg.data.hasOwnProperty('occupiedHeatingSetpoint')) {
97
+ if (msg.data.occupiedHeatingSetpoint !== undefined) {
98
98
  result.occupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data['occupiedHeatingSetpoint'], 2) / 100;
99
99
  }
100
- if (msg.data.hasOwnProperty('unoccupiedHeatingSetpoint')) {
100
+ if (msg.data.unoccupiedHeatingSetpoint !== undefined) {
101
101
  result.unoccupied_heating_setpoint = (0, utils_1.precisionRound)(msg.data['unoccupiedHeatingSetpoint'], 2) / 100;
102
102
  }
103
- if (msg.data.hasOwnProperty('occupiedCoolingSetpoint')) {
103
+ if (msg.data.occupiedCoolingSetpoint !== undefined) {
104
104
  result.occupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data['occupiedCoolingSetpoint'], 2) / 100;
105
105
  }
106
- if (msg.data.hasOwnProperty('unoccupiedCoolingSetpoint')) {
106
+ if (msg.data.unoccupiedCoolingSetpoint !== undefined) {
107
107
  result.unoccupied_cooling_setpoint = (0, utils_1.precisionRound)(msg.data['unoccupiedCoolingSetpoint'], 2) / 100;
108
108
  }
109
- if (msg.data.hasOwnProperty('ctrlSeqeOfOper')) {
109
+ if (msg.data.ctrlSeqeOfOper !== undefined) {
110
110
  result.control_sequence_of_operation = constants.thermostatControlSequenceOfOperations[msg.data['ctrlSeqeOfOper']];
111
111
  }
112
- if (msg.data.hasOwnProperty('systemMode')) {
112
+ if (msg.data.systemMode !== undefined) {
113
113
  result.system_mode = constants.thermostatSystemModes[msg.data['systemMode']];
114
114
  }
115
- if (msg.data.hasOwnProperty('pIHeatingDemand')) {
115
+ if (msg.data.pIHeatingDemand !== undefined) {
116
116
  result.pi_heating_demand = (0, utils_1.precisionRound)(msg.data['pIHeatingDemand'], 0);
117
117
  }
118
- if (msg.data.hasOwnProperty('minHeatSetpointLimit')) {
118
+ if (msg.data.minHeatSetpointLimit !== undefined) {
119
119
  result.min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['minHeatSetpointLimit'], 2) / 100;
120
120
  }
121
- if (msg.data.hasOwnProperty('maxHeatSetpointLimit')) {
121
+ if (msg.data.maxHeatSetpointLimit !== undefined) {
122
122
  result.max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['maxHeatSetpointLimit'], 2) / 100;
123
123
  }
124
- if (msg.data.hasOwnProperty('absMinHeatSetpointLimit')) {
124
+ if (msg.data.absMinHeatSetpointLimit !== undefined) {
125
125
  result.abs_min_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['absMinHeatSetpointLimit'], 2) / 100;
126
126
  }
127
- if (msg.data.hasOwnProperty('absMaxHeatSetpointLimit')) {
127
+ if (msg.data.absMaxHeatSetpointLimit !== undefined) {
128
128
  result.abs_max_heat_setpoint_limit = (0, utils_1.precisionRound)(msg.data['absMaxHeatSetpointLimit'], 2) / 100;
129
129
  }
130
- if (msg.data.hasOwnProperty('pIHeatingDemand')) {
130
+ if (msg.data.pIHeatingDemand !== undefined) {
131
131
  result.running_state = msg.data['pIHeatingDemand'] >= 10 ? 'heat' : 'idle';
132
132
  }
133
133
  return result;
@@ -138,7 +138,7 @@ const fzLocal = {
138
138
  type: ['attributeReport', 'readResponse'],
139
139
  convert: (model, msg, publish, options, meta) => {
140
140
  const result = {};
141
- if (msg.data.hasOwnProperty('presentValue')) {
141
+ if (msg.data.presentValue !== undefined) {
142
142
  let x = msg.data['presentValue'];
143
143
  if (x == -1) {
144
144
  result.tank_level = 0;
@@ -169,84 +169,84 @@ const fzLocal = {
169
169
  type: ['attributeReport', 'readResponse'],
170
170
  convert: (model, msg, publish, options, meta) => {
171
171
  const result = {};
172
- if (msg.data.hasOwnProperty('GFCiStatus')) {
172
+ if (msg.data.GFCiStatus !== undefined) {
173
173
  const lookup = { 0: 'off', 1: 'on' };
174
174
  result.gfci_status = utils.getFromLookup(msg.data['GFCiStatus'], lookup);
175
175
  }
176
- if (msg.data.hasOwnProperty('floorLimitStatus')) {
176
+ if (msg.data.floorLimitStatus !== undefined) {
177
177
  const lookup = { 0: 'off', 1: 'on' };
178
178
  result.floor_limit_status = utils.getFromLookup(msg.data['floorLimitStatus'], lookup);
179
179
  }
180
- if (msg.data.hasOwnProperty('secondScreenBehavior')) {
180
+ if (msg.data.secondScreenBehavior !== undefined) {
181
181
  const lookup = { 0: 'auto', 1: 'setpoint', 2: 'outdoor temp' };
182
182
  result.second_display_mode = utils.getFromLookup(msg.data['secondScreenBehavior'], lookup);
183
183
  }
184
- if (msg.data.hasOwnProperty('outdoorTempToDisplayTimeout')) {
184
+ if (msg.data.outdoorTempToDisplayTimeout !== undefined) {
185
185
  result.outdoor_temperature_timeout = msg.data['outdoorTempToDisplayTimeout'];
186
186
  // DEPRECATED: Use Second Display Mode or control via set outdoorTempToDisplayTimeout
187
187
  result.enable_outdoor_temperature = msg.data['outdoorTempToDisplayTimeout'] === 12 ? 'OFF' : 'ON';
188
188
  }
189
- if (msg.data.hasOwnProperty('outdoorTempToDisplay')) {
189
+ if (msg.data.outdoorTempToDisplay !== undefined) {
190
190
  result.thermostat_outdoor_temperature = (0, utils_1.precisionRound)(msg.data['outdoorTempToDisplay'], 2) / 100;
191
191
  }
192
- if (msg.data.hasOwnProperty('currentTimeToDisplay')) {
192
+ if (msg.data.currentTimeToDisplay !== undefined) {
193
193
  result.current_time_to_display = msg.data['currentTimeToDisplay'];
194
194
  }
195
- if (msg.data.hasOwnProperty('floorControlMode')) {
195
+ if (msg.data.floorControlMode !== undefined) {
196
196
  const lookup = { 1: 'ambiant', 2: 'floor' };
197
197
  result.floor_control_mode = utils.getFromLookup(msg.data['floorControlMode'], lookup);
198
198
  }
199
- if (msg.data.hasOwnProperty('ambiantMaxHeatSetpointLimit')) {
199
+ if (msg.data.ambiantMaxHeatSetpointLimit !== undefined) {
200
200
  result.ambiant_max_heat_setpoint = msg.data['ambiantMaxHeatSetpointLimit'] / 100.0;
201
201
  if (result.ambiant_max_heat_setpoint === -327.68) {
202
202
  result.ambiant_max_heat_setpoint = 'off';
203
203
  }
204
204
  }
205
- if (msg.data.hasOwnProperty('floorMinHeatSetpointLimit')) {
205
+ if (msg.data.floorMinHeatSetpointLimit !== undefined) {
206
206
  result.floor_min_heat_setpoint = msg.data['floorMinHeatSetpointLimit'] / 100.0;
207
207
  if (result.floor_min_heat_setpoint === -327.68) {
208
208
  result.floor_min_heat_setpoint = 'off';
209
209
  }
210
210
  }
211
- if (msg.data.hasOwnProperty('floorMaxHeatSetpointLimit')) {
211
+ if (msg.data.floorMaxHeatSetpointLimit !== undefined) {
212
212
  result.floor_max_heat_setpoint = msg.data['floorMaxHeatSetpointLimit'] / 100.0;
213
213
  if (result.floor_max_heat_setpoint === -327.68) {
214
214
  result.floor_max_heat_setpoint = 'off';
215
215
  }
216
216
  }
217
- if (msg.data.hasOwnProperty('temperatureSensor')) {
217
+ if (msg.data.temperatureSensor !== undefined) {
218
218
  const lookup = { 0: '10k', 1: '12k' };
219
219
  result.floor_temperature_sensor = utils.getFromLookup(msg.data['temperatureSensor'], lookup);
220
220
  }
221
- if (msg.data.hasOwnProperty('timeFormatToDisplay')) {
221
+ if (msg.data.timeFormatToDisplay !== undefined) {
222
222
  const lookup = { 0: '24h', 1: '12h' };
223
223
  result.time_format = utils.getFromLookup(msg.data['timeFormatToDisplay'], lookup);
224
224
  }
225
- if (msg.data.hasOwnProperty('connectedLoad')) {
225
+ if (msg.data.connectedLoad !== undefined) {
226
226
  result.connected_load = msg.data['connectedLoad'];
227
227
  }
228
- if (msg.data.hasOwnProperty('auxConnectedLoad')) {
228
+ if (msg.data.auxConnectedLoad !== undefined) {
229
229
  result.aux_connected_load = msg.data['auxConnectedLoad'];
230
230
  if (result.aux_connected_load == 65535) {
231
231
  result.aux_connected_load = 'disabled';
232
232
  }
233
233
  }
234
- if (msg.data.hasOwnProperty('pumpProtection')) {
234
+ if (msg.data.pumpProtection !== undefined) {
235
235
  result.pump_protection = msg.data['pumpProtection'] == 1 ? 'ON' : 'OFF';
236
236
  }
237
- if (msg.data.hasOwnProperty('dimmerTimmer')) {
237
+ if (msg.data.dimmerTimmer !== undefined) {
238
238
  result.timer_seconds = msg.data['dimmerTimmer'];
239
239
  }
240
- if (msg.data.hasOwnProperty('ledIntensityOn')) {
240
+ if (msg.data.ledIntensityOn !== undefined) {
241
241
  result.led_intensity_on = msg.data['ledIntensityOn'];
242
242
  }
243
- if (msg.data.hasOwnProperty('ledIntensityOff')) {
243
+ if (msg.data.ledIntensityOff !== undefined) {
244
244
  result.led_intensity_off = msg.data['ledIntensityOff'];
245
245
  }
246
- if (msg.data.hasOwnProperty('minimumBrightness')) {
246
+ if (msg.data.minimumBrightness !== undefined) {
247
247
  result.minimum_brightness = msg.data['minimumBrightness'];
248
248
  }
249
- if (msg.data.hasOwnProperty('actionReport')) {
249
+ if (msg.data.actionReport !== undefined) {
250
250
  const lookup = {
251
251
  1: 'up_clickdown',
252
252
  2: 'up_single',
@@ -259,11 +259,11 @@ const fzLocal = {
259
259
  };
260
260
  result.action = utils.getFromLookup(msg.data['actionReport'], lookup);
261
261
  }
262
- if (msg.data.hasOwnProperty('keypadLockout')) {
262
+ if (msg.data.keypadLockout !== undefined) {
263
263
  const lookup = { 0: 'unlock', 1: 'lock' };
264
264
  result.keypad_lockout = utils.getFromLookup(msg.data['keypadLockout'], lookup);
265
265
  }
266
- if (msg.data.hasOwnProperty('drConfigWaterTempMin')) {
266
+ if (msg.data.drConfigWaterTempMin !== undefined) {
267
267
  result.low_water_temp_protection = msg.data['drConfigWaterTempMin'];
268
268
  }
269
269
  return result;
@@ -397,8 +397,8 @@ const tzLocal = {
397
397
  }
398
398
  const lookup = { ambiant: 1, floor: 2 };
399
399
  value = value.toLowerCase();
400
- // @ts-expect-error
401
- if (lookup.hasOwnProperty(value)) {
400
+ // @ts-expect-error ignore
401
+ if (lookup[value] !== undefined) {
402
402
  await entity.write('manuSpecificSinope', { floorControlMode: utils.getFromLookup(value, lookup) });
403
403
  }
404
404
  return { readAfterWriteTime: 250, state: { floor_control_mode: value } };
@@ -411,9 +411,9 @@ const tzLocal = {
411
411
  // TH1300ZB and TH1400ZB specific
412
412
  key: ['ambiant_max_heat_setpoint'],
413
413
  convertSet: async (entity, key, value, meta) => {
414
- // @ts-expect-error
414
+ // @ts-expect-error ignore
415
415
  if ((value >= 5 && value <= 36) || value == 'off') {
416
- // @ts-expect-error
416
+ // @ts-expect-error ignore
417
417
  await entity.write('manuSpecificSinope', { ambiantMaxHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
418
418
  return { readAfterWriteTime: 250, state: { ambiant_max_heat_setpoint: value } };
419
419
  }
@@ -426,9 +426,9 @@ const tzLocal = {
426
426
  // TH1300ZB and TH1400ZB specific
427
427
  key: ['floor_min_heat_setpoint'],
428
428
  convertSet: async (entity, key, value, meta) => {
429
- // @ts-expect-error
429
+ // @ts-expect-error ignore
430
430
  if ((value >= 5 && value <= 34) || value == 'off') {
431
- // @ts-expect-error
431
+ // @ts-expect-error ignore
432
432
  await entity.write('manuSpecificSinope', { floorMinHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
433
433
  return { readAfterWriteTime: 250, state: { floor_min_heat_setpoint: value } };
434
434
  }
@@ -441,9 +441,9 @@ const tzLocal = {
441
441
  // TH1300ZB and TH1400ZB specific
442
442
  key: ['floor_max_heat_setpoint'],
443
443
  convertSet: async (entity, key, value, meta) => {
444
- // @ts-expect-error
444
+ // @ts-expect-error ignore
445
445
  if ((value >= 7 && value <= 36) || value == 'off') {
446
- // @ts-expect-error
446
+ // @ts-expect-error ignore
447
447
  await entity.write('manuSpecificSinope', { floorMaxHeatSetpointLimit: value == 'off' ? -32768 : value * 100 });
448
448
  return { readAfterWriteTime: 250, state: { floor_max_heat_setpoint: value } };
449
449
  }
@@ -461,8 +461,8 @@ const tzLocal = {
461
461
  }
462
462
  const lookup = { '10k': 0, '12k': 1 };
463
463
  value = value.toLowerCase();
464
- // @ts-expect-error
465
- if (lookup.hasOwnProperty(value)) {
464
+ // @ts-expect-error ignore
465
+ if (lookup[value] !== undefined) {
466
466
  await entity.write('manuSpecificSinope', { temperatureSensor: utils.getFromLookup(value, lookup) });
467
467
  }
468
468
  return { readAfterWriteTime: 250, state: { floor_temperature_sensor: value } };
@@ -474,16 +474,8 @@ const tzLocal = {
474
474
  time_format: {
475
475
  key: ['time_format'],
476
476
  convertSet: async (entity, key, value, meta) => {
477
- if (typeof value !== 'string') {
478
- return;
479
- }
480
- const lookup = { '24h': 0, '12h': 1 };
481
- value = value.toLowerCase();
482
- utils.assertString(value);
483
- if (lookup.hasOwnProperty(value)) {
484
- await entity.write('manuSpecificSinope', { timeFormatToDisplay: utils.getFromLookup(value, lookup) }, manuSinope);
485
- return { readAfterWriteTime: 250, state: { time_format: value } };
486
- }
477
+ await entity.write('manuSpecificSinope', { timeFormatToDisplay: utils.getFromLookup(value, { '24h': 0, '12h': 1 }) }, manuSinope);
478
+ return { readAfterWriteTime: 250, state: { time_format: value } };
487
479
  },
488
480
  convertGet: async (entity, key, meta) => {
489
481
  await entity.read('manuSpecificSinope', ['timeFormatToDisplay'], manuSinope);
@@ -736,7 +728,7 @@ const definitions = [
736
728
  try {
737
729
  await reporting.thermostatSystemMode(endpoint);
738
730
  }
739
- catch (error) {
731
+ catch {
740
732
  /* Not all support this */
741
733
  }
742
734
  await reporting.readMeteringMultiplierDivisor(endpoint);
@@ -746,7 +738,7 @@ const definitions = [
746
738
  await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
747
739
  await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
748
740
  }
749
- catch (error) {
741
+ catch {
750
742
  endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
751
743
  }
752
744
  await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
@@ -858,7 +850,7 @@ const definitions = [
858
850
  try {
859
851
  await reporting.thermostatSystemMode(endpoint);
860
852
  }
861
- catch (error) {
853
+ catch {
862
854
  /* Not all support this */
863
855
  }
864
856
  await reporting.readMeteringMultiplierDivisor(endpoint);
@@ -868,7 +860,7 @@ const definitions = [
868
860
  await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
869
861
  await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
870
862
  }
871
- catch (error) {
863
+ catch {
872
864
  endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
873
865
  }
874
866
  await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
@@ -995,7 +987,7 @@ const definitions = [
995
987
  try {
996
988
  await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
997
989
  }
998
- catch (error) {
990
+ catch {
999
991
  /* Do nothing */
1000
992
  }
1001
993
  },
@@ -1120,7 +1112,7 @@ const definitions = [
1120
1112
  try {
1121
1113
  await reporting.thermostatUnoccupiedHeatingSetpoint(endpoint);
1122
1114
  }
1123
- catch (error) {
1115
+ catch {
1124
1116
  /* Do nothing */
1125
1117
  }
1126
1118
  },
@@ -1227,40 +1219,40 @@ const definitions = [
1227
1219
  try {
1228
1220
  await reporting.readMeteringMultiplierDivisor(endpoint);
1229
1221
  }
1230
- catch (error) {
1222
+ catch {
1231
1223
  /* Do nothing*/
1232
1224
  }
1233
1225
  try {
1234
1226
  await reporting.currentSummDelivered(endpoint, { min: 10, max: 303, change: [1, 1] });
1235
1227
  }
1236
- catch (error) {
1228
+ catch {
1237
1229
  /* Do nothing*/
1238
1230
  }
1239
1231
  try {
1240
1232
  await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']);
1241
1233
  await reporting.activePower(endpoint, { min: 10, max: 305, change: 1 }); // divider 1: 1W
1242
1234
  }
1243
- catch (error) {
1235
+ catch {
1244
1236
  endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', { acPowerMultiplier: 1, acPowerDivisor: 1 });
1245
1237
  }
1246
1238
  try {
1247
1239
  await endpoint.read('haElectricalMeasurement', ['acCurrentMultiplier', 'acCurrentDivisor']);
1248
1240
  await reporting.rmsCurrent(endpoint, { min: 10, max: 306, change: 100 }); // divider 1000: 0.1Arms
1249
1241
  }
1250
- catch (error) {
1242
+ catch {
1251
1243
  /* Do nothing*/
1252
1244
  }
1253
1245
  try {
1254
1246
  await endpoint.read('haElectricalMeasurement', ['acVoltageMultiplier', 'acVoltageDivisor']);
1255
1247
  await reporting.rmsVoltage(endpoint, { min: 10, max: 307, change: 5 }); // divider 10: 0.5Vrms
1256
1248
  }
1257
- catch (error) {
1249
+ catch {
1258
1250
  /* Do nothing*/
1259
1251
  }
1260
1252
  try {
1261
1253
  await reporting.thermostatKeypadLockMode(endpoint);
1262
1254
  }
1263
- catch (error) {
1255
+ catch {
1264
1256
  // Not all support this: https://github.com/Koenkk/zigbee2mqtt/issues/3760
1265
1257
  }
1266
1258
  await endpoint.configureReporting('manuSpecificSinope', [
@@ -1418,7 +1410,7 @@ const definitions = [
1418
1410
  try {
1419
1411
  await reporting.thermostatSystemMode(endpoint);
1420
1412
  }
1421
- catch (error) {
1413
+ catch {
1422
1414
  /* Not all support this */
1423
1415
  }
1424
1416
  await endpoint.read('hvacThermostat', [
@@ -1589,7 +1581,7 @@ const definitions = [
1589
1581
  await reporting.readMeteringMultiplierDivisor(endpoint);
1590
1582
  await reporting.currentSummDelivered(endpoint, { min: 10, max: 300, change: [0, 10] });
1591
1583
  }
1592
- catch (error) {
1584
+ catch {
1593
1585
  /* Do nothing*/
1594
1586
  }
1595
1587
  const payload = [
@@ -1870,13 +1862,13 @@ const definitions = [
1870
1862
  try {
1871
1863
  await reporting.batteryVoltage(endpoint);
1872
1864
  }
1873
- catch (error) {
1865
+ catch {
1874
1866
  /* Do Nothing */
1875
1867
  }
1876
1868
  try {
1877
1869
  await reporting.batteryAlarmState(endpoint);
1878
1870
  }
1879
- catch (error) {
1871
+ catch {
1880
1872
  /* Do Nothing */
1881
1873
  }
1882
1874
  },