zigbee-herdsman-converters 18.27.0 → 18.27.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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [18.27.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.27.0...v18.27.1) (2024-02-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **detect:** Detect `_TZE200_e9ba97vf` and `_TZE200_kds0pmmv` as Moes TV01-ZB https://github.com/Koenkk/zigbee2mqtt/issues/21186 ([891a4fb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/891a4fb98348d76421972e1471d3b4af39511b92))
9
+ * **detect:** Detect `_TZE200_sgpeacqp` as TuYa TS0601_smart_human_presence_sensor_1 ([#7005](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7005)) ([4d9d859](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4d9d8593db955fd4aaae7182eb4b24aea890642d))
10
+ * Fix `single_1` instead of `single` action for various TuYa devices https://github.com/Koenkk/zigbee2mqtt/issues/21158 ([c7dc11e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c7dc11ec755d5c37d48d30e745f22a5c7417c80e))
11
+
3
12
  ## [18.27.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.26.0...v18.27.0) (2024-02-03)
4
13
 
5
14
 
@@ -2168,7 +2168,7 @@ const converters1 = {
2168
2168
  return;
2169
2169
  const clickMapping = { 0: 'single', 1: 'double', 2: 'hold' };
2170
2170
  const buttonMapping = { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8' };
2171
- const button = buttonMapping ? `${buttonMapping[msg.endpoint.ID]}_` : '';
2171
+ const button = msg.device.endpoints.length > 1 ? `${buttonMapping[msg.endpoint.ID]}_` : '';
2172
2172
  // Since it is a non standard ZCL command, no default response is send from zigbee-herdsman
2173
2173
  // Send the defaultResponse here, otherwise the second button click delays.
2174
2174
  // https://github.com/Koenkk/zigbee2mqtt/issues/8149