zigbee-herdsman-converters 19.65.0 → 19.67.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +5 -1
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/devices/aeotec.js +1 -1
  6. package/devices/aeotec.js.map +1 -1
  7. package/devices/busch_jaeger.d.ts.map +1 -1
  8. package/devices/busch_jaeger.js +15 -19
  9. package/devices/busch_jaeger.js.map +1 -1
  10. package/devices/index.d.ts.map +1 -1
  11. package/devices/index.js +2 -0
  12. package/devices/index.js.map +1 -1
  13. package/devices/innr.d.ts.map +1 -1
  14. package/devices/innr.js +7 -0
  15. package/devices/innr.js.map +1 -1
  16. package/devices/konke.js +1 -1
  17. package/devices/konke.js.map +1 -1
  18. package/devices/lidl.d.ts.map +1 -1
  19. package/devices/lidl.js +10 -1
  20. package/devices/lidl.js.map +1 -1
  21. package/devices/soma.d.ts +4 -0
  22. package/devices/soma.d.ts.map +1 -0
  23. package/devices/soma.js +15 -0
  24. package/devices/soma.js.map +1 -0
  25. package/devices/tuya.d.ts.map +1 -1
  26. package/devices/tuya.js +198 -3
  27. package/devices/tuya.js.map +1 -1
  28. package/devices/zemismart.d.ts.map +1 -1
  29. package/devices/zemismart.js +35 -0
  30. package/devices/zemismart.js.map +1 -1
  31. package/devices/zigbeetlc.js +8 -8
  32. package/devices/zigbeetlc.js.map +1 -1
  33. package/lib/lumi.d.ts.map +1 -1
  34. package/lib/lumi.js +5 -1
  35. package/lib/lumi.js.map +1 -1
  36. package/lib/modernExtend.d.ts.map +1 -1
  37. package/lib/modernExtend.js +1 -0
  38. package/lib/modernExtend.js.map +1 -1
  39. package/lib/tuya.d.ts.map +1 -1
  40. package/lib/tuya.js +19 -27
  41. package/lib/tuya.js.map +1 -1
  42. package/lib/utils.d.ts +2 -1
  43. package/lib/utils.d.ts.map +1 -1
  44. package/lib/utils.js +45 -6
  45. package/lib/utils.js.map +1 -1
  46. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.67.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.66.0...v19.67.0) (2024-07-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** AE 262 https://github.com/Koenkk/zigbee2mqtt/issues/23318 ([1d35a97](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1d35a97a0e018fade53710931574fe0c4946973f))
9
+ * **add:** TS0601_cover_10 [@ajgon](https://github.com/ajgon) https://github.com/Koenkk/zigbee2mqtt/discussions/19635 ([9446716](https://github.com/Koenkk/zigbee-herdsman-converters/commit/94467162420380dc8f5b8ca6d8e9ccb3fc4353c7))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZ3000_hzlsaltw` as Tuya TS0001_power https://github.com/Koenkk/zigbee2mqtt/issues/23143 ([30a972e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/30a972e19148c6f3c60615a7feb23ca3854be2c3))
15
+ * **detect:** Detect `_TZE200_wktrysab` as Tuya TS0601_switch_8 https://github.com/Koenkk/zigbee2mqtt/issues/23315 ([23aeb42](https://github.com/Koenkk/zigbee-herdsman-converters/commit/23aeb427813172d232ef85bade556a6d73fd9d43))
16
+ * Fix `getFromLookup` when retrieved value is `null` https://github.com/Koenkk/zigbee2mqtt/issues/21357 ([1d71b43](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1d71b43ab6c04303e765787a6ff477401f806f5c))
17
+ * Fix Lumi ZNJLBL01LM position incorrect when device restarts https://github.com/Koenkk/zigbee2mqtt/issues/23056 ([371b6ac](https://github.com/Koenkk/zigbee-herdsman-converters/commit/371b6ac1e241956d3883c6ca58ce0a21137c14b5))
18
+ * Fix missing color command for ZG2858A ([#7757](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7757)) ([fed7357](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fed7357be3798a53a31aee35bfd5769c993e045d))
19
+ * **ignore:** Update tuya.ts ([#7755](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7755)) ([0f09176](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0f0917687d962efcca7788ac392d32fe76afdc16))
20
+
21
+ ## [19.66.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.65.0...v19.66.0) (2024-07-09)
22
+
23
+
24
+ ### Features
25
+
26
+ * **add:** SmartShades3 [@ratsept](https://github.com/ratsept) https://github.com/Koenkk/zigbee2mqtt/issues/23287 ([6eeb4a9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6eeb4a9cb510779873c53ff6b6a6379fed83e08d))
27
+ * **add:** TOQCB2-80 ([#7752](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7752)) ([61dcfc8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/61dcfc82387fbaf2b672c6e4badb6e5f1400650b))
28
+ * **add:** ZMR4 ([#7734](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7734)) ([c0cd207](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c0cd2072e0eadc345d1a48cb3432241e6a10081a))
29
+ * **add:** ZY-M100-S_3 ([#7742](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7742)) ([2cd4283](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2cd4283d7c102eb63461da255489bae05c534294))
30
+ * Make 6735/6736/6737 state poll interval configurable and default to 60 seconds https://github.com/Koenkk/zigbee-herdsman-converters/issues/7733 ([6f5707b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6f5707bff5f79bc8c6c7dc1b78c9b4d8a4d0f607))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **detect:** Detect `_TZ3000_ypgri8yz` as Girier ZB08 ([#7744](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7744)) ([56fc8a4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/56fc8a42a1973887efa390c5d23c8a9102df8961))
36
+ * **detect:** Detect `_TZE204_gbagoilo` as TS0601_switch_1_gang and `_TZE200_qanl25yu` as TS0601_fan_and_light_switch ([#7751](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7751)) ([7572c9f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7572c9f8516a76ba9691ee470675b6c1f66b4915))
37
+ * **detect:** Detect `LH05121` as Konke TW-S1 [@serot23](https://github.com/serot23) https://github.com/Koenkk/zigbee2mqtt/issues/23268 ([ba04002](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ba04002f9b2e110d1d3f8f962163796d999c4409))
38
+ * Fix AEOTEC ZGA002 state, voltage, power, current and energy postfix ([#7745](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7745)) ([1c04b56](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1c04b56b8d6ce505ac339008857ff95e66eced92))
39
+ * Fix Lidl FB20-002 not sending on action after triggering it once https://github.com/Koenkk/zigbee2mqtt/issues/6509 ([1fe26bb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1fe26bb1ed52f10ab7c7a7b219d500476f852958))
40
+ * Ignore reported battery % if battery % is computed from voltage ([#7681](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7681)) ([3ffbe2f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3ffbe2f59c0becbe21bef68d452232caa51f9f25))
41
+ * **ignore:** update dependencies ([#7746](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7746)) ([6612be1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6612be1c2c58701c70772c414e86bb04e1611fe7))
42
+ * ZigbeeTLc: Adjust parameter scaling to ZigbeeTLc firmware v1.2.2 ([#7753](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7753)) ([ab8e0e8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ab8e0e8d61144d4ebe5bf0d3765308cd1f3f0199))
43
+
3
44
  ## [19.65.0](https://github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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA6sHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -363,7 +363,11 @@ const converters1 = {
363
363
  type: ['attributeReport', 'readResponse'],
364
364
  convert: (model, msg, publish, options, meta) => {
365
365
  const payload = {};
366
- if (msg.data.hasOwnProperty('batteryPercentageRemaining') && msg.data['batteryPercentageRemaining'] < 255) {
366
+ // If voltageToPercentage is specified, it means we do not trust the percentage
367
+ // returned by the device and are instead calculating it ourselves.
368
+ if (model.meta?.battery?.voltageToPercentage == null &&
369
+ msg.data.hasOwnProperty('batteryPercentageRemaining') &&
370
+ msg.data['batteryPercentageRemaining'] < 255) {
367
371
  // Some devices do not comply to the ZCL and report a
368
372
  // batteryPercentageRemaining of 100 when the battery is full (should be 200).
369
373
  const dontDividePercentage = model.meta && model.meta.battery && model.meta.battery.dontDividePercentage;