zigbee-herdsman-converters 18.8.0 → 18.10.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 (47) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/converters/toZigbee.d.ts.map +1 -1
  3. package/converters/toZigbee.js +4 -4
  4. package/converters/toZigbee.js.map +1 -1
  5. package/devices/bituo_technik.d.ts +4 -0
  6. package/devices/bituo_technik.d.ts.map +1 -0
  7. package/devices/bituo_technik.js +54 -0
  8. package/devices/bituo_technik.js.map +1 -0
  9. package/devices/bosch.d.ts.map +1 -1
  10. package/devices/bosch.js +28 -14
  11. package/devices/bosch.js.map +1 -1
  12. package/devices/ikea.d.ts.map +1 -1
  13. package/devices/ikea.js +4 -3
  14. package/devices/ikea.js.map +1 -1
  15. package/devices/index.d.ts.map +1 -1
  16. package/devices/index.js +2 -0
  17. package/devices/index.js.map +1 -1
  18. package/devices/paul_neuhaus.js +1 -1
  19. package/devices/paul_neuhaus.js.map +1 -1
  20. package/devices/sunricher.js +1 -1
  21. package/devices/sunricher.js.map +1 -1
  22. package/devices/tuya.js +7 -7
  23. package/devices/tuya.js.map +1 -1
  24. package/devices/viessmann.d.ts.map +1 -1
  25. package/devices/viessmann.js +9 -0
  26. package/devices/viessmann.js.map +1 -1
  27. package/devices/xiaomi.d.ts.map +1 -1
  28. package/devices/xiaomi.js +16 -4
  29. package/devices/xiaomi.js.map +1 -1
  30. package/lib/exposes.d.ts +3 -0
  31. package/lib/exposes.d.ts.map +1 -1
  32. package/lib/exposes.js +21 -3
  33. package/lib/exposes.js.map +1 -1
  34. package/lib/modernExtend.d.ts +7 -0
  35. package/lib/modernExtend.d.ts.map +1 -1
  36. package/lib/modernExtend.js +41 -1
  37. package/lib/modernExtend.js.map +1 -1
  38. package/lib/ota/common.d.ts.map +1 -1
  39. package/lib/ota/common.js +29 -30
  40. package/lib/ota/common.js.map +1 -1
  41. package/lib/ota/zigbeeOTA.d.ts.map +1 -1
  42. package/lib/ota/zigbeeOTA.js +6 -6
  43. package/lib/ota/zigbeeOTA.js.map +1 -1
  44. package/lib/xiaomi.d.ts.map +1 -1
  45. package/lib/xiaomi.js +1 -4
  46. package/lib/xiaomi.js.map +1 -1
  47. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [18.10.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.9.0...v18.10.0) (2024-01-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add category attribute to exposes ([#6837](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6837)) ([3a1b7a9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3a1b7a9b0c12499f93044c0f00d356673d8acc4a))
9
+ * Add missing clusters to Xioami VOCKQJK11LM ([#6840](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6840)) ([148e14e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/148e14e8438b86e3c0452b61b29c3220f7531906))
10
+ * Expose action_group for paul neuhaus q-remote ([#6863](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6863)) ([2b640b7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2b640b72a242e3de213b2a478f46335a74299dd6))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Add categories to several config/diagnostic exposes ([#6855](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6855)) ([2c08cdc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2c08cdc6cae73555f66469036f2dd6c5b0535a14))
16
+ * **detect:** Detect `_TZ3000_ssp0maqm` as TuYa TS0215A_sos https://github.com/Koenkk/zigbee-herdsman-converters/pull/6817 ([30e111d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/30e111d339c74a27b40680ce29f19e963dd03023))
17
+ * **detect:** Detect `_TZE204_n9ctkb6j` as TuYa TS0601_dimmer_1 ([#6861](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6861)) ([ff2c3ed](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ff2c3ed2a9f08b989d9296662a0e4336a63a03d5))
18
+ * **detect:** Detect `HK-SENSOR-CT-A` as Sunricher SR-ZG9010A ([#6857](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6857)) ([0d84a96](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0d84a967ba21429a42618e9ec9b6a3c1b8d6db53))
19
+ * Fix `weekly_schedule` `Error: 'transitionTime hour' is not a number, got string (00)` error ([#6860](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6860)) ([6a2bd70](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6a2bd70604ce107505db9d26225ba002dab08a49))
20
+ * **ignore:** Fix battery description https://github.com/Koenkk/zigbee2mqtt.io/pull/2474 ([df0e52d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/df0e52d8e85812ba3bb564cbbe31f2fddf0ca936))
21
+ * OTA logging: fixed typos / minor changes ([#6854](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6854)) ([22c4673](https://github.com/Koenkk/zigbee-herdsman-converters/commit/22c4673533b9380dc4d8abb115c70069e607ee13))
22
+ * Rename LED2005R5 to LED2005R5/LED2106R3 https://github.com/Koenkk/zigbee2mqtt/issues/20660 ([2e1df4e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2e1df4e586d3f4d1f0dad9df45910892991e181d))
23
+
24
+ ## [18.9.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.8.0...v18.9.0) (2024-01-07)
25
+
26
+
27
+ ### Features
28
+
29
+ * **add:** 7377019 ([#6852](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6852)) ([1471bc8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1471bc864a811adba8c55402162199bae3aaeb93))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * Add `ignore_tuya_set_time` to TuYa X5H-GB-B ([#6850](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6850)) ([ec2e9b5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ec2e9b5b6a3e1a24e28ba5edaf1754572a92791a))
35
+ * **detect:** Detect `_TZE200_kvpwq8z7` as TuYa TS0601_gas_sensor_1 ([#6848](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6848)) ([763ae37](https://github.com/Koenkk/zigbee-herdsman-converters/commit/763ae373866f95460fa2a82cff3662d092500fb6))
36
+ * Expose `battery` for IKEA E2013 ([#6846](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6846)) ([5403c8a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5403c8aa704fa1a8db7f2fcc01623dd26215b7a9))
37
+ * Fix `power_factor` unit for various devices and add SPM01-D2TZ-U01 ([#6847](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6847)) ([57e7990](https://github.com/Koenkk/zigbee-herdsman-converters/commit/57e7990018ccdad7d4e79ff592e7185c737ae9b2))
38
+ * **ignore:** update dependencies ([#6849](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6849)) ([acc678b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/acc678bfd04f07526ef1f147059fc7193425b206))
39
+
3
40
  ## [18.8.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.7.0...v18.8.0) (2024-01-06)
4
41
 
5
42
 
@@ -1 +1 @@
1
- {"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAC;AAOvD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AA2kK1C,QAAA,MAAM,UAAU;;QAjIR;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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'string') {
1256
1256
  const time = elem['transitionTime'].split(':');
1257
- utils.assertNumber(time[0], 'transitionTime hour');
1258
- utils.assertNumber(time[1], 'transitionTime minute');
1259
- if ((time.length != 2) || isNaN(time[0]) || isNaN(time[1])) {
1257
+ const timeHour = (parseInt(time[0]) * 60);
1258
+ const timeMinute = parseInt(time[1]);
1259
+ if ((time.length != 2) || isNaN(timeHour) || isNaN(timeMinute)) {
1260
1260
  meta.logger.warn(`weekly_schedule: expected 24h time notation (e.g. 19:30) but got '${elem['transitionTime']}'!`);
1261
1261
  }
1262
1262
  else {
1263
- elem['transitionTime'] = ((parseInt(time[0]) * 60) + parseInt(time[1]));
1263
+ elem['transitionTime'] = (timeHour + timeMinute);
1264
1264
  }
1265
1265
  }
1266
1266
  else if (typeof elem['transitionTime'] === 'object') {