zigbee-herdsman-converters 15.22.0 → 15.23.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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.23.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.22.0...v15.23.0) (2023-06-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** 3RSNL02043Z ([#5875](https://github.com/Koenkk/zigbee-herdsman-converters/issues/5875)) ([f5c68ac](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f5c68ac048bcccb247e3800c25e393031b2e6c01))
9
+ * Allow to set more sensitivity levels for TuYa TS0210. https://github.com/Koenkk/zigbee2mqtt/issues/17977 ([a6ae4fd](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a6ae4fd73b6e0d54a0f9ba053a51307d1e0548c6))
10
+ * Support OTA for Moes MS-108ZR [@cserem](https://github.com/cserem) https://github.com/Koenkk/zigbee-OTA/pull/325 ([1e9c995](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1e9c9958da8dad118cd9128c105535c30d2638ea))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Fix LifeControl MCLH-04 battery % incorrect. https://github.com/Koenkk/zigbee2mqtt/issues/18007 ([1d4e3cc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1d4e3cc732397fe1a2cd7ba7075f888d404ba3dd))
16
+
3
17
  ## [15.22.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.21.2...v15.22.0) (2023-06-12)
4
18
 
5
19
 
@@ -2329,7 +2329,7 @@ export namespace TS0210_sensitivity {
2329
2329
  export { key_236 as key };
2330
2330
  export function convertSet_190(entity: any, key: any, value: any, meta: any): Promise<{
2331
2331
  state: {
2332
- sensitivity: any;
2332
+ sensitivity: number;
2333
2333
  };
2334
2334
  }>;
2335
2335
  export { convertSet_190 as convertSet };
@@ -4488,8 +4488,8 @@ const converters = {
4488
4488
  TS0210_sensitivity: {
4489
4489
  key: ['sensitivity'],
4490
4490
  convertSet: async (entity, key, value, meta) => {
4491
- const sens = { 'high': 0, 'medium': 2, 'low': 6 }[value];
4492
- await entity.write('ssIasZone', { currentZoneSensitivityLevel: sens });
4491
+ utils.assertNumber(value, 'sensitivity');
4492
+ await entity.write('ssIasZone', { currentZoneSensitivityLevel: value });
4493
4493
  return { state: { sensitivity: value } };
4494
4494
  },
4495
4495
  },