zigbee-herdsman-converters 21.0.0-pre.0 → 21.0.0-pre.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 (368) hide show
  1. package/CHANGELOG.md +191 -0
  2. package/converters/fromZigbee.d.ts +6 -7
  3. package/converters/fromZigbee.d.ts.map +1 -1
  4. package/converters/fromZigbee.js +58 -34
  5. package/converters/fromZigbee.js.map +1 -1
  6. package/converters/toZigbee.js +1 -1
  7. package/converters/toZigbee.js.map +1 -1
  8. package/devices/adeo.d.ts.map +1 -1
  9. package/devices/adeo.js +1 -2
  10. package/devices/adeo.js.map +1 -1
  11. package/devices/adurosmart.d.ts.map +1 -1
  12. package/devices/adurosmart.js +22 -2
  13. package/devices/adurosmart.js.map +1 -1
  14. package/devices/aeotec.js +1 -1
  15. package/devices/aeotec.js.map +1 -1
  16. package/devices/airam.d.ts.map +1 -1
  17. package/devices/airam.js +1 -13
  18. package/devices/airam.js.map +1 -1
  19. package/devices/amina.d.ts.map +1 -1
  20. package/devices/amina.js +1 -2
  21. package/devices/amina.js.map +1 -1
  22. package/devices/aurora_lighting.d.ts.map +1 -1
  23. package/devices/aurora_lighting.js +2 -3
  24. package/devices/aurora_lighting.js.map +1 -1
  25. package/devices/bitron.d.ts.map +1 -1
  26. package/devices/bitron.js +1 -2
  27. package/devices/bitron.js.map +1 -1
  28. package/devices/bosch.d.ts.map +1 -1
  29. package/devices/bosch.js +11 -10
  30. package/devices/bosch.js.map +1 -1
  31. package/devices/bticino.d.ts.map +1 -1
  32. package/devices/bticino.js +2 -3
  33. package/devices/bticino.js.map +1 -1
  34. package/devices/busch_jaeger.d.ts.map +1 -1
  35. package/devices/busch_jaeger.js +1 -11
  36. package/devices/busch_jaeger.js.map +1 -1
  37. package/devices/candeo.d.ts.map +1 -1
  38. package/devices/candeo.js +22 -72
  39. package/devices/candeo.js.map +1 -1
  40. package/devices/chacon.js +1 -1
  41. package/devices/chacon.js.map +1 -1
  42. package/devices/ctm.d.ts.map +1 -1
  43. package/devices/ctm.js +5 -8
  44. package/devices/ctm.js.map +1 -1
  45. package/devices/custom_devices_diy.d.ts.map +1 -1
  46. package/devices/custom_devices_diy.js +14 -11
  47. package/devices/custom_devices_diy.js.map +1 -1
  48. package/devices/danalock.d.ts.map +1 -1
  49. package/devices/danalock.js +1 -2
  50. package/devices/danalock.js.map +1 -1
  51. package/devices/danfoss.d.ts.map +1 -1
  52. package/devices/danfoss.js +1 -2
  53. package/devices/danfoss.js.map +1 -1
  54. package/devices/datek.d.ts.map +1 -1
  55. package/devices/datek.js +2 -4
  56. package/devices/datek.js.map +1 -1
  57. package/devices/develco.d.ts.map +1 -1
  58. package/devices/develco.js +17 -18
  59. package/devices/develco.js.map +1 -1
  60. package/devices/diyruz.d.ts.map +1 -1
  61. package/devices/diyruz.js +1 -2
  62. package/devices/diyruz.js.map +1 -1
  63. package/devices/dresden_elektronik.d.ts.map +1 -1
  64. package/devices/dresden_elektronik.js +3 -27
  65. package/devices/dresden_elektronik.js.map +1 -1
  66. package/devices/ecodim.d.ts.map +1 -1
  67. package/devices/ecodim.js +3 -4
  68. package/devices/ecodim.js.map +1 -1
  69. package/devices/ecozy.d.ts.map +1 -1
  70. package/devices/ecozy.js +1 -2
  71. package/devices/ecozy.js.map +1 -1
  72. package/devices/elko.js +3 -3
  73. package/devices/elko.js.map +1 -1
  74. package/devices/eurotronic.d.ts.map +1 -1
  75. package/devices/eurotronic.js +1 -2
  76. package/devices/eurotronic.js.map +1 -1
  77. package/devices/fantem.d.ts.map +1 -1
  78. package/devices/fantem.js +0 -1
  79. package/devices/fantem.js.map +1 -1
  80. package/devices/frient.js +1 -1
  81. package/devices/frient.js.map +1 -1
  82. package/devices/futurehome.d.ts.map +1 -1
  83. package/devices/futurehome.js +1 -2
  84. package/devices/futurehome.js.map +1 -1
  85. package/devices/gledopto.d.ts.map +1 -1
  86. package/devices/gledopto.js +44 -34
  87. package/devices/gledopto.js.map +1 -1
  88. package/devices/gmmts.d.ts.map +1 -1
  89. package/devices/gmmts.js +1 -2
  90. package/devices/gmmts.js.map +1 -1
  91. package/devices/heiman.d.ts.map +1 -1
  92. package/devices/heiman.js +3 -4
  93. package/devices/heiman.js.map +1 -1
  94. package/devices/heimgard_technologies.d.ts.map +1 -1
  95. package/devices/heimgard_technologies.js +5 -6
  96. package/devices/heimgard_technologies.js.map +1 -1
  97. package/devices/icasa.d.ts.map +1 -1
  98. package/devices/icasa.js +2 -25
  99. package/devices/icasa.js.map +1 -1
  100. package/devices/ikea.d.ts.map +1 -1
  101. package/devices/ikea.js +65 -60
  102. package/devices/ikea.js.map +1 -1
  103. package/devices/iluminize.d.ts.map +1 -1
  104. package/devices/iluminize.js +1 -2
  105. package/devices/iluminize.js.map +1 -1
  106. package/devices/immax.d.ts.map +1 -1
  107. package/devices/immax.js +3 -4
  108. package/devices/immax.js.map +1 -1
  109. package/devices/index.d.ts +1 -0
  110. package/devices/index.d.ts.map +1 -1
  111. package/devices/index.js +4 -0
  112. package/devices/index.js.map +1 -1
  113. package/devices/innr.d.ts.map +1 -1
  114. package/devices/innr.js +35 -35
  115. package/devices/innr.js.map +1 -1
  116. package/devices/inovelli.d.ts.map +1 -1
  117. package/devices/inovelli.js +3 -4
  118. package/devices/inovelli.js.map +1 -1
  119. package/devices/insta.d.ts.map +1 -1
  120. package/devices/insta.js +3 -12
  121. package/devices/insta.js.map +1 -1
  122. package/devices/javis.js +1 -1
  123. package/devices/javis.js.map +1 -1
  124. package/devices/jethome.d.ts.map +1 -1
  125. package/devices/jethome.js +1 -2
  126. package/devices/jethome.js.map +1 -1
  127. package/devices/kmpcil.d.ts.map +1 -1
  128. package/devices/kmpcil.js +1 -10
  129. package/devices/kmpcil.js.map +1 -1
  130. package/devices/konke.d.ts.map +1 -1
  131. package/devices/konke.js +2 -3
  132. package/devices/konke.js.map +1 -1
  133. package/devices/leedarson.d.ts.map +1 -1
  134. package/devices/leedarson.js +3 -11
  135. package/devices/leedarson.js.map +1 -1
  136. package/devices/legrand.d.ts.map +1 -1
  137. package/devices/legrand.js +31 -32
  138. package/devices/legrand.js.map +1 -1
  139. package/devices/leviton.d.ts.map +1 -1
  140. package/devices/leviton.js +1 -2
  141. package/devices/leviton.js.map +1 -1
  142. package/devices/lidl.d.ts.map +1 -1
  143. package/devices/lidl.js +1 -2
  144. package/devices/lidl.js.map +1 -1
  145. package/devices/lixee.d.ts.map +1 -1
  146. package/devices/lixee.js +1 -2
  147. package/devices/lixee.js.map +1 -1
  148. package/devices/lumi.d.ts.map +1 -1
  149. package/devices/lumi.js +25 -81
  150. package/devices/lumi.js.map +1 -1
  151. package/devices/lupus.d.ts.map +1 -1
  152. package/devices/lupus.js +3 -4
  153. package/devices/lupus.js.map +1 -1
  154. package/devices/lutron.d.ts.map +1 -1
  155. package/devices/lutron.js +7 -5
  156. package/devices/lutron.js.map +1 -1
  157. package/devices/lytko.d.ts.map +1 -1
  158. package/devices/lytko.js +6 -7
  159. package/devices/lytko.js.map +1 -1
  160. package/devices/meazon.d.ts.map +1 -1
  161. package/devices/meazon.js +2 -3
  162. package/devices/meazon.js.map +1 -1
  163. package/devices/moes.js +2 -2
  164. package/devices/moes.js.map +1 -1
  165. package/devices/muller_licht.d.ts.map +1 -1
  166. package/devices/muller_licht.js +5 -6
  167. package/devices/muller_licht.js.map +1 -1
  168. package/devices/namron.d.ts.map +1 -1
  169. package/devices/namron.js +18 -19
  170. package/devices/namron.js.map +1 -1
  171. package/devices/neo.d.ts.map +1 -1
  172. package/devices/neo.js +68 -0
  173. package/devices/neo.js.map +1 -1
  174. package/devices/net2grid.d.ts.map +1 -1
  175. package/devices/net2grid.js +1 -2
  176. package/devices/net2grid.js.map +1 -1
  177. package/devices/nodon.d.ts.map +1 -1
  178. package/devices/nodon.js +13 -14
  179. package/devices/nodon.js.map +1 -1
  180. package/devices/nue_3a.d.ts.map +1 -1
  181. package/devices/nue_3a.js +3 -4
  182. package/devices/nue_3a.js.map +1 -1
  183. package/devices/osram.d.ts.map +1 -1
  184. package/devices/osram.js +20 -27
  185. package/devices/osram.js.map +1 -1
  186. package/devices/owon.d.ts.map +1 -1
  187. package/devices/owon.js +2 -3
  188. package/devices/owon.js.map +1 -1
  189. package/devices/perenio.d.ts.map +1 -1
  190. package/devices/perenio.js +3 -4
  191. package/devices/perenio.js.map +1 -1
  192. package/devices/philips.d.ts.map +1 -1
  193. package/devices/philips.js +31 -16
  194. package/devices/philips.js.map +1 -1
  195. package/devices/pushok.d.ts.map +1 -1
  196. package/devices/pushok.js +13 -11
  197. package/devices/pushok.js.map +1 -1
  198. package/devices/salus_controls.d.ts.map +1 -1
  199. package/devices/salus_controls.js +9 -10
  200. package/devices/salus_controls.js.map +1 -1
  201. package/devices/saswell.d.ts.map +1 -1
  202. package/devices/saswell.js +2 -1
  203. package/devices/saswell.js.map +1 -1
  204. package/devices/schneider_electric.d.ts.map +1 -1
  205. package/devices/schneider_electric.js +117 -17
  206. package/devices/schneider_electric.js.map +1 -1
  207. package/devices/securifi.d.ts.map +1 -1
  208. package/devices/securifi.js +1 -2
  209. package/devices/securifi.js.map +1 -1
  210. package/devices/sengled.d.ts.map +1 -1
  211. package/devices/sengled.js +46 -27
  212. package/devices/sengled.js.map +1 -1
  213. package/devices/shinasystem.d.ts.map +1 -1
  214. package/devices/shinasystem.js +22 -23
  215. package/devices/shinasystem.js.map +1 -1
  216. package/devices/sinope.d.ts.map +1 -1
  217. package/devices/sinope.js +7 -9
  218. package/devices/sinope.js.map +1 -1
  219. package/devices/smartthings.d.ts.map +1 -1
  220. package/devices/smartthings.js +3 -10
  221. package/devices/smartthings.js.map +1 -1
  222. package/devices/somfy.d.ts.map +1 -1
  223. package/devices/somfy.js +2 -9
  224. package/devices/somfy.js.map +1 -1
  225. package/devices/sonoff.d.ts.map +1 -1
  226. package/devices/sonoff.js +240 -11
  227. package/devices/sonoff.js.map +1 -1
  228. package/devices/stelpro.d.ts.map +1 -1
  229. package/devices/stelpro.js +4 -5
  230. package/devices/stelpro.js.map +1 -1
  231. package/devices/sunricher.d.ts.map +1 -1
  232. package/devices/sunricher.js +23 -15
  233. package/devices/sunricher.js.map +1 -1
  234. package/devices/swann.d.ts.map +1 -1
  235. package/devices/swann.js +1 -2
  236. package/devices/swann.js.map +1 -1
  237. package/devices/sylvania.d.ts.map +1 -1
  238. package/devices/sylvania.js +2 -11
  239. package/devices/sylvania.js.map +1 -1
  240. package/devices/tech.d.ts +4 -0
  241. package/devices/tech.d.ts.map +1 -0
  242. package/devices/tech.js +118 -0
  243. package/devices/tech.js.map +1 -0
  244. package/devices/terncy.d.ts.map +1 -1
  245. package/devices/terncy.js +5 -7
  246. package/devices/terncy.js.map +1 -1
  247. package/devices/third_reality.d.ts.map +1 -1
  248. package/devices/third_reality.js +19 -20
  249. package/devices/third_reality.js.map +1 -1
  250. package/devices/tplink.js +1 -1
  251. package/devices/tplink.js.map +1 -1
  252. package/devices/trust.d.ts.map +1 -1
  253. package/devices/trust.js +1 -2
  254. package/devices/trust.js.map +1 -1
  255. package/devices/tuya.d.ts.map +1 -1
  256. package/devices/tuya.js +157 -83
  257. package/devices/tuya.js.map +1 -1
  258. package/devices/ubisys.d.ts.map +1 -1
  259. package/devices/ubisys.js +8 -9
  260. package/devices/ubisys.js.map +1 -1
  261. package/devices/uhome.d.ts.map +1 -1
  262. package/devices/uhome.js +1 -2
  263. package/devices/uhome.js.map +1 -1
  264. package/devices/viessmann.d.ts.map +1 -1
  265. package/devices/viessmann.js +1 -2
  266. package/devices/viessmann.js.map +1 -1
  267. package/devices/wirenboard.d.ts.map +1 -1
  268. package/devices/wirenboard.js +3 -4
  269. package/devices/wirenboard.js.map +1 -1
  270. package/devices/xyzroe.d.ts.map +1 -1
  271. package/devices/xyzroe.js +1 -4
  272. package/devices/xyzroe.js.map +1 -1
  273. package/devices/yandex.d.ts +4 -0
  274. package/devices/yandex.d.ts.map +1 -0
  275. package/devices/yandex.js +398 -0
  276. package/devices/yandex.js.map +1 -0
  277. package/devices/zen.d.ts.map +1 -1
  278. package/devices/zen.js +2 -4
  279. package/devices/zen.js.map +1 -1
  280. package/devices/zigbeetlc.d.ts +1 -0
  281. package/devices/zigbeetlc.d.ts.map +1 -1
  282. package/devices/zigbeetlc.js +3 -3
  283. package/devices/zigbeetlc.js.map +1 -1
  284. package/index.d.ts +8 -6
  285. package/index.d.ts.map +1 -1
  286. package/index.js +105 -58
  287. package/index.js.map +1 -1
  288. package/lib/exposes.d.ts +2 -3
  289. package/lib/exposes.d.ts.map +1 -1
  290. package/lib/exposes.js +11 -10
  291. package/lib/exposes.js.map +1 -1
  292. package/lib/ikea.d.ts +1 -49
  293. package/lib/ikea.d.ts.map +1 -1
  294. package/lib/ikea.js +3 -72
  295. package/lib/ikea.js.map +1 -1
  296. package/lib/ledvance.d.ts.map +1 -1
  297. package/lib/ledvance.js +5 -3
  298. package/lib/ledvance.js.map +1 -1
  299. package/lib/legacy.d.ts +203 -924
  300. package/lib/legacy.d.ts.map +1 -1
  301. package/lib/legacy.js +177 -1924
  302. package/lib/legacy.js.map +1 -1
  303. package/lib/lumi.d.ts +0 -142
  304. package/lib/lumi.d.ts.map +1 -1
  305. package/lib/lumi.js +6 -292
  306. package/lib/lumi.js.map +1 -1
  307. package/lib/modernExtend.d.ts +4 -7
  308. package/lib/modernExtend.d.ts.map +1 -1
  309. package/lib/modernExtend.js +71 -116
  310. package/lib/modernExtend.js.map +1 -1
  311. package/lib/ota.d.ts +71 -0
  312. package/lib/ota.d.ts.map +1 -0
  313. package/lib/ota.js +663 -0
  314. package/lib/ota.js.map +1 -0
  315. package/lib/philips.d.ts.map +1 -1
  316. package/lib/philips.js +2 -3
  317. package/lib/philips.js.map +1 -1
  318. package/lib/types.d.ts +55 -47
  319. package/lib/types.d.ts.map +1 -1
  320. package/lib/utils.d.ts +1 -2
  321. package/lib/utils.d.ts.map +1 -1
  322. package/lib/utils.js +1 -7
  323. package/lib/utils.js.map +1 -1
  324. package/package.json +26 -12
  325. package/lib/ota/common.d.ts +0 -31
  326. package/lib/ota/common.d.ts.map +0 -1
  327. package/lib/ota/common.js +0 -630
  328. package/lib/ota/common.js.map +0 -1
  329. package/lib/ota/gmmts.d.ts +0 -8
  330. package/lib/ota/gmmts.d.ts.map +0 -1
  331. package/lib/ota/gmmts.js +0 -62
  332. package/lib/ota/gmmts.js.map +0 -1
  333. package/lib/ota/index.d.ts +0 -15
  334. package/lib/ota/index.d.ts.map +0 -1
  335. package/lib/ota/index.js +0 -48
  336. package/lib/ota/index.js.map +0 -1
  337. package/lib/ota/inovelli.d.ts +0 -8
  338. package/lib/ota/inovelli.d.ts.map +0 -1
  339. package/lib/ota/inovelli.js +0 -91
  340. package/lib/ota/inovelli.js.map +0 -1
  341. package/lib/ota/jethome.d.ts +0 -9
  342. package/lib/ota/jethome.d.ts.map +0 -1
  343. package/lib/ota/jethome.js +0 -92
  344. package/lib/ota/jethome.js.map +0 -1
  345. package/lib/ota/ledvance.d.ts +0 -11
  346. package/lib/ota/ledvance.d.ts.map +0 -1
  347. package/lib/ota/ledvance.js +0 -75
  348. package/lib/ota/ledvance.js.map +0 -1
  349. package/lib/ota/salus.d.ts +0 -11
  350. package/lib/ota/salus.d.ts.map +0 -1
  351. package/lib/ota/salus.js +0 -99
  352. package/lib/ota/salus.js.map +0 -1
  353. package/lib/ota/securifi.d.ts +0 -4
  354. package/lib/ota/securifi.d.ts.map +0 -1
  355. package/lib/ota/securifi.js +0 -48
  356. package/lib/ota/securifi.js.map +0 -1
  357. package/lib/ota/tradfri.d.ts +0 -13
  358. package/lib/ota/tradfri.d.ts.map +0 -1
  359. package/lib/ota/tradfri.js +0 -72
  360. package/lib/ota/tradfri.js.map +0 -1
  361. package/lib/ota/ubisys.d.ts +0 -20
  362. package/lib/ota/ubisys.d.ts.map +0 -1
  363. package/lib/ota/ubisys.js +0 -93
  364. package/lib/ota/ubisys.js.map +0 -1
  365. package/lib/ota/zigbeeOTA.d.ts +0 -12
  366. package/lib/ota/zigbeeOTA.d.ts.map +0 -1
  367. package/lib/ota/zigbeeOTA.js +0 -143
  368. package/lib/ota/zigbeeOTA.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,196 @@
1
1
  # Changelog
2
2
 
3
+ ## [20.51.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.50.0...v20.51.0) (2024-11-21)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** SR-ZG9042MP ([#8347](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8347)) ([f4ff3d8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f4ff3d8e2e477f2186c81e3fd1597a5403e51049))
9
+ * Support OTA for Tuya TS0201 ([#8350](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8350)) ([8e3d26e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8e3d26e5cce136a65d0283800e480414ea769560))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZE200_ya4ft0w4` as Tuya ZY-M100-24G wall mounted variant ([#8352](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8352)) ([237923b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/237923b67080fbe048e3153d96c7433b10644a63))
15
+ * **detect:** Detect `_TZE204_o3x45p96` as AVATTO_TRV06 ([#8349](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8349)) ([865478b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/865478b854647eddcabaa92dbf79aa6d8db4f15d))
16
+ * **detect:** Detect `_TZE204_ogkdpgy2` as Tuya TS0601_co2_sensor ([#8354](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8354)) ([53d6b99](https://github.com/Koenkk/zigbee-herdsman-converters/commit/53d6b99555114b760394e32857f17052e6a1e1f2))
17
+ * **detect:** Detect `RBSH-TRV1-ZB-EU` as Bosch BTH-RA ([#8351](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8351)) ([d7dca0b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d7dca0b0f68bf8b2f6feb1a6587a2f33a8b5d665))
18
+
19
+ ## [20.50.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.49.1...v20.50.0) (2024-11-20)
20
+
21
+
22
+ ### Features
23
+
24
+ * **add:** AVATTO_TRV06 ([#8343](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8343)) ([3c2d52c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3c2d52c601d10a549fbe7f127c56f1080497c131))
25
+ * **add:** YNDX_00537, YNDX_00538, YNDX_00534, YNDX_00535, YNDX_00531, YNDX_00532 ([#8345](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8345)) ([4afed8c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4afed8c3634407b92d6c0154276074f7ca7e939b))
26
+ * **add:** ZSS-QT-LS-C ([#8294](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8294)) ([18b80ed](https://github.com/Koenkk/zigbee-herdsman-converters/commit/18b80ed29e069751f7bd9bcf2d75ffbe8e65f6d4))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * Add Nedis ZBWS40WT as whitelabel for Tuya TS0044 ([#8342](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8342)) ([545b2af](https://github.com/Koenkk/zigbee-herdsman-converters/commit/545b2afcea4b6eed0045f4f5e99c3ee53f491598))
32
+ * Add new fingerprint for GL-C-007-2ID https://github.com/Koenkk/zigbee2mqtt/issues/24745 ([ac7e475](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ac7e4758c3af5ff924bcb75fc28a51340ac24f1d))
33
+ * Elko Super Thermostat: configurable reporting of local temperature based on sensor choice ([#8313](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8313)) ([9c0d004](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9c0d004b0d84f09773e059321eb8208b39a7f1b2))
34
+
35
+ ## [20.49.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.49.0...v20.49.1) (2024-11-19)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * **ignore:** fix f982c46bda87f66191d47f2d22d831e106ad7cfa ([0e3eb39](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0e3eb398b9533875600583bc148ad18975b40c47))
41
+
42
+ ## [20.49.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.48.0...v20.49.0) (2024-11-19)
43
+
44
+
45
+ ### Features
46
+
47
+ * **add:** HHST001 ([#8337](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8337)) ([fcf278d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fcf278d76a6caa475b548fa46d44d1daf550eb4a))
48
+ * **add:** SR-ZG2835PAC-AU ([#8338](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8338)) ([d66acfc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d66acfc8b5d1475ba2ca7cc978d0487521b2ab91))
49
+ * **add:** VNTH-T2 ([#8323](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8323)) ([f982c46](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f982c46bda87f66191d47f2d22d831e106ad7cfa))
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * **detect:** Detect `_TZE284_o3x45p96` as AVATTO TRV06_1 ([#8339](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8339)) ([14f56db](https://github.com/Koenkk/zigbee-herdsman-converters/commit/14f56dbd43353a0d1a0bda90e06047b45ba9796f))
55
+ * Fixed presence state for Tuya RT_ZCZ03Z (_TZE204_uxllnywp) ([#8335](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8335)) ([27c4c48](https://github.com/Koenkk/zigbee-herdsman-converters/commit/27c4c48aa3f5f3fdb015079b437c66739c7bf398))
56
+
57
+ ## [20.48.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.47.0...v20.48.0) (2024-11-18)
58
+
59
+
60
+ ### Features
61
+
62
+ * **add:** EFR32MG21.Router ([#8334](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8334)) ([42004da](https://github.com/Koenkk/zigbee-herdsman-converters/commit/42004da71f36bbf5d0c976fd4976983010faa971))
63
+ * **add:** NH3527A ([#8300](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8300)) ([6dd98f8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6dd98f89a9fc09a01f2396ec37b1ea83741ab1ba))
64
+ * **add:** ZBM5-1C-120, ZBM5-2C-120, ZBM5-3C-120 ([#8314](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8314)) ([6113ce2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6113ce277075e6be2ffacea0a484299d959e16ad))
65
+ * **add:** ZNTGMK12LM ([#8315](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8315)) ([38644c2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/38644c287a09508c415c1c0682833bdb64c82fb7))
66
+ * Expose switch type for TS110E_1gang_2 ([#8326](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8326)) ([f711098](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f7110985024ac51bb1523ac389de843abf186f95))
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * Detect new model of LED2109G6 and fix model of LED2201G8 ([#8330](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8330)) ([df7e3eb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/df7e3eb1c8453ec3702fb5ca2dd68b599c1e7a5a))
72
+ * **detect:** Detect `_TZ3000_9kbbfeho` as Tuya TS0222_light ([#8318](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8318)) ([5466e60](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5466e6096970b24cb4f6a68aae0baacde355bb24))
73
+ * **detect:** Detect `_TZ3000_upgcbody` as Tuya TS0207_water_leak_detector_1 https://github.com/Koenkk/zigbee2mqtt/issues/24759 ([16efcd2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/16efcd232b9167285ab55e60e5011c3831ffafd4))
74
+ * **detect:** Detect `_TZE200_ojtqawav` as Tuya TS0601_switch_1_gang https://github.com/Koenkk/zigbee2mqtt/issues/24747 ([347eeb3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/347eeb3a4ce88bf7f2eb9490f8881e1d45f5e04c))
75
+ * **detect:** Detect `_TZE200_qjp4ynvi` as Tuya TS0601_thermostat ([#8319](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8319)) ([3f3549f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3f3549f79a38e8daabbca41760672bc73e0c42c6))
76
+ * **detect:** Detect `TRADFRIbulbG125E26WSopal440lm` as IKEA LED1936G5 ([#8328](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8328)) ([c7e6744](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c7e6744be4ee25b5113a0b6487114f316612588e))
77
+ * Fix overall power for TS0601_3_phase_clamp_meter ([#8329](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8329)) ([71b0617](https://github.com/Koenkk/zigbee-herdsman-converters/commit/71b06171d41389afdde402a8f4b6afc7210baf89))
78
+ * Fix Somfy SOMFY-1241752 integration ([#8325](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8325)) ([0306b39](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0306b3969990effe612477f6f93aa47364004e32))
79
+ * Fixed LoraTap SC400ZB-EU calibration time reading ([#8321](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8321)) ([761650e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/761650e1fe2833acd3c02a4722ad6f778b77a80a))
80
+ * **ignore:** fix 42004da71f36bbf5d0c976fd4976983010faa971 ([936e0f4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/936e0f4f1b999f520676bc07076d1c4076624171))
81
+ * **ignore:** fix c7e6744be4ee25b5113a0b6487114f316612588e ([fc44f1c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fc44f1cce4a903061f82ee203be2029815593b81))
82
+
83
+ ## [20.47.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.46.0...v20.47.0) (2024-11-14)
84
+
85
+
86
+ ### Features
87
+
88
+ * **add:** C203 ([#8309](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8309)) ([f9fdbd5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f9fdbd541653fbf05347caea66d999e815065cd0))
89
+
90
+
91
+ ### Bug Fixes
92
+
93
+ * **detect:** Detect `_TZE204_g4au0afs` as Tuya TS0601_switch_6_gang https://github.com/Koenkk/zigbee2mqtt/issues/24743 ([8e8cefc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8e8cefc4307d735f61dad076ac9e99bc9f337b65))
94
+ * **detect:** Detect `_TZE284_p3dbf6qs` as Tuya TS0601_thermostat_3 https://github.com/Koenkk/zigbee2mqtt/issues/24742 ([1e70867](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1e708678d3c6bb58cccede24ef314ffe5c65f3f4))
95
+ * **detect:** Detect `SNZB-05` as Tuya TS0207_water_leak_detector https://github.com/Koenkk/zigbee2mqtt/issues/24759 ([4c83855](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4c83855f37f2219aa9c886b892421b781dc23eca))
96
+
97
+ ## [20.46.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.45.0...v20.46.0) (2024-11-13)
98
+
99
+
100
+ ### Features
101
+
102
+ * Add Livarno Home (Lidl) HG08131A, HG08131B, HG08131C ([#8307](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8307)) ([963d9a9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/963d9a9eaf06e64c0751f3adb4c623d9692729b1))
103
+ * Support OTA for RB 272 T ([#8310](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8310)) ([3e08ed6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3e08ed6d294ef5ce428a03afbb6cfcafe67d63af))
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * Add back colour to Gledopto GL-C-003P ([#8305](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8305)) ([829eb5f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/829eb5fff07f34a988596b4b92a9793e3759d978))
109
+ * **detect:** Detect `_TZE200_9xfjixap` as Avatto ME167 ([#8312](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8312)) ([14f3c9f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/14f3c9fcabf62210e817aaa1bc6ffa4c09dec7c9))
110
+ * Fix attribute name for Elko Super RF ([#8308](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8308)) ([ebbe3b2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ebbe3b247c6ad546bbd6c53efc9920c8fe60899d))
111
+
112
+ ## [20.45.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.44.0...v20.45.0) (2024-11-12)
113
+
114
+
115
+ ### Features
116
+
117
+ * **add:** TS0105 https://github.com/Koenkk/zigbee2mqtt/issues/24722 ([ebfb2d5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ebfb2d55d31fffc3c72e075bdc0871a9c2a29fa8))
118
+
119
+
120
+ ### Bug Fixes
121
+
122
+ * Fix EcoDim ED-10012 and ED-10014 battery % https://github.com/Koenkk/zigbee2mqtt/issues/24698 ([8047ae2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8047ae24e0c1c15bf703c42517cab7e5b8fb9ec6))
123
+ * Fix hasAlreadyProcessedMessage when device has multiple endpoints ([#8301](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8301)) ([ba97340](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ba97340d2416dfde77794d780fec9c44d403fa90))
124
+ * Fix preset value for Tuya `_TZE200_viy9ihs7` ([#8298](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8298)) ([e96ca33](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e96ca33e1c2c73156e1f7f0b766e79d9556a0577))
125
+
126
+ ## [20.44.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.43.0...v20.44.0) (2024-11-10)
127
+
128
+
129
+ ### Features
130
+
131
+ * **add:** 9290002269A ([#8292](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8292)) ([a4ee66a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a4ee66ae90a0379fb3ab226a6a7092a9773f7cc9))
132
+ * **add:** 929003666901 ([#8288](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8288)) ([15835f6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/15835f6fa2e9658e6dbb1f1599c5ab88b7051622))
133
+
134
+
135
+ ### Bug Fixes
136
+
137
+ * **detect:** Detect `TRADFRI bulb E26 WW globe 810lm` as IKEA LED2103G5 ([#8297](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8297)) ([84f70d4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/84f70d45edc13dc03ff0cc450f64a315f3530860))
138
+ * Fix Gledopto GL-SD-301P not reporting state changes https://github.com/Koenkk/zigbee-herdsman-converters/pull/8183 ([b81dfcb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b81dfcb165dee80ac307bfc00e62ad4362e44c6b))
139
+ * Fix SNZB-04 status incorrect after some time https://github.com/Koenkk/zigbee2mqtt/issues/24668 ([b251c68](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b251c68c8bdf46390571fd7481fff1a6491a64e1))
140
+ * **ignore:** update dependencies ([#8295](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8295)) ([fe8e4f4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fe8e4f4caf928c6bb16744853717c230d67bb7e7))
141
+
142
+ ## [20.43.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.42.0...v20.43.0) (2024-11-07)
143
+
144
+
145
+ ### Features
146
+
147
+ * **add:** 81868 ([#8286](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8286)) ([0eae0c9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0eae0c9115e12fc14e374ba54b625a2f8789d583))
148
+ * **add:** C-RFZB-SM1 ([#8285](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8285)) ([880047a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/880047a5556e729de3f9245b332914ea79013134))
149
+ * **add:** SR-ZG9101SAC-HP-CLN ([#8282](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8282)) ([7b4b5fe](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7b4b5fe7aac910f9be8c784e2ba4672eb6f64351))
150
+
151
+
152
+ ### Bug Fixes
153
+
154
+ * **detect:** Detect `_TZE200_en3wvcbx` as Tuya TS0601_cover_1 ([#8284](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8284)) ([3a26152](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3a26152a0f011ff04e5ace4e941817d38ad12463))
155
+
156
+ ## [20.42.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.41.0...v20.42.0) (2024-11-06)
157
+
158
+
159
+ ### Features
160
+
161
+ * Add running state to Saswell TRV ([#8280](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8280)) ([ef0cf9e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ef0cf9e6d131f6a614624dabe7937dde7df59f96))
162
+ * **add:** NAS-PS10B2 ([#8242](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8242)) ([ad4d87d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ad4d87dab7bd60010a28152d8ee26d32ef0c5094))
163
+
164
+ ## [20.41.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.40.0...v20.41.0) (2024-11-05)
165
+
166
+
167
+ ### Features
168
+
169
+ * **add:** 9290023351B ([#8268](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8268)) ([979ad07](https://github.com/Koenkk/zigbee-herdsman-converters/commit/979ad07153cfaf07f0e84dd4b0ebda42664ca131))
170
+ * **add:** TS130F_GIRIER https://github.com/Koenkk/zigbee2mqtt/issues/22321 ([9e3ada2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9e3ada2896612ad3724260577c5d244c17330aa3))
171
+
172
+
173
+ ### Bug Fixes
174
+
175
+ * Disable unsupported power on behaviour for Third Reality 3RWK0148Z ([#8275](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8275)) ([a77be07](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a77be07bcd1e8db66266f0c9f283dbcca7abd81a))
176
+ * Fix battery % for Legrand 067646 ([#8278](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8278)) ([e6a3f39](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e6a3f399c0c1a6be491104ac014d8a984c356cea))
177
+
178
+ ## [20.40.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.39.2...v20.40.0) (2024-11-04)
179
+
180
+
181
+ ### Features
182
+
183
+ * **add:** T440 ([#8267](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8267)) ([11ab760](https://github.com/Koenkk/zigbee-herdsman-converters/commit/11ab760120ede189bfaafed57a71a2a092a8299c))
184
+ * **add:** T462 ([#8264](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8264)) ([2868504](https://github.com/Koenkk/zigbee-herdsman-converters/commit/28685042a3d7e94fcacb850d5dd1e384b1969f21))
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * changed device vendor name from Namron AS to Namron to match with other devices ([#8269](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8269)) ([e4dca4d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e4dca4dea4d92b6932f1adf4daa11f6b76a56f51))
190
+ * Fix `motion_sensitivity` and `occupancy_sensitivity` for Tuya ZY-M100-24G ([#8272](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8272)) ([f9aa47b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f9aa47bef30bb26e648c76ccce77e2942743d3bc))
191
+ * Fix Develco SMSZB-120 and HESZB-120 configure ([#8261](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8261)) ([d57705b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d57705b968e641340f4b191bef884d31023f986a))
192
+ * Fixed unit errors for water level sensor ME201WZ ([#8265](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8265)) ([f0c6a78](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f0c6a7884c067e5235443b18fc641d4803dc4c85))
193
+
3
194
  ## [20.39.2](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.39.1...v20.39.2) (2024-11-03)
4
195
 
5
196
 
@@ -223,8 +223,7 @@ declare const converters: {
223
223
  cluster: string;
224
224
  type: string[];
225
225
  convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => {
226
- illuminance: any;
227
- illuminance_lux: number;
226
+ illuminance: number;
228
227
  };
229
228
  };
230
229
  pressure: {
@@ -846,7 +845,8 @@ declare const converters: {
846
845
  elko_thermostat: {
847
846
  cluster: string;
848
847
  type: string[];
849
- convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValueAny;
848
+ options: exposes.Binary[];
849
+ convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValue;
850
850
  };
851
851
  ias_smoke_alarm_1_develco: {
852
852
  cluster: string;
@@ -1608,8 +1608,9 @@ declare const converters: {
1608
1608
  DNCKAT_S00X_buttons: {
1609
1609
  cluster: string;
1610
1610
  type: string[];
1611
- options: exposes.Binary[];
1612
- convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValueAny;
1611
+ convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => {
1612
+ action: string;
1613
+ };
1613
1614
  };
1614
1615
  hue_motion_sensitivity: {
1615
1616
  cluster: string;
@@ -1634,14 +1635,12 @@ declare const converters: {
1634
1635
  };
1635
1636
  CCTSwitch_D0001_levelctrl: {
1636
1637
  cluster: string;
1637
- options: exposes.Binary[];
1638
1638
  type: string[];
1639
1639
  convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValueAny;
1640
1640
  };
1641
1641
  CCTSwitch_D0001_lighting: {
1642
1642
  cluster: string;
1643
1643
  type: string[];
1644
- options: exposes.Binary[];
1645
1644
  convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValueAny;
1646
1645
  };
1647
1646
  hue_wall_switch: {
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAkvK7E,QAAA,MAAM,UAAU;;;;;;;;;;;;QAjXR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3qIH;;;WAGG;;;;;;QAkCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA4rHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAo0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -469,10 +469,9 @@ const converters1 = {
469
469
  cluster: 'msIlluminanceMeasurement',
470
470
  type: ['attributeReport', 'readResponse'],
471
471
  convert: (model, msg, publish, options, meta) => {
472
- // DEPRECATED: only return lux here (change illuminance_lux -> illuminance)
473
472
  const illuminance = msg.data['measuredValue'];
474
473
  const illuminanceLux = illuminance === 0 ? 0 : Math.pow(10, (illuminance - 1) / 10000);
475
- return { illuminance: illuminance, illuminance_lux: illuminanceLux };
474
+ return { illuminance: illuminanceLux };
476
475
  },
477
476
  },
478
477
  pressure: {
@@ -1879,13 +1878,38 @@ const converters1 = {
1879
1878
  elko_thermostat: {
1880
1879
  cluster: 'hvacThermostat',
1881
1880
  type: ['attributeReport', 'readResponse'],
1881
+ options: [exposes.options.local_temperature_based_on_sensor()],
1882
1882
  convert: (model, msg, publish, options, meta) => {
1883
- const result = {};
1883
+ const result = converters1.thermostat.convert(model, msg, publish, options, meta);
1884
1884
  const data = msg.data;
1885
+ if (data.localTemp !== undefined) {
1886
+ const value = (0, utils_1.precisionRound)(msg.data['localTemp'], 2) / 100;
1887
+ const valuesFloorSensor = ['floor', 'supervisor_floor'];
1888
+ const sensorType = meta.state.sensor;
1889
+ const floorTemperature = meta.state.floor_temp;
1890
+ if (valuesFloorSensor.includes(sensorType) && options.local_temperature_based_on_sensor) {
1891
+ result[(0, utils_1.postfixWithEndpointName)('local_temperature', msg, model, meta)] = floorTemperature / 100;
1892
+ }
1893
+ else {
1894
+ if (value >= -273.15) {
1895
+ result[(0, utils_1.postfixWithEndpointName)('local_temperature', msg, model, meta)] = value;
1896
+ }
1897
+ }
1898
+ }
1885
1899
  if (data.elkoDisplayText !== undefined) {
1886
1900
  // Display text
1887
1901
  result.display_text = data['elkoDisplayText'];
1888
1902
  }
1903
+ if (data.elkoSensor !== undefined) {
1904
+ // Sensor
1905
+ const sensorModeLookup = {
1906
+ 0: 'air',
1907
+ 1: 'floor',
1908
+ 3: 'supervisor_floor',
1909
+ };
1910
+ const value = utils.getFromLookup(data['elkoSensor'], sensorModeLookup);
1911
+ result.sensor = value;
1912
+ }
1889
1913
  if (data.elkoPowerStatus !== undefined) {
1890
1914
  // Power status
1891
1915
  result.system_mode = data['elkoPowerStatus'] ? 'heat' : 'off';
@@ -1902,6 +1926,34 @@ const converters1 = {
1902
1926
  // Calibration
1903
1927
  result.local_temperature_calibration = (0, utils_1.precisionRound)(data['elkoCalibration'], 2) / 10;
1904
1928
  }
1929
+ if (data.elkoLoad !== undefined) {
1930
+ // Load
1931
+ result.load = data['elkoLoad'];
1932
+ }
1933
+ if (data.elkoRegulatorMode !== undefined) {
1934
+ // Regulator mode
1935
+ result.regulator_mode = data['elkoRegulatorMode'] ? 'regulator' : 'thermostat';
1936
+ }
1937
+ if (data.elkoMeanPower !== undefined) {
1938
+ // Mean power
1939
+ result.mean_power = data['elkoMeanPower'];
1940
+ }
1941
+ if (data.elkoNightSwitching !== undefined) {
1942
+ // Night switching
1943
+ result.night_switching = data['elkoNightSwitching'] ? 'on' : 'off';
1944
+ }
1945
+ if (data.elkoFrostGuard !== undefined) {
1946
+ // Frost guard
1947
+ result.frost_guard = data['elkoFrostGuard'] ? 'on' : 'off';
1948
+ }
1949
+ if (data.elkoChildLock !== undefined) {
1950
+ // Child lock
1951
+ result.child_lock = data['elkoChildLock'] ? 'lock' : 'unlock';
1952
+ }
1953
+ if (data.elkoMaxFloorTemp !== undefined) {
1954
+ // Max floor temp
1955
+ result.max_floor_temp = data['elkoMaxFloorTemp'];
1956
+ }
1905
1957
  return result;
1906
1958
  },
1907
1959
  },
@@ -2164,7 +2216,7 @@ const converters1 = {
2164
2216
  if (meta.device.manufacturerName === '_TZ3000_cet6ch1r') {
2165
2217
  const endpoint = msg.endpoint.ID;
2166
2218
  const calibrationLookup = { 1: 'up', 2: 'down' };
2167
- result[(0, utils_1.postfixWithEndpointName)(`calibration_time_'${calibrationLookup[endpoint]}'`, msg, model, meta)] = value;
2219
+ result[(0, utils_1.postfixWithEndpointName)(`calibration_time_${calibrationLookup[endpoint]}`, msg, model, meta)] = value;
2168
2220
  }
2169
2221
  else {
2170
2222
  result[(0, utils_1.postfixWithEndpointName)('calibration_time', msg, model, meta)] = value;
@@ -2614,7 +2666,7 @@ const converters1 = {
2614
2666
  W: 'power',
2615
2667
  Hz: 'frequency',
2616
2668
  pf: 'power_factor',
2617
- lx: 'illuminance_lux',
2669
+ lx: 'illuminance',
2618
2670
  };
2619
2671
  let nameAlt = '';
2620
2672
  if (unit === 'A' || unit === 'pf') {
@@ -4021,15 +4073,9 @@ const converters1 = {
4021
4073
  DNCKAT_S00X_buttons: {
4022
4074
  cluster: 'genOnOff',
4023
4075
  type: ['attributeReport', 'readResponse'],
4024
- options: [exposes.options.legacy()],
4025
4076
  convert: (model, msg, publish, options, meta) => {
4026
4077
  const action = msg.data['onOff'] === 1 ? 'release' : 'hold';
4027
- const payload = { action: (0, utils_1.postfixWithEndpointName)(action, msg, model, meta) };
4028
- if ((0, utils_1.isLegacyEnabled)(options)) {
4029
- const key = `button_${(0, utils_1.getKey)(model.endpoint(msg.device), msg.endpoint.ID)}`;
4030
- payload[key] = action;
4031
- }
4032
- return payload;
4078
+ return { action: (0, utils_1.postfixWithEndpointName)(action, msg, model, meta) };
4033
4079
  },
4034
4080
  },
4035
4081
  hue_motion_sensitivity: {
@@ -4063,13 +4109,11 @@ const converters1 = {
4063
4109
  },
4064
4110
  CCTSwitch_D0001_levelctrl: {
4065
4111
  cluster: 'genLevelCtrl',
4066
- options: [exposes.options.legacy()],
4067
4112
  type: ['commandMoveToLevel', 'commandMoveToLevelWithOnOff', 'commandMove', 'commandStop'],
4068
4113
  convert: (model, msg, publish, options, meta) => {
4069
4114
  const payload = {};
4070
4115
  if (msg.type === 'commandMove' || msg.type === 'commandStop') {
4071
4116
  const action = 'brightness';
4072
- payload.click = action;
4073
4117
  if (msg.type === 'commandStop') {
4074
4118
  const direction = globalStore.getValue(msg.endpoint, 'direction');
4075
4119
  const duration = Date.now() - globalStore.getValue(msg.endpoint, 'start');
@@ -4116,29 +4160,19 @@ const converters1 = {
4116
4160
  if (clk != 'memory') {
4117
4161
  globalStore.putValue(msg.endpoint, 'last_seq', msg.meta.zclTransactionSequenceNumber);
4118
4162
  globalStore.putValue(msg.endpoint, 'last_clk', clk);
4119
- payload.click = clk;
4120
4163
  payload.action = cmd;
4121
4164
  }
4122
4165
  }
4123
- if (!(0, utils_1.isLegacyEnabled)(options)) {
4124
- delete payload.click;
4125
- delete payload.duration;
4126
- delete payload.rate;
4127
- delete payload.brightness;
4128
- delete payload.transition;
4129
- }
4130
4166
  return payload;
4131
4167
  },
4132
4168
  },
4133
4169
  CCTSwitch_D0001_lighting: {
4134
4170
  cluster: 'lightingColorCtrl',
4135
4171
  type: ['commandMoveToColorTemp', 'commandMoveColorTemp'],
4136
- options: [exposes.options.legacy()],
4137
4172
  convert: (model, msg, publish, options, meta) => {
4138
4173
  const payload = {};
4139
4174
  if (msg.type === 'commandMoveColorTemp') {
4140
4175
  const clk = 'colortemp';
4141
- payload.click = clk;
4142
4176
  payload.rate = msg.data.rate;
4143
4177
  payload.action_rate = msg.data.rate;
4144
4178
  if (msg.data.movemode === 0) {
@@ -4176,7 +4210,6 @@ const converters1 = {
4176
4210
  // see if it was the recognized start command for button4 - if so, ignore this second command,
4177
4211
  // because it's not really button3, it's actually button4
4178
4212
  if (lastClk == 'memory') {
4179
- payload.click = lastClk;
4180
4213
  payload.action = 'recall';
4181
4214
  payload.brightness = globalStore.getValue(msg.endpoint, 'last_move_level');
4182
4215
  payload.action_brightness = globalStore.getValue(msg.endpoint, 'last_move_level');
@@ -4192,7 +4225,6 @@ const converters1 = {
4192
4225
  // and vice versa.
4193
4226
  const direction = msg.data.colortemp > globalStore.getValue(msg.endpoint, 'last_color_temp') ? 'up' : 'down';
4194
4227
  const cmd = `${clk}_${direction}`;
4195
- payload.click = clk;
4196
4228
  payload.action = cmd;
4197
4229
  globalStore.putValue(msg.endpoint, 'last_color_temp', msg.data.colortemp);
4198
4230
  }
@@ -4201,14 +4233,6 @@ const converters1 = {
4201
4233
  globalStore.putValue(msg.endpoint, 'last_clk', clk);
4202
4234
  }
4203
4235
  }
4204
- if (!(0, utils_1.isLegacyEnabled)(options)) {
4205
- delete payload.click;
4206
- delete payload.rate;
4207
- delete payload.duration;
4208
- delete payload.color_temp;
4209
- delete payload.transition;
4210
- delete payload.brightness;
4211
- }
4212
4236
  return payload;
4213
4237
  },
4214
4238
  },