zigbee-herdsman-converters 15.14.0 → 15.15.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 +20 -0
- package/converters/fromZigbee.js +4 -4
- package/converters/fromZigbee.js.map +1 -1
- package/devices/nodon.d.ts +39 -0
- package/devices/nodon.js +2 -0
- package/devices/nodon.js.map +1 -1
- package/lib/exposes.d.ts +21 -21
- package/lib/exposes.js.map +1 -1
- package/lib/tuya.d.ts +1 -1
- package/lib/utils2.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [15.15.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.14.1...v15.15.0) (2023-06-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Support OTA for NodOn SIN-4-RS-20 @AlexisPolegato https://github.com/Koenkk/zigbee-OTA/pull/318 ([96f288b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/96f288b37c6c2d98b795d105a2b49847c434ac47))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Fix incorrect actions for TuYa TS0044. https://github.com/Koenkk/zigbee2mqtt/issues/17862 ([6e91fbb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6e91fbb2947d0d272df6941092b490c2fcf6d5bc))
|
|
14
|
+
* **ignore:** Fix assertNumber https://github.com/Koenkk/zigbee2mqtt/issues/17866 ([2b70550](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2b70550d72675f78490bae23ace168c554f8d223))
|
|
15
|
+
|
|
16
|
+
## [15.14.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.14.0...v15.14.1) (2023-06-01)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **ignore:** Improve Access type check ([beadb08](https://github.com/Koenkk/zigbee-herdsman-converters/commit/beadb081d02a61930ab653c213c291a980dcbb56))
|
|
22
|
+
|
|
3
23
|
## [15.14.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.13.1...v15.14.0) (2023-06-01)
|
|
4
24
|
|
|
5
25
|
|
package/converters/fromZigbee.js
CHANGED
|
@@ -2287,16 +2287,16 @@ const converters = {
|
|
|
2287
2287
|
return;
|
|
2288
2288
|
const clickMapping = { 0: 'single', 1: 'double', 2: 'hold' };
|
|
2289
2289
|
let buttonMapping = null;
|
|
2290
|
-
if (
|
|
2290
|
+
if (msg.device.modelID === 'TS0042') {
|
|
2291
2291
|
buttonMapping = { 1: '1', 2: '2' };
|
|
2292
2292
|
}
|
|
2293
|
-
else if (
|
|
2293
|
+
else if (msg.device.modelID === 'TS0043') {
|
|
2294
2294
|
buttonMapping = { 1: '1', 2: '2', 3: '3' };
|
|
2295
2295
|
}
|
|
2296
|
-
else if (['TS0044', '
|
|
2296
|
+
else if (['TS0044', 'TS004F'].includes(msg.device.modelID)) {
|
|
2297
2297
|
buttonMapping = { 1: '1', 2: '2', 3: '3', 4: '4' };
|
|
2298
2298
|
}
|
|
2299
|
-
else if (['TS0046'].includes(
|
|
2299
|
+
else if (['TS0046'].includes(msg.device.modelID)) {
|
|
2300
2300
|
buttonMapping = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6' };
|
|
2301
2301
|
}
|
|
2302
2302
|
const button = buttonMapping ? `${buttonMapping[msg.endpoint.ID]}_` : '';
|