zigbee-herdsman-converters 21.11.0 → 21.13.0

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 (45) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/converters/fromZigbee.js +5 -5
  3. package/converters/fromZigbee.js.map +1 -1
  4. package/converters/toZigbee.d.ts.map +1 -1
  5. package/converters/toZigbee.js +14 -2
  6. package/converters/toZigbee.js.map +1 -1
  7. package/devices/datek.d.ts.map +1 -1
  8. package/devices/datek.js +13 -1
  9. package/devices/datek.js.map +1 -1
  10. package/devices/dresden_elektronik.js +1 -1
  11. package/devices/dresden_elektronik.js.map +1 -1
  12. package/devices/hzc_electric.d.ts.map +1 -1
  13. package/devices/hzc_electric.js +11 -0
  14. package/devices/hzc_electric.js.map +1 -1
  15. package/devices/index.d.ts.map +1 -1
  16. package/devices/index.js +2 -0
  17. package/devices/index.js.map +1 -1
  18. package/devices/lumi.d.ts.map +1 -1
  19. package/devices/lumi.js +8 -0
  20. package/devices/lumi.js.map +1 -1
  21. package/devices/lutron.d.ts.map +1 -1
  22. package/devices/lutron.js +2 -1
  23. package/devices/lutron.js.map +1 -1
  24. package/devices/moes.js +2 -2
  25. package/devices/moes.js.map +1 -1
  26. package/devices/salus_controls.d.ts.map +1 -1
  27. package/devices/salus_controls.js +41 -2
  28. package/devices/salus_controls.js.map +1 -1
  29. package/devices/sonoff.d.ts.map +1 -1
  30. package/devices/sonoff.js +5 -0
  31. package/devices/sonoff.js.map +1 -1
  32. package/devices/tuya.d.ts.map +1 -1
  33. package/devices/tuya.js +174 -7
  34. package/devices/tuya.js.map +1 -1
  35. package/devices/xal.d.ts.map +1 -1
  36. package/devices/xal.js +9 -2
  37. package/devices/xal.js.map +1 -1
  38. package/devices/yokis.d.ts +4 -0
  39. package/devices/yokis.d.ts.map +1 -0
  40. package/devices/yokis.js +2454 -0
  41. package/devices/yokis.js.map +1 -0
  42. package/lib/modernExtend.d.ts.map +1 -1
  43. package/lib/modernExtend.js +5 -1
  44. package/lib/modernExtend.js.map +1 -1
  45. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # Changelog
2
2
 
3
+ ## [21.13.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.12.0...v21.13.0) (2025-01-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** TS0726_3_gang ([#8563](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8563)) ([fcb6184](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fcb6184bffecffbd26713388a1a8b5c444a46d79))
9
+ * Expose battery % for Lutron Z3-1BRL https://github.com/Koenkk/zigbee2mqtt/issues/25361 ([4d72d7b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4d72d7bf1b984e8d3781748cd1893efe9d8f240f))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZ3000_3ias4w4oz` as Nedis ZBPO130FWT ([#8552](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8552)) ([7e7e28a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7e7e28affbbd423bd5c6b1a20372c27cfc1066cc))
15
+ * **detect:** Detect `_TZ3000_jsfzkftc` as Tuya TS0001_power https://github.com/Koenkk/zigbee2mqtt/issues/25426 ([9ee4e02](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9ee4e02bb23fe60e731d1d1fd7e243c57466084f))
16
+ * **detect:** Detect `_TZE204_7bztmfm1` as Tuya TS0601_smart_CO_air_box ([#8559](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8559)) ([07a87da](https://github.com/Koenkk/zigbee-herdsman-converters/commit/07a87da72e71b6fe3327ff01318944296235b947))
17
+ * **detect:** Detect `_TZE204_tzreobvu` as Tuya TOQCB2-80 ([#8562](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8562)) ([18a95b7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/18a95b73f166670618d2680adc29a870cd484546))
18
+ * **detect:** Detect `_TZE284_rccxox8pz` as Tuya PA-44Z ([#8558](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8558)) ([6f44769](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6f4476944b3c3a252cbb4771fa89b6e789d3223f))
19
+ * **detect:** Detect `TH01` as Zbeacon TH01 https://github.com/Koenkk/zigbee2mqtt/issues/25365 ([576ec47](https://github.com/Koenkk/zigbee-herdsman-converters/commit/576ec476a91f96884fe7d05ec8b240e1d9354c07))
20
+ * Fix duplicated Tuya vendor ([#8557](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8557)) ([d031c2b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d031c2b49d27d450e37e830eef82dd55be08842b))
21
+ * Increase BRT-100-TRV step accuracy ([#8561](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8561)) ([bdbd922](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bdbd922e39f19e4103b210ea46ed522d5cac42ea))
22
+
23
+ ## [21.12.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.11.0...v21.12.0) (2025-01-03)
24
+
25
+
26
+ ### Features
27
+
28
+ * Add preset for Salus FC600 ([#8551](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8551)) ([c45179c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c45179c1e7c82731f46c33f84c340f03522130fe))
29
+ * **add:** 050-0511558F ([#8549](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8549)) ([897380f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/897380fca445f24a1716795cbcf8e3529a6407f0))
30
+ * **add:** D692-ZG ([#8534](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8534)) ([d65fcf7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d65fcf7963e2dec53fb507f8d75cae3c5ea0855d))
31
+ * **add:** MTD085-ZB ([#8490](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8490)) ([35f89fb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/35f89fb594c4d12ca7ec058e009346a4ac7d8301))
32
+ * **add:** MTR500E-UP, MTR1300E-UP, MTR2000E-UP, MTV300E-UP, MVR500E-UP, E2BP-UP, E4BP-UP, TLC1-UP, TLC2-UP, TLC4-UP, TLC8-UP, TLM1-UP, TLM2-UP, TLM4-UP, GALET4-UP ([#8537](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8537)) ([099eb66](https://github.com/Koenkk/zigbee-herdsman-converters/commit/099eb666505c4f8796c3ba0d4e5277201610c3b6))
33
+ * Implement PowerOnBehaviour for Aqara T1M lamp (CL-L02D) ([#8550](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8550)) ([e2ae7d6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e2ae7d685ced88b7a1cfa42a785175e49a71f37c))
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * Add endpoint capability to lock type ([#8529](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8529)) ([8f0f023](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8f0f023df4d10477aed23e1b16c335a2d3c9d38a))
39
+ * **detect:** Detect `FLS-PP3\u0000` as Mega23M12 https://github.com/Koenkk/zigbee2mqtt/issues/25382 ([5be3337](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5be3337374c8ee4120966e8cb30b8a80f624391f))
40
+ * Fix configure failure for Datek HSE2905E ([#8546](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8546)) ([979ac52](https://github.com/Koenkk/zigbee-herdsman-converters/commit/979ac527def1e8a5e443004dd2bbffd80aebc019))
41
+ * **ignore:** update dependencies ([#8555](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8555)) ([6214cc0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6214cc084e5137528ec328b23205e2b2d9b0f0e0))
42
+
3
43
  ## [21.11.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.10.0...v21.11.0) (2024-12-30)
4
44
 
5
45
 
@@ -301,15 +301,15 @@ const converters1 = {
301
301
  convert: (model, msg, publish, options, meta) => {
302
302
  const result = {};
303
303
  if (msg.data.lockState !== undefined) {
304
- result.state = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
304
+ result[(0, utils_1.postfixWithEndpointName)('state', msg, model, meta)] = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
305
305
  const lookup = ['not_fully_locked', 'locked', 'unlocked'];
306
- result.lock_state = lookup[msg.data['lockState']];
306
+ result[(0, utils_1.postfixWithEndpointName)('lock_state', msg, model, meta)] = lookup[msg.data['lockState']];
307
307
  }
308
308
  if (msg.data.autoRelockTime !== undefined) {
309
- result.auto_relock_time = msg.data.autoRelockTime;
309
+ result[(0, utils_1.postfixWithEndpointName)('auto_relock_time', msg, model, meta)] = msg.data.autoRelockTime;
310
310
  }
311
311
  if (msg.data.soundVolume !== undefined) {
312
- result.sound_volume = constants.lockSoundVolume[msg.data.soundVolume];
312
+ result[(0, utils_1.postfixWithEndpointName)('sound_volume', msg, model, meta)] = constants.lockSoundVolume[msg.data.soundVolume];
313
313
  }
314
314
  if (msg.data.doorState !== undefined) {
315
315
  const lookup = {
@@ -320,7 +320,7 @@ const converters1 = {
320
320
  4: 'error_unspecified',
321
321
  0xff: 'undefined',
322
322
  };
323
- result.door_state = lookup[msg.data['doorState']];
323
+ result[(0, utils_1.postfixWithEndpointName)('door_state', msg, model, meta)] = lookup[msg.data['doorState']];
324
324
  }
325
325
  return result;
326
326
  },