zigbee-herdsman-converters 19.26.0 → 19.28.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 (57) hide show
  1. package/CHANGELOG.md +33 -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/elko.js +2 -2
  11. package/devices/hornbach.d.ts.map +1 -1
  12. package/devices/hornbach.js +7 -0
  13. package/devices/hornbach.js.map +1 -1
  14. package/devices/innr.d.ts.map +1 -1
  15. package/devices/innr.js +8 -0
  16. package/devices/innr.js.map +1 -1
  17. package/devices/lumi.js +9 -9
  18. package/devices/lumi.js.map +1 -1
  19. package/devices/mercator.js +4 -4
  20. package/devices/mercator.js.map +1 -1
  21. package/devices/moes.d.ts.map +1 -1
  22. package/devices/moes.js +14 -6
  23. package/devices/moes.js.map +1 -1
  24. package/devices/namron.js +1 -1
  25. package/devices/namron.js.map +1 -1
  26. package/devices/nous.d.ts.map +1 -1
  27. package/devices/nous.js +1 -0
  28. package/devices/nous.js.map +1 -1
  29. package/devices/philips.js +1 -1
  30. package/devices/philips.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/sonoff.d.ts.map +1 -1
  37. package/devices/sonoff.js +44 -20
  38. package/devices/sonoff.js.map +1 -1
  39. package/devices/sunricher.js +1 -1
  40. package/devices/sunricher.js.map +1 -1
  41. package/devices/tuya.d.ts.map +1 -1
  42. package/devices/tuya.js +94 -57
  43. package/devices/tuya.js.map +1 -1
  44. package/devices/ubisys.js +3 -3
  45. package/devices/ubisys.js.map +1 -1
  46. package/devices/vesternet.js +1 -1
  47. package/devices/vesternet.js.map +1 -1
  48. package/index.d.ts.map +1 -1
  49. package/index.js +12 -7
  50. package/index.js.map +1 -1
  51. package/lib/modernExtend.d.ts +3 -1
  52. package/lib/modernExtend.d.ts.map +1 -1
  53. package/lib/modernExtend.js +5 -3
  54. package/lib/modernExtend.js.map +1 -1
  55. package/lib/utils.js +1 -1
  56. package/lib/utils.js.map +1 -1
  57. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.28.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.27.0...v19.28.0) (2024-04-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * **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))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Fix configure failing for `_TZ3290_gnl5a6a5xvql7c2a` https://github.com/Koenkk/zigbee2mqtt/issues/22312 ([d558b55](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d558b550d82c822872eea9f28f9e2047756982b8))
14
+ * **ignore:** fix 99613a7a522f916cc3a0bfc2b52ac26363c07b3a ([99af051](https://github.com/Koenkk/zigbee-herdsman-converters/commit/99af051397753f44c9f3de7e3eb0afb679b6de7e))
15
+ * **ignore:** fix d558b550d82c822872eea9f28f9e2047756982b8 ([915f784](https://github.com/Koenkk/zigbee-herdsman-converters/commit/915f784da0b77640b6da00a1b5f2af233eb316eb))
16
+ * 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))
17
+ * 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))
18
+ * 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))
19
+
20
+ ## [19.27.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.26.0...v19.27.0) (2024-04-23)
21
+
22
+
23
+ ### Features
24
+
25
+ * Add custom cluster for SONOFF TRVZB ([#7432](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7432)) ([99613a7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/99613a7a522f916cc3a0bfc2b52ac26363c07b3a))
26
+ * **add:** RB 243 ([#7425](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7425)) ([7ee566b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7ee566b85c310c9f1b9cecb63d78e609d3b216e1))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **detect:** Detect `_TZE200_snloy4rwz` as Nous SZ-T04 ([#7424](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7424)) ([cd2670f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/cd2670fd4e604f701269034f1855bd78cba04b57))
32
+ * **detect:** Detect `440400982843` as Philips 915005733701 ([#7428](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7428)) ([edc9fb9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/edc9fb974808801fe278a3d6c041a78af4b23f59))
33
+ * **ignore:** update zigbee-herdsman to 0.43.0 ([#7431](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7431)) ([f93b210](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f93b2105188b7cf96b264bcf2cc163ddb583aa5a))
34
+ * Increase Elko 4523430 max load ([#7430](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7430)) ([85c1cd1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/85c1cd1a7ffba2ab7b0e9b8549bb4dda67dfa39c))
35
+
3
36
  ## [19.26.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.25.0...v19.26.0) (2024-04-21)
4
37
 
5
38
 
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAtgIH;;;WAGG;;;;;;QAoCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKA+gHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
  },