zigbee-herdsman-converters 19.45.0 → 19.47.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 (48) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/converters/toZigbee.js +4 -4
  3. package/converters/toZigbee.js.map +1 -1
  4. package/devices/aeotec.d.ts.map +1 -1
  5. package/devices/aeotec.js +46 -0
  6. package/devices/aeotec.js.map +1 -1
  7. package/devices/bosch.d.ts.map +1 -1
  8. package/devices/bosch.js +65 -18
  9. package/devices/bosch.js.map +1 -1
  10. package/devices/danfoss.js +1 -1
  11. package/devices/danfoss.js.map +1 -1
  12. package/devices/develco.js +1 -1
  13. package/devices/develco.js.map +1 -1
  14. package/devices/heiman.js +1 -1
  15. package/devices/heiman.js.map +1 -1
  16. package/devices/innr.d.ts.map +1 -1
  17. package/devices/innr.js +7 -0
  18. package/devices/innr.js.map +1 -1
  19. package/devices/keen_home.js +1 -1
  20. package/devices/keen_home.js.map +1 -1
  21. package/devices/philips.d.ts.map +1 -1
  22. package/devices/philips.js +10 -0
  23. package/devices/philips.js.map +1 -1
  24. package/devices/shinasystem.js +2 -2
  25. package/devices/shinasystem.js.map +1 -1
  26. package/devices/sonoff.d.ts.map +1 -1
  27. package/devices/sonoff.js +14 -29
  28. package/devices/sonoff.js.map +1 -1
  29. package/devices/sunricher.js +2 -2
  30. package/devices/sunricher.js.map +1 -1
  31. package/devices/tuya.d.ts.map +1 -1
  32. package/devices/tuya.js +18 -5
  33. package/devices/tuya.js.map +1 -1
  34. package/devices/ubisys.js +3 -3
  35. package/devices/ubisys.js.map +1 -1
  36. package/devices/zigbeetlc.js +1 -1
  37. package/lib/ikea.js +3 -3
  38. package/lib/ikea.js.map +1 -1
  39. package/lib/lumi.js +3 -3
  40. package/lib/lumi.js.map +1 -1
  41. package/lib/ota/common.d.ts.map +1 -1
  42. package/lib/ota/common.js +6 -0
  43. package/lib/ota/common.js.map +1 -1
  44. package/lib/tuya.js +3 -3
  45. package/lib/tuya.js.map +1 -1
  46. package/lib/types.d.ts +2 -2
  47. package/lib/types.d.ts.map +1 -1
  48. package/package.json +9 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.47.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.46.0...v19.47.0) (2024-05-31)
4
+
5
+
6
+ ### Features
7
+
8
+ * Support new features for TuYa ZG-225Z and ZG-204ZM ([#7553](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7553)) ([058eac7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/058eac74b03e1833881233b86d0dfa48dde27dc5))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **detect:** Detect `SV01-612-EP-1.4` as Keen Home SV01 ([#7581](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7581)) ([3f27d31](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3f27d317c451e1e1d5b46312277d09025909cefa))
14
+ * Enforce no floating promises with eslint ([#7583](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7583)) ([ed0704b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ed0704b42b3dee3e477dfd1194a100be83bcbd7f))
15
+ * Expose message to TuYa valueConverters https://github.com/Koenkk/zigbee-herdsman-converters/pull/7271 ([2c3667b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2c3667bc328e2522e3941274391c9ceee6d00e34))
16
+
17
+ ## [19.46.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.45.0...v19.46.0) (2024-05-30)
18
+
19
+
20
+ ### Features
21
+
22
+ * **add:** 046677585235 https://github.com/Koenkk/zigbee2mqtt/issues/22828 ([f0186d7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f0186d7d1b05e0cbeca2e29ad6c6ace543f441cc))
23
+ * **add:** RB 262 https://github.com/Koenkk/zigbee2mqtt/issues/22821 ([15c09e2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/15c09e22811a9687103a0ed5ce16ed5754e306d1))
24
+ * **add:** ZGA002, ZGA003, ZGA004 ([#7579](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7579)) ([fff4ffb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fff4ffb2d249b74e2b7804ef2c0f565f9b752cc8))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Convert Sonoff SNZB-02D & SNZB-02P to `modernExtend` ([#7572](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7572)) ([825a7fa](https://github.com/Koenkk/zigbee-herdsman-converters/commit/825a7fae5b72cdbf5566501530bbb4645173dc2c))
30
+ * **detect:** Detect `_TZE200_emxxanvi` as TuYa TS0601_switch_6_gang ([#7580](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7580)) ([9cf481a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9cf481a0b7d62966c6a3558c96b748c3400e6650))
31
+ * **detect:** Detect `_TZE204_7gclukjs` as TuYa ZY-M100-24G https://github.com/Koenkk/zigbee2mqtt/discussions/22790 ([5283a67](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5283a67b79e806a56e54b4159cdc49e228b0f3a4))
32
+ * Expose voltage for WISZB-120 ([#7575](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7575)) ([b2f2f11](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b2f2f11d0bee69d4ed643461940c8601cf826ad6))
33
+ * **ignore:** Fix TS0201-z vendor https://github.com/Koenkk/zigbee2mqtt.io/pull/2778 ([273d843](https://github.com/Koenkk/zigbee-herdsman-converters/commit/273d84390a2758d43d0f34e1a2a09aeb210d089c))
34
+ * Remove last `manuSpecificBosch*` usage ([#7574](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7574)) ([08fc7f2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/08fc7f2d0a61ecdd85efd52c97baae144844d675))
35
+ * Set entity category to configuration for Sonoff TRVZB open/close degree entities ([#7573](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7573)) ([e7ca0f8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e7ca0f860f6345396732686558e5ec15b4232b9b))
36
+
3
37
  ## [19.45.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.44.0...v19.45.0) (2024-05-28)
4
38
 
5
39
 
@@ -1206,10 +1206,10 @@ const converters2 = {
1206
1206
  const transition = meta.message.transition ?? 15;
1207
1207
  utils.assertNumber(transition, 'transition');
1208
1208
  const speed = Math.min(255, Math.max(1, Math.round(255 / transition)));
1209
- converters2.light_hue_saturation_move.convertSet(entity, 'hue_move', speed, meta);
1209
+ await converters2.light_hue_saturation_move.convertSet(entity, 'hue_move', speed, meta);
1210
1210
  }
1211
1211
  else if (value === 'stop_colorloop') {
1212
- converters2.light_hue_saturation_move.convertSet(entity, 'hue_move', 'stop', meta);
1212
+ await converters2.light_hue_saturation_move.convertSet(entity, 'hue_move', 'stop', meta);
1213
1213
  }
1214
1214
  else {
1215
1215
  const payload = { effectid: utils.getFromLookup(value, lookup), effectvariant: 0 };
@@ -4065,7 +4065,7 @@ const converters2 = {
4065
4065
  convertSet: async (entity, key, value, meta) => {
4066
4066
  utils.assertEndpoint(entity);
4067
4067
  const keypadLockout = utils.getKey(constants.keypadLockoutMode, value, value, Number);
4068
- entity.write('hvacUserInterfaceCfg', { keypadLockout });
4068
+ await entity.write('hvacUserInterfaceCfg', { keypadLockout });
4069
4069
  entity.saveClusterAttributeKeyValue('hvacUserInterfaceCfg', { keypadLockout });
4070
4070
  return { state: { keypad_lockout: value } };
4071
4071
  },
@@ -4146,7 +4146,7 @@ const converters2 = {
4146
4146
  key: ['local_temperature_calibration'],
4147
4147
  convertSet: async (entity, key, value, meta) => {
4148
4148
  utils.assertNumber(value);
4149
- entity.write('hvacThermostat', { localTemperatureCalibration: Math.round(value * 10) }, { srcEndpoint: 11, disableDefaultResponse: true });
4149
+ await entity.write('hvacThermostat', { localTemperatureCalibration: Math.round(value * 10) }, { srcEndpoint: 11, disableDefaultResponse: true });
4150
4150
  return { state: { local_temperature_calibration: value } };
4151
4151
  },
4152
4152
  },