zigbee-herdsman-converters 19.1.1 → 19.2.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.2.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.1.1...v19.2.0) (2024-03-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** 07767L ([#7211](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7211)) ([fb90742](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fb90742b8c59300ec1bd47eec7e4d441d2fd85da))
9
+ * **add:** HCXDD12LM, CL-L02D ([#7203](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7203)) ([a18cdee](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a18cdee95434aa7b71294a34c34f3703cf18d33b))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **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))
15
+ * Fixes for ptvo.switch ([#7215](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7215)) ([b92e6a5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b92e6a5f702381a398c2970627844f5b53d5eb88))
16
+ * **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))
17
+
3
18
  ## [19.1.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.1.0...v19.1.1) (2024-03-13)
4
19
 
5
20
 
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRo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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKA6oHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAixBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -2127,33 +2127,28 @@ const converters1 = {
2127
2127
  },
2128
2128
  tuya_on_off_action: {
2129
2129
  cluster: 'genOnOff',
2130
- type: 'raw',
2130
+ type: 'commandTuyaAction',
2131
2131
  convert: (model, msg, publish, options, meta) => {
2132
- if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model, msg.data[1]))
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
- // Since it is a non standard ZCL command, no default response is send from zigbee-herdsman
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: 'raw',
2144
+ type: 'commandTuyaAction',
2149
2145
  convert: (model, msg, publish, options, meta) => {
2150
- if ((0, utils_1.hasAlreadyProcessedMessage)(msg, model, msg.data[1]))
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
- msg.endpoint.defaultResponse(0xfd, 0, 6, msg.data[1]).catch((error) => { });
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: {