zigbee-herdsman-converters 19.27.0 → 19.29.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 (80) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +12 -6
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/devices/aurora_lighting.js +1 -1
  6. package/devices/aurora_lighting.js.map +1 -1
  7. package/devices/custom_devices_diy.d.ts.map +1 -1
  8. package/devices/custom_devices_diy.js +18 -10
  9. package/devices/custom_devices_diy.js.map +1 -1
  10. package/devices/gledopto.d.ts.map +1 -1
  11. package/devices/gledopto.js +11 -9
  12. package/devices/gledopto.js.map +1 -1
  13. package/devices/hornbach.d.ts.map +1 -1
  14. package/devices/hornbach.js +7 -0
  15. package/devices/hornbach.js.map +1 -1
  16. package/devices/lifecontrol.d.ts.map +1 -1
  17. package/devices/lifecontrol.js +13 -8
  18. package/devices/lifecontrol.js.map +1 -1
  19. package/devices/ls.js +1 -1
  20. package/devices/ls.js.map +1 -1
  21. package/devices/lumi.d.ts.map +1 -1
  22. package/devices/lumi.js +27 -14
  23. package/devices/lumi.js.map +1 -1
  24. package/devices/mercator.js +4 -4
  25. package/devices/mercator.js.map +1 -1
  26. package/devices/moes.d.ts.map +1 -1
  27. package/devices/moes.js +21 -6
  28. package/devices/moes.js.map +1 -1
  29. package/devices/namron.js +1 -1
  30. package/devices/namron.js.map +1 -1
  31. package/devices/robb.js +1 -1
  32. package/devices/robb.js.map +1 -1
  33. package/devices/samotech.d.ts.map +1 -1
  34. package/devices/samotech.js +1 -0
  35. package/devices/samotech.js.map +1 -1
  36. package/devices/sber.d.ts.map +1 -1
  37. package/devices/sber.js +11 -1
  38. package/devices/sber.js.map +1 -1
  39. package/devices/sonoff.d.ts.map +1 -1
  40. package/devices/sonoff.js +11 -12
  41. package/devices/sonoff.js.map +1 -1
  42. package/devices/sunricher.d.ts.map +1 -1
  43. package/devices/sunricher.js +8 -1
  44. package/devices/sunricher.js.map +1 -1
  45. package/devices/tuya.d.ts.map +1 -1
  46. package/devices/tuya.js +95 -58
  47. package/devices/tuya.js.map +1 -1
  48. package/devices/ubisys.js +2 -2
  49. package/devices/ubisys.js.map +1 -1
  50. package/devices/vesternet.js +1 -1
  51. package/devices/vesternet.js.map +1 -1
  52. package/devices/wirenboard.d.ts.map +1 -1
  53. package/devices/wirenboard.js +1 -5
  54. package/devices/wirenboard.js.map +1 -1
  55. package/devices/yale.js +12 -12
  56. package/devices/yale.js.map +1 -1
  57. package/index.js +1 -1
  58. package/index.js.map +1 -1
  59. package/lib/ewelink.js +1 -1
  60. package/lib/ewelink.js.map +1 -1
  61. package/lib/ikea.d.ts.map +1 -1
  62. package/lib/ikea.js +41 -37
  63. package/lib/ikea.js.map +1 -1
  64. package/lib/lumi.d.ts.map +1 -1
  65. package/lib/lumi.js +5 -3
  66. package/lib/lumi.js.map +1 -1
  67. package/lib/modernExtend.d.ts +5 -1
  68. package/lib/modernExtend.d.ts.map +1 -1
  69. package/lib/modernExtend.js +167 -136
  70. package/lib/modernExtend.js.map +1 -1
  71. package/lib/philips.js +2 -4
  72. package/lib/philips.js.map +1 -1
  73. package/lib/tuya.js +1 -1
  74. package/lib/tuya.js.map +1 -1
  75. package/lib/types.d.ts +1 -1
  76. package/lib/types.d.ts.map +1 -1
  77. package/lib/ubisys.d.ts.map +1 -1
  78. package/lib/ubisys.js +1 -1
  79. package/lib/ubisys.js.map +1 -1
  80. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.29.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.28.0...v19.29.0) (2024-04-27)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** HK-SL-DIM-US-A ([#7445](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7445)) ([311c378](https://github.com/Koenkk/zigbee-herdsman-converters/commit/311c378f97d3e294f99554fc4849a908755a83a9))
9
+ * **add:** SBDV-00154 ([#7446](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7446)) ([4b40445](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4b404450b2613e553b717b3d9554f690ac38e227))
10
+ * **add:** ZWV-YC [@hyperlogic-dev](https://github.com/hyperlogic-dev) https://github.com/Koenkk/zigbee2mqtt/issues/21788 ([4b57e3e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4b57e3e40b6be6fdccd304f629f8083c89a11581))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Add Yandex whitelabels ([#7447](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7447)) ([7cf138a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7cf138ab02fb8a279133a928168c9baf51eea71f))
16
+ * **detect:** Detect `_TZE200_g5xqosu7` as TuYa TS0601_cover_8 @Killi77 https://github.com/Koenkk/zigbee-herdsman-converters/issues/7308 ([43a1a05](https://github.com/Koenkk/zigbee-herdsman-converters/commit/43a1a0591861745b81a3d12999d7f3ff6a8931a0))
17
+ * Refactor modernExtend configure to array ([#7444](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7444)) ([b876f55](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b876f557a623be8c1cd2a9cce114be58e134de83))
18
+ * Update WS-K01D description ([#7448](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7448)) ([d5fd600](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d5fd60033abe6f7adebda0588a947171badf83db))
19
+
20
+ ## [19.28.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.27.0...v19.28.0) (2024-04-25)
21
+
22
+
23
+ ### Features
24
+
25
+ * **add:** VIYU_C35_470_CCT_10454468 ([#7435](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7435)) ([260daff](https://github.com/Koenkk/zigbee-herdsman-converters/commit/260daff06201ec1bd47f6d78dbb27bfd2d78c81b))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * Fix configure failing for `_TZ3290_gnl5a6a5xvql7c2a` https://github.com/Koenkk/zigbee2mqtt/issues/22312 ([d558b55](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d558b550d82c822872eea9f28f9e2047756982b8))
31
+ * **ignore:** fix 99613a7a522f916cc3a0bfc2b52ac26363c07b3a ([99af051](https://github.com/Koenkk/zigbee-herdsman-converters/commit/99af051397753f44c9f3de7e3eb0afb679b6de7e))
32
+ * **ignore:** fix d558b550d82c822872eea9f28f9e2047756982b8 ([915f784](https://github.com/Koenkk/zigbee-herdsman-converters/commit/915f784da0b77640b6da00a1b5f2af233eb316eb))
33
+ * Improvements for FORIA and LEDRON devices ([#7437](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7437)) ([3d5322a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3d5322a59f46057b0db634438bb3a663506d5196))
34
+ * Improvements for PTVO ([@ptvoinfo](https://github.com/ptvoinfo)) ([#7443](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7443)) ([68b6e08](https://github.com/Koenkk/zigbee-herdsman-converters/commit/68b6e087227a9419739ad1a986712e4d9a119209))
35
+ * Refactor F00YK04-18-1 to modernExtend ([#7439](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7439)) ([f01909f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f01909f88622efdfa5136cc1d5417490714f90f7))
36
+
3
37
  ## [19.27.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.26.0...v19.27.0) (2024-04-23)
4
38
 
5
39
 
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,EAAE,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAKnE,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAw/J1C,QAAA,MAAM,UAAU;;;;;;;;;;;;QA9TR;;WAEG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4wBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -698,19 +698,22 @@ const converters1 = {
698
698
  if (factor != null) {
699
699
  power = (power * factor) * 1000; // kWh to Watt
700
700
  }
701
- payload.power = power;
701
+ const property = (0, utils_1.postfixWithEndpointName)('power', msg, model, meta);
702
+ payload[property] = power;
702
703
  }
703
704
  if (factor != null && (msg.data.hasOwnProperty('currentSummDelivered') ||
704
705
  msg.data.hasOwnProperty('currentSummReceived'))) {
705
706
  if (msg.data.hasOwnProperty('currentSummDelivered')) {
706
707
  const data = msg.data['currentSummDelivered'];
707
708
  const value = (parseInt(data[0]) << 32) + parseInt(data[1]);
708
- payload.energy = value * factor;
709
+ const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
710
+ payload[property] = value * factor;
709
711
  }
710
712
  if (msg.data.hasOwnProperty('currentSummReceived')) {
711
713
  const data = msg.data['currentSummReceived'];
712
714
  const value = (parseInt(data[0]) << 32) + parseInt(data[1]);
713
- payload.produced_energy = value * factor;
715
+ const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
716
+ payload[property] = value * factor;
714
717
  }
715
718
  }
716
719
  return payload;
@@ -763,13 +766,16 @@ const converters1 = {
763
766
  }
764
767
  }
765
768
  if (msg.data.hasOwnProperty('powerFactor')) {
766
- payload.power_factor = (0, utils_1.precisionRound)(msg.data['powerFactor'] / 100, 2);
769
+ const property = (0, utils_1.postfixWithEndpointName)('power_factor', msg, model, meta);
770
+ payload[property] = (0, utils_1.precisionRound)(msg.data['powerFactor'] / 100, 2);
767
771
  }
768
772
  if (msg.data.hasOwnProperty('powerFactorPhB')) {
769
- payload.power_factor_phase_b = (0, utils_1.precisionRound)(msg.data['powerFactorPhB'] / 100, 2);
773
+ const property = (0, utils_1.postfixWithEndpointName)('power_factor_phase_b', msg, model, meta);
774
+ payload[property] = (0, utils_1.precisionRound)(msg.data['powerFactorPhB'] / 100, 2);
770
775
  }
771
776
  if (msg.data.hasOwnProperty('powerFactorPhC')) {
772
- payload.power_factor_phase_c = (0, utils_1.precisionRound)(msg.data['powerFactorPhC'] / 100, 2);
777
+ const property = (0, utils_1.postfixWithEndpointName)('power_factor_phase_c', msg, model, meta);
778
+ payload[property] = (0, utils_1.precisionRound)(msg.data['powerFactorPhC'] / 100, 2);
773
779
  }
774
780
  return payload;
775
781
  },