zigbee-herdsman-converters 19.15.0 → 19.17.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 (56) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/converters/fromZigbee.d.ts +0 -7
  3. package/converters/fromZigbee.d.ts.map +1 -1
  4. package/converters/fromZigbee.js +0 -14
  5. package/converters/fromZigbee.js.map +1 -1
  6. package/devices/bituo_technik.d.ts.map +1 -1
  7. package/devices/bituo_technik.js +4 -0
  8. package/devices/bituo_technik.js.map +1 -1
  9. package/devices/bosch.d.ts.map +1 -1
  10. package/devices/bosch.js +117 -40
  11. package/devices/bosch.js.map +1 -1
  12. package/devices/cleverio.js +1 -1
  13. package/devices/cleverio.js.map +1 -1
  14. package/devices/custom_devices_diy.d.ts.map +1 -1
  15. package/devices/custom_devices_diy.js +24 -0
  16. package/devices/custom_devices_diy.js.map +1 -1
  17. package/devices/frient.d.ts.map +1 -1
  18. package/devices/frient.js +11 -0
  19. package/devices/frient.js.map +1 -1
  20. package/devices/ikea.js +4 -4
  21. package/devices/ikea.js.map +1 -1
  22. package/devices/immax.js +1 -1
  23. package/devices/immax.js.map +1 -1
  24. package/devices/index.d.ts.map +1 -1
  25. package/devices/index.js +2 -0
  26. package/devices/index.js.map +1 -1
  27. package/devices/lidl.js +1 -1
  28. package/devices/lidl.js.map +1 -1
  29. package/devices/lumi.d.ts.map +1 -1
  30. package/devices/lumi.js +27 -0
  31. package/devices/lumi.js.map +1 -1
  32. package/devices/philips.d.ts.map +1 -1
  33. package/devices/philips.js +7 -0
  34. package/devices/philips.js.map +1 -1
  35. package/devices/sber.d.ts +4 -0
  36. package/devices/sber.d.ts.map +1 -0
  37. package/devices/sber.js +60 -0
  38. package/devices/sber.js.map +1 -0
  39. package/devices/tuya.d.ts.map +1 -1
  40. package/devices/tuya.js +39 -14
  41. package/devices/tuya.js.map +1 -1
  42. package/index.js +1 -1
  43. package/index.js.map +1 -1
  44. package/lib/ikea.d.ts +6 -2
  45. package/lib/ikea.d.ts.map +1 -1
  46. package/lib/ikea.js +3 -10
  47. package/lib/ikea.js.map +1 -1
  48. package/lib/modernExtend.d.ts +2 -1
  49. package/lib/modernExtend.d.ts.map +1 -1
  50. package/lib/modernExtend.js +7 -7
  51. package/lib/modernExtend.js.map +1 -1
  52. package/lib/tuya.d.ts +12 -0
  53. package/lib/tuya.d.ts.map +1 -1
  54. package/lib/tuya.js +29 -0
  55. package/lib/tuya.js.map +1 -1
  56. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.17.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.16.0...v19.17.0) (2024-04-07)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** alab.switch ([#7342](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7342)) ([7cc28d7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7cc28d7234c7fd1095ece258262b9ff9ad36635e))
9
+ * **add:** SMRZB-153 https://github.com/Koenkk/zigbee2mqtt/issues/21814 ([d75e90b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d75e90b2480314cf4aa7a9ec3213f897639fd6c1))
10
+ * **add:** TS0601_fan_5_levels_and_light_switch ([#7346](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7346)) ([5513fa2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5513fa2ed62aec6a5f3b3dd96c599954cc554852))
11
+ * **add:** ZNXNKG01LM ([#7351](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7351)) ([01074c7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/01074c7131736ce30ccd50a1dc5e4dfbcdd25bbe))
12
+ * Separate Sber devices and add SBDV-00079 ([#7328](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7328)) ([82348a3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/82348a36899f2983d7308b0724e547b73a94dc5b))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * Fix `genLevelCtrl` target cluster type ([#7343](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7343)) ([0625713](https://github.com/Koenkk/zigbee-herdsman-converters/commit/06257135259d03d64dcb9d9606d8ee69934f7bc5))
18
+ * Fix SPM01-U01 and SPM02-U01 not reporting energy ([#7350](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7350)) ([781f691](https://github.com/Koenkk/zigbee-herdsman-converters/commit/781f691dfefb4f7b11c1226d9e089d1871fc8e20))
19
+ * Fixes for Bosch BWA-1 & related converters ([#7345](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7345)) ([abed8b6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/abed8b6eb0521e0717e7fc2b894ac68b1182d5c2))
20
+
21
+ ## [19.16.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.15.0...v19.16.0) (2024-04-06)
22
+
23
+
24
+ ### Features
25
+
26
+ * **add:** 929003555701 ([#7338](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7338)) ([b4fd9f5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b4fd9f5651b7ab72dad9e22eeb74979d8acdb28e))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * Add cluster type option to `setupConfigureForBinding` ([#7337](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7337)) ([56829c0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/56829c0ebcfa2b4baba771dbeb8471ab3877e0ae))
32
+ * **detect:** Detect `_TZE200_lawxy9e2` as TuYa TS0601_fan_and_light_switch https://github.com/Koenkk/zigbee2mqtt/issues/22097 ([a029794](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a029794324964fd3cd0570bc7a304252340916c6))
33
+ * Fix `has multiple 'ota', this is not allowed` error for Hue devices with multiple endpoints https://github.com/Koenkk/zigbee2mqtt/issues/22061 ([f7ab37d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f7ab37d81cfe8603c0d85110f5da76b28f61b4eb))
34
+ * Fix alarm states for Bosch BSD-2 ([#7329](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7329)) ([e8d4e77](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e8d4e77a6cb1f26a2363957e4d62df77b63b9ddb))
35
+
3
36
  ## [19.15.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.14.0...v19.15.0) (2024-04-04)
4
37
 
5
38
 
@@ -928,13 +928,6 @@ declare const converters: {
928
928
  action: string;
929
929
  };
930
930
  };
931
- tuya_on_off_action: {
932
- cluster: string;
933
- type: string;
934
- convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: import("../lib/types").KeyValue, meta: Fz.Meta) => {
935
- action: string;
936
- };
937
- };
938
931
  tuya_switch_scene: {
939
932
  cluster: string;
940
933
  type: string;
@@ -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;AAkgK1C,QAAA,MAAM,UAAU;;;;;;;;;;;;QA9TR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAhhIH;;;WAGG;;;;;;QAoCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKAygHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4wBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -2138,20 +2138,6 @@ const converters1 = {
2138
2138
  return { action: `${clickMapping[msg.data[6]]}` };
2139
2139
  },
2140
2140
  },
2141
- tuya_on_off_action: {
2142
- cluster: 'genOnOff',
2143
- type: 'commandTuyaAction',
2144
- convert: (model, msg, publish, options, meta) => {
2145
- if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model))
2146
- return;
2147
- const clickMapping = { 0: 'single', 1: 'double', 2: 'hold' };
2148
- const buttonMapping = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8' };
2149
- // TS004F has single endpoint, TS0041A/TS0041 can have multiple but have just one button
2150
- const button = msg.device.endpoints.length == 1 || ['TS0041A', 'TS0041'].includes(msg.device.modelID) ?
2151
- '' : `${buttonMapping[msg.endpoint.ID]}_`;
2152
- return { action: `${button}${clickMapping[msg.data.value]}` };
2153
- },
2154
- },
2155
2141
  tuya_switch_scene: {
2156
2142
  cluster: 'genOnOff',
2157
2143
  type: 'commandTuyaAction',