zigbee-herdsman-converters 20.29.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 (42) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/converters/toZigbee.d.ts.map +1 -1
  3. package/converters/toZigbee.js +9 -1
  4. package/converters/toZigbee.js.map +1 -1
  5. package/devices/custom_devices_diy.d.ts.map +1 -1
  6. package/devices/custom_devices_diy.js +5 -2
  7. package/devices/custom_devices_diy.js.map +1 -1
  8. package/devices/index.d.ts.map +1 -1
  9. package/devices/index.js +2 -0
  10. package/devices/index.js.map +1 -1
  11. package/devices/philio.d.ts +4 -0
  12. package/devices/philio.d.ts.map +1 -0
  13. package/devices/philio.js +16 -0
  14. package/devices/philio.js.map +1 -0
  15. package/devices/sengled.d.ts.map +1 -1
  16. package/devices/sengled.js +3 -1
  17. package/devices/sengled.js.map +1 -1
  18. package/devices/shinasystem.d.ts.map +1 -1
  19. package/devices/shinasystem.js +35 -0
  20. package/devices/shinasystem.js.map +1 -1
  21. package/devices/third_reality.d.ts.map +1 -1
  22. package/devices/third_reality.js +8 -0
  23. package/devices/third_reality.js.map +1 -1
  24. package/devices/tuya.d.ts.map +1 -1
  25. package/devices/tuya.js +26 -1
  26. package/devices/tuya.js.map +1 -1
  27. package/devices/xyzroe.d.ts.map +1 -1
  28. package/devices/xyzroe.js +26 -0
  29. package/devices/xyzroe.js.map +1 -1
  30. package/lib/exposes.d.ts +1 -1
  31. package/lib/exposes.d.ts.map +1 -1
  32. package/lib/exposes.js +2 -2
  33. package/lib/exposes.js.map +1 -1
  34. package/lib/modernExtend.d.ts +9 -6
  35. package/lib/modernExtend.d.ts.map +1 -1
  36. package/lib/modernExtend.js +67 -7
  37. package/lib/modernExtend.js.map +1 -1
  38. package/lib/tuya.d.ts +7 -2
  39. package/lib/tuya.d.ts.map +1 -1
  40. package/lib/tuya.js +12 -0
  41. package/lib/tuya.js.map +1 -1
  42. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
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
+
3
22
  ## [20.29.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.28.0...v20.29.0) (2024-10-16)
4
23
 
5
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAK1C,OAAO,EAAW,WAAW,EAAE,EAAE,EAAC,MAAM,cAAc,CAAC;AAu7IvD,QAAA,MAAM,UAAU;;QAlKR;;;WAGG;;;;mBA3oG8B,WAAW;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAX,WAAW;;;;;;;;;;;;;;;QA4C5C;;;;;;;;;;;WAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm+BS,CAAC;AAEpE,eAAe,UAAU,CAAC"}
@@ -300,7 +300,15 @@ const converters2 = {
300
300
  utils.assertString(value, key);
301
301
  value = value.toLowerCase();
302
302
  const lookup = { off: 0, on: 1, toggle: 2, previous: 255 };
303
- await entity.write('genOnOff', { startUpOnOff: utils.getFromLookup(value, lookup) }, utils.getOptions(meta.mapped, entity));
303
+ try {
304
+ await entity.write('genOnOff', { startUpOnOff: utils.getFromLookup(value, lookup) }, utils.getOptions(meta.mapped, entity));
305
+ }
306
+ catch (e) {
307
+ if (e.message.includes('UNSUPPORTED_ATTRIBUTE')) {
308
+ throw new Error('Got `UNSUPPORTED_ATTRIBUTE` error, device does not support power on behaviour');
309
+ }
310
+ throw e;
311
+ }
304
312
  return { state: { power_on_behavior: value } };
305
313
  },
306
314
  convertGet: async (entity, key, meta) => {