zigbee-herdsman-converters 19.65.0 → 19.66.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,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.66.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.65.0...v19.66.0) (2024-07-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** SmartShades3 [@ratsept](https://github.com/ratsept) https://github.com/Koenkk/zigbee2mqtt/issues/23287 ([6eeb4a9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6eeb4a9cb510779873c53ff6b6a6379fed83e08d))
9
+ * **add:** TOQCB2-80 ([#7752](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7752)) ([61dcfc8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/61dcfc82387fbaf2b672c6e4badb6e5f1400650b))
10
+ * **add:** ZMR4 ([#7734](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7734)) ([c0cd207](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c0cd2072e0eadc345d1a48cb3432241e6a10081a))
11
+ * **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))
12
+ * 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))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **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))
18
+ * **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))
19
+ * **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))
20
+ * 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))
21
+ * 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))
22
+ * 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))
23
+ * **ignore:** update dependencies ([#7746](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7746)) ([6612be1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6612be1c2c58701c70772c414e86bb04e1611fe7))
24
+ * 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))
25
+
3
26
  ## [19.65.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.64.0...v19.65.0)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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;