zigbee-herdsman-converters 19.1.1 → 19.2.1
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 +22 -0
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +6 -11
- package/converters/fromZigbee.js.map +1 -1
- package/devices/custom_devices_diy.js +2 -2
- package/devices/custom_devices_diy.js.map +1 -1
- package/devices/immax.d.ts.map +1 -1
- package/devices/immax.js +10 -0
- package/devices/immax.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +34 -10
- package/devices/lumi.js.map +1 -1
- package/devices/tuya.js +1 -1
- package/devices/tuya.js.map +1 -1
- package/lib/lumi.d.ts +2 -0
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +5 -2
- package/lib/lumi.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.2.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.2.0...v19.2.1) (2024-03-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ignore:** fix a18cdee95434aa7b71294a34c34f3703cf18d33b ([3770d59](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3770d59b11ad9397a03fc9b9ca0e0003e55fff5a))
|
|
9
|
+
|
|
10
|
+
## [19.2.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.1.1...v19.2.0) (2024-03-14)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **add:** 07767L ([#7211](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7211)) ([fb90742](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fb90742b8c59300ec1bd47eec7e4d441d2fd85da))
|
|
16
|
+
* **add:** HCXDD12LM, CL-L02D ([#7203](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7203)) ([a18cdee](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a18cdee95434aa7b71294a34c34f3703cf18d33b))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **detect:** Detect `_TZE200_lawxy9e2` as TuYa TS0601_fan_switch [@dotosouza](https://github.com/dotosouza) https://github.com/Koenkk/zigbee2mqtt/issues/21787 ([6eeeb73](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6eeeb73a02d213c1c249cc9929ab6a0b736e059f))
|
|
22
|
+
* Fixes for ptvo.switch ([#7215](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7215)) ([b92e6a5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b92e6a5f702381a398c2970627844f5b53d5eb88))
|
|
23
|
+
* **ignore:** Fix no action for TuYa TS004X devices https://github.com/Koenkk/zigbee2mqtt/issues/21784 ([9e4e1fd](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9e4e1fd8b65a8acb5f5efc460f44414f5e83dc88))
|
|
24
|
+
|
|
3
25
|
## [19.1.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.1.0...v19.1.1) (2024-03-13)
|
|
4
26
|
|
|
5
27
|
|
|
@@ -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;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAixBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
|
package/converters/fromZigbee.js
CHANGED
|
@@ -2127,33 +2127,28 @@ const converters1 = {
|
|
|
2127
2127
|
},
|
|
2128
2128
|
tuya_on_off_action: {
|
|
2129
2129
|
cluster: 'genOnOff',
|
|
2130
|
-
type: '
|
|
2130
|
+
type: 'commandTuyaAction',
|
|
2131
2131
|
convert: (model, msg, publish, options, meta) => {
|
|
2132
|
-
if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model
|
|
2132
|
+
if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model))
|
|
2133
2133
|
return;
|
|
2134
2134
|
const clickMapping = { 0: 'single', 1: 'double', 2: 'hold' };
|
|
2135
2135
|
const buttonMapping = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8' };
|
|
2136
2136
|
// TS004F has single endpoint, TS0041A/TS0041 can have multiple but have just one button
|
|
2137
2137
|
const button = msg.device.endpoints.length == 1 || ['TS0041A', 'TS0041'].includes(msg.device.modelID) ?
|
|
2138
2138
|
'' : `${buttonMapping[msg.endpoint.ID]}_`;
|
|
2139
|
-
|
|
2140
|
-
// Send the defaultResponse here, otherwise the second button click delays.
|
|
2141
|
-
// https://github.com/Koenkk/zigbee2mqtt/issues/8149
|
|
2142
|
-
msg.endpoint.defaultResponse(0xfd, 0, 6, msg.data[1]).catch((error) => { });
|
|
2143
|
-
return { action: `${button}${clickMapping[msg.data[3]]}` };
|
|
2139
|
+
return { action: `${button}${clickMapping[msg.data.value]}` };
|
|
2144
2140
|
},
|
|
2145
2141
|
},
|
|
2146
2142
|
tuya_switch_scene: {
|
|
2147
2143
|
cluster: 'genOnOff',
|
|
2148
|
-
type: '
|
|
2144
|
+
type: 'commandTuyaAction',
|
|
2149
2145
|
convert: (model, msg, publish, options, meta) => {
|
|
2150
|
-
if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model
|
|
2146
|
+
if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model))
|
|
2151
2147
|
return;
|
|
2152
2148
|
// Since it is a non standard ZCL command, no default response is send from zigbee-herdsman
|
|
2153
2149
|
// Send the defaultResponse here, otherwise the second button click delays.
|
|
2154
2150
|
// https://github.com/Koenkk/zigbee2mqtt/issues/8149
|
|
2155
|
-
|
|
2156
|
-
return { action: 'switch_scene', action_scene: msg.data[3] };
|
|
2151
|
+
return { action: 'switch_scene', action_scene: msg.data.value };
|
|
2157
2152
|
},
|
|
2158
2153
|
},
|
|
2159
2154
|
livolo_switch_state: {
|