zigbee-herdsman-converters 20.28.0 → 20.30.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 (68) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +9 -11
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/converters/toZigbee.d.ts.map +1 -1
  6. package/converters/toZigbee.js +9 -1
  7. package/converters/toZigbee.js.map +1 -1
  8. package/devices/adeo.d.ts.map +1 -1
  9. package/devices/adeo.js +2 -0
  10. package/devices/adeo.js.map +1 -1
  11. package/devices/candeo.d.ts.map +1 -1
  12. package/devices/candeo.js +118 -13
  13. package/devices/candeo.js.map +1 -1
  14. package/devices/custom_devices_diy.d.ts.map +1 -1
  15. package/devices/custom_devices_diy.js +5 -2
  16. package/devices/custom_devices_diy.js.map +1 -1
  17. package/devices/frient.d.ts.map +1 -1
  18. package/devices/frient.js +13 -40
  19. package/devices/frient.js.map +1 -1
  20. package/devices/index.d.ts.map +1 -1
  21. package/devices/index.js +2 -0
  22. package/devices/index.js.map +1 -1
  23. package/devices/lixee.js +1 -1
  24. package/devices/lixee.js.map +1 -1
  25. package/devices/philio.d.ts +4 -0
  26. package/devices/philio.d.ts.map +1 -0
  27. package/devices/philio.js +16 -0
  28. package/devices/philio.js.map +1 -0
  29. package/devices/sengled.d.ts.map +1 -1
  30. package/devices/sengled.js +3 -1
  31. package/devices/sengled.js.map +1 -1
  32. package/devices/shinasystem.d.ts.map +1 -1
  33. package/devices/shinasystem.js +35 -0
  34. package/devices/shinasystem.js.map +1 -1
  35. package/devices/third_reality.d.ts.map +1 -1
  36. package/devices/third_reality.js +12 -6
  37. package/devices/third_reality.js.map +1 -1
  38. package/devices/tuya.d.ts.map +1 -1
  39. package/devices/tuya.js +29 -3
  40. package/devices/tuya.js.map +1 -1
  41. package/devices/xyzroe.d.ts.map +1 -1
  42. package/devices/xyzroe.js +26 -0
  43. package/devices/xyzroe.js.map +1 -1
  44. package/lib/develco.d.ts +2 -0
  45. package/lib/develco.d.ts.map +1 -1
  46. package/lib/develco.js +20 -0
  47. package/lib/develco.js.map +1 -1
  48. package/lib/exposes.d.ts +1 -1
  49. package/lib/exposes.d.ts.map +1 -1
  50. package/lib/exposes.js +2 -2
  51. package/lib/exposes.js.map +1 -1
  52. package/lib/modernExtend.d.ts +9 -6
  53. package/lib/modernExtend.d.ts.map +1 -1
  54. package/lib/modernExtend.js +67 -7
  55. package/lib/modernExtend.js.map +1 -1
  56. package/lib/ota/index.d.ts +1 -2
  57. package/lib/ota/index.d.ts.map +1 -1
  58. package/lib/ota/index.js +1 -3
  59. package/lib/ota/index.js.map +1 -1
  60. package/lib/tuya.d.ts +7 -2
  61. package/lib/tuya.d.ts.map +1 -1
  62. package/lib/tuya.js +13 -0
  63. package/lib/tuya.js.map +1 -1
  64. package/package.json +1 -1
  65. package/lib/ota/lixee.d.ts +0 -11
  66. package/lib/ota/lixee.d.ts.map +0 -1
  67. package/lib/ota/lixee.js +0 -76
  68. package/lib/ota/lixee.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [20.30.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.29.0...v20.30.0) (2024-10-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** 3RCB01057Z ([#8149](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8149)) ([d10a64e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d10a64e7fb36ef19a84b860c4d3268f3dfd8dd87))
9
+ * **add:** FZB-3 ([#8152](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8152)) ([6be6a87](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6be6a87bafe9ca668896598e7aad580e5e7b880f))
10
+ * **add:** M8Pro [@turbofex](https://github.com/turbofex) https://github.com/Koenkk/zigbee2mqtt/issues/23812 ([ea9d562](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ea9d5626e632395fbea6d7f19f27cfbb06e8c227))
11
+ * **add:** PAT04-A ([#8153](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8153)) ([6e1895e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6e1895e07fdac426fab54111fd6807efc64ba03e))
12
+ * **add:** SLZB-0xp7 https://github.com/Koenkk/zigbee2mqtt/issues/24379 ([a1f4495](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a1f4495a127f6783368849b7a7c85ffba20f6e95))
13
+ * **add:** SQM300Z4, SQM300Z6 ([#8154](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8154)) ([902596e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/902596ef64ae2111acd3cb00271a72ce1faec0d1))
14
+ * **add:** WS-US-ZB ([#8148](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8148)) ([9102e9d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9102e9d4029b75b1db036fe98d50d9930898c5e2))
15
+ * **add:** ZigUSB_C6 ([#8120](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8120)) ([ba5a32d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ba5a32ddc6b77432d279c0902c597eb0a9702672))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * Allow reporting minimum to be specified in device file for electricityMeter configuration ([#8123](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8123)) ([ebd3b74](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ebd3b74f8ec810285c078787a13cd29ec4e7facf))
21
+
22
+ ## [20.29.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.28.0...v20.29.0) (2024-10-16)
23
+
24
+
25
+ ### Features
26
+
27
+ * Add ota to SIN-4-FP-21_EQU ([#8146](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8146)) ([9445044](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9445044b99cb8d1951888ca5cae34b4c27cec7b4))
28
+ * **add:** C-ZB-LC20-RGBW, C-ZB-LC20-RGBCCT, C-ZB-LC20-RGB, C-ZB-LC20-Dim, C-ZB-LC20-CCT ([#8142](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8142)) ([5ead414](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5ead414316a4314ee25114037e5256c863deeaee))
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **detect:** Detect `_TZ3000_jwcixnrz` as Tuya TS0215A_remote https://github.com/Koenkk/zigbee2mqtt/issues/4951 ([6336044](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6336044e51897577e00d6cb26105a1eebeea9c44))
34
+ * **detect:** Detect `_TZE200_kds0pmmv` as Tuya TV02-Zigbee https://github.com/Koenkk/zigbee2mqtt/issues/24335 ([d1e5bb8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d1e5bb847942cc38195a1d0acf74fe569638cff1))
35
+ * Fix power source unknown for various Tuya lights https://github.com/Koenkk/zigbee2mqtt/issues/24340 ([70f1d77](https://github.com/Koenkk/zigbee-herdsman-converters/commit/70f1d77eb7f9f36e17a9041d75cf5996e9a075d9))
36
+ * update 3r product ([#8144](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8144)) ([bfdf450](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bfdf450eb7e7f1b994f2ba10505a2b1b49ca2bae))
37
+ * Update frient powermeter led 2 ([#8044](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8044)) ([6e84179](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6e841795d6c7358b6a08aff28a522d0547debf34))
38
+ * Use zigbeeOTA for Lixee ([#8136](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8136)) ([54481a6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/54481a6be6c1f255f75d455ae7123a66a8315bbf))
39
+
3
40
  ## [20.28.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.27.2...v20.28.0) (2024-10-14)
4
41
 
5
42
 
@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA8qHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAo0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -711,17 +711,15 @@ const converters1 = {
711
711
  const property = (0, utils_1.postfixWithEndpointName)('power', msg, model, meta);
712
712
  payload[property] = power;
713
713
  }
714
- if (factor != null && (msg.data.currentSummDelivered !== undefined || msg.data.currentSummReceived !== undefined)) {
715
- if (msg.data.currentSummDelivered !== undefined) {
716
- const value = msg.data['currentSummDelivered'];
717
- const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
718
- payload[property] = value * factor;
719
- }
720
- if (msg.data.currentSummReceived !== undefined) {
721
- const value = msg.data['currentSummReceived'];
722
- const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
723
- payload[property] = value * factor;
724
- }
714
+ if (msg.data.currentSummDelivered !== undefined) {
715
+ const value = msg.data['currentSummDelivered'];
716
+ const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
717
+ payload[property] = value * (factor ?? 1);
718
+ }
719
+ if (msg.data.currentSummReceived !== undefined) {
720
+ const value = msg.data['currentSummReceived'];
721
+ const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
722
+ payload[property] = value * (factor ?? 1);
725
723
  }
726
724
  return payload;
727
725
  },