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.
- package/CHANGELOG.md +33 -0
- package/converters/fromZigbee.d.ts +0 -7
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +0 -14
- package/converters/fromZigbee.js.map +1 -1
- package/devices/bituo_technik.d.ts.map +1 -1
- package/devices/bituo_technik.js +4 -0
- package/devices/bituo_technik.js.map +1 -1
- package/devices/bosch.d.ts.map +1 -1
- package/devices/bosch.js +117 -40
- package/devices/bosch.js.map +1 -1
- package/devices/cleverio.js +1 -1
- package/devices/cleverio.js.map +1 -1
- package/devices/custom_devices_diy.d.ts.map +1 -1
- package/devices/custom_devices_diy.js +24 -0
- package/devices/custom_devices_diy.js.map +1 -1
- package/devices/frient.d.ts.map +1 -1
- package/devices/frient.js +11 -0
- package/devices/frient.js.map +1 -1
- package/devices/ikea.js +4 -4
- package/devices/ikea.js.map +1 -1
- package/devices/immax.js +1 -1
- package/devices/immax.js.map +1 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +2 -0
- package/devices/index.js.map +1 -1
- package/devices/lidl.js +1 -1
- package/devices/lidl.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +27 -0
- package/devices/lumi.js.map +1 -1
- package/devices/philips.d.ts.map +1 -1
- package/devices/philips.js +7 -0
- package/devices/philips.js.map +1 -1
- package/devices/sber.d.ts +4 -0
- package/devices/sber.d.ts.map +1 -0
- package/devices/sber.js +60 -0
- package/devices/sber.js.map +1 -0
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +39 -14
- package/devices/tuya.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/lib/ikea.d.ts +6 -2
- package/lib/ikea.d.ts.map +1 -1
- package/lib/ikea.js +3 -10
- package/lib/ikea.js.map +1 -1
- package/lib/modernExtend.d.ts +2 -1
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +7 -7
- package/lib/modernExtend.js.map +1 -1
- package/lib/tuya.d.ts +12 -0
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +29 -0
- package/lib/tuya.js.map +1 -1
- 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;
|
|
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;AAq/J1C,QAAA,MAAM,UAAU;;;;;;;;;;;;QA9TR;;WAEG;;;;;;;;;;;;;;;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 @@ 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',
|