zigbee-herdsman-converters 15.100.0 → 15.102.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,35 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.102.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.101.0...v15.102.0) (2023-10-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** L258 ([#6191](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6191)) ([c5365fa](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c5365faae4505644affa74db75e271c472915fb9))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **detect:** Detect `TY0201` as TuYa TS0201 ([#6329](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6329)) ([df61379](https://github.com/Koenkk/zigbee-herdsman-converters/commit/df613797c4ab679d5a9676358978729e898a3563))
14
+ * Fix ELKO 4523430 updating every second ([#6336](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6336)) ([d9bb5e5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d9bb5e5f8276ccd505bb13af3be59f38e00c6fb0))
15
+ * Fix set LiXee ZLinky_TIC default `measurement_poll_chunk` to 4 to reduce spamming https://github.com/fairecasoimeme/Zlinky_TIC/issues/194 ([b930eee](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b930eeec4761370e4202d2c483f720eec5381f7f))
16
+ * Fix TuYa ZG-205Z/A description ([#6335](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6335)) ([68f391d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/68f391dce4c3dc368b8a6106b795384145f7424e))
17
+
18
+ ## [15.101.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.100.0...v15.101.0) (2023-10-23)
19
+
20
+
21
+ ### Features
22
+
23
+ * Support child lock for SONOFF TRVZB ([#6328](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6328)) ([39d7d54](https://github.com/Koenkk/zigbee-herdsman-converters/commit/39d7d5403218e027168fbf4a0915911c0afffd6a))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **detect:** Detect `_TZ3000_xdo0hj1k` as Lonsonho TS130F_dual https://github.com/Koenkk/zigbee2mqtt/issues/19393 ([7dfacf6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7dfacf6708d7d687ee2f125ffcb33456ce70e3ac))
29
+ * **detect:** Detect `_TZE200_ywe90lt0` as TuYa TS0601_light ([#6324](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6324)) ([89744d2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/89744d21919eca9f6c9acf3f91293bd620581699))
30
+ * Fix duplicate actions for TuYa ERS-10TZBVK-AA and ERS-10TZBVB-AA ([#6326](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6326)) ([d69dc7a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d69dc7a13fbf9254219c5cfda84e50f5629bf1d0))
31
+ * Fix timeout of Gledopto GL-SD-003P https://github.com/Koenkk/zigbee2mqtt/issues/8349 ([f9547ce](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f9547ce7dc01674fecb078e0980ac0602e23d0b3))
32
+
3
33
  ## [15.100.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.99.0...v15.100.0) (2023-10-22)
4
34
 
5
35
 
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,EAAE,EAAoC,MAAM,cAAc,CAAC;AAwtMnE,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAEpD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,EAAE,EAAoC,MAAM,cAAc,CAAC;AA+tMnE,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -1829,48 +1829,48 @@ const converters1 = {
1829
1829
  convert: (model, msg, publish, options, meta) => {
1830
1830
  const result = {};
1831
1831
  const data = msg.data;
1832
- if (data.hasOwnProperty(0x0401)) { // Load
1833
- result.load = data[0x0401];
1832
+ if (data.hasOwnProperty('elkoLoad')) { // Load
1833
+ result.load = data['elkoLoad'];
1834
1834
  }
1835
- if (data.hasOwnProperty(0x0402)) { // Display text
1836
- result.display_text = data[0x0402];
1835
+ if (data.hasOwnProperty('elkoDisplayText')) { // Display text
1836
+ result.display_text = data['elkoDisplayText'];
1837
1837
  }
1838
- if (data.hasOwnProperty(0x0403)) { // Sensor
1838
+ if (data.hasOwnProperty('elkoSensor')) { // Sensor
1839
1839
  const sensorModeLookup = { '0': 'air', '1': 'floor', '3': 'supervisor_floor' };
1840
- result.sensor = sensorModeLookup[data[0x0403]];
1840
+ result.sensor = sensorModeLookup[data['elkoSensor']];
1841
1841
  }
1842
- if (data.hasOwnProperty(0x0404)) { // Regulator time
1843
- result.regulator_time = data[0x0404];
1842
+ if (data.hasOwnProperty('elkoRegulatorTime')) { // Regulator time
1843
+ result.regulator_time = data['elkoRegulatorTime'];
1844
1844
  }
1845
- if (data.hasOwnProperty(0x0405)) { // Regulator mode
1846
- result.regulator_mode = data[0x0405] ? 'regulator' : 'thermostat';
1845
+ if (data.hasOwnProperty('elkoRegulatorMode')) { // Regulator mode
1846
+ result.regulator_mode = data['elkoRegulatorMode'] ? 'regulator' : 'thermostat';
1847
1847
  }
1848
- if (data.hasOwnProperty(0x0406)) { // Power status
1849
- result.system_mode = data[0x0406] ? 'heat' : 'off';
1848
+ if (data.hasOwnProperty('elkoPowerStatus')) { // Power status
1849
+ result.system_mode = data['elkoPowerStatus'] ? 'heat' : 'off';
1850
1850
  }
1851
- if (data.hasOwnProperty(0x0408)) { // Mean power
1852
- result.mean_power = data[0x0408];
1851
+ if (data.hasOwnProperty('elkoMeanPower')) { // Mean power
1852
+ result.mean_power = data['elkoMeanPower'];
1853
1853
  }
1854
- if (data.hasOwnProperty(0x0409)) { // External temp (floor)
1855
- result.floor_temp = utils.precisionRound(data[0x0409], 2) / 100;
1854
+ if (data.hasOwnProperty('elkoExternalTemp')) { // External temp (floor)
1855
+ result.floor_temp = utils.precisionRound(data['elkoExternalTemp'], 2) / 100;
1856
1856
  }
1857
- if (data.hasOwnProperty(0x0411)) { // Night switching
1858
- result.night_switching = data[0x0411] ? 'on' : 'off';
1857
+ if (data.hasOwnProperty('elkoNightSwitching')) { // Night switching
1858
+ result.night_switching = data['elkoNightSwitching'] ? 'on' : 'off';
1859
1859
  }
1860
- if (data.hasOwnProperty(0x0412)) { // Frost guard
1861
- result.frost_guard = data[0x0412] ? 'on' : 'off';
1860
+ if (data.hasOwnProperty('elkoFrostGuard')) { // Frost guard
1861
+ result.frost_guard = data['elkoFrostGuard'] ? 'on' : 'off';
1862
1862
  }
1863
- if (data.hasOwnProperty(0x0413)) { // Child lock
1864
- result.child_lock = data[0x0413] ? 'lock' : 'unlock';
1863
+ if (data.hasOwnProperty('elkoChildLock')) { // Child lock
1864
+ result.child_lock = data['elkoChildLock'] ? 'lock' : 'unlock';
1865
1865
  }
1866
- if (data.hasOwnProperty(0x0414)) { // Max floor temp
1867
- result.max_floor_temp = data[0x0414];
1866
+ if (data.hasOwnProperty('elkoMaxFloorTemp')) { // Max floor temp
1867
+ result.max_floor_temp = data['elkoMaxFloorTemp'];
1868
1868
  }
1869
- if (data.hasOwnProperty(0x0415)) { // Relay state
1870
- result.running_state = data[0x0415] ? 'heat' : 'idle';
1869
+ if (data.hasOwnProperty('elkoRelayState')) { // Relay state
1870
+ result.running_state = data['elkoRelayState'] ? 'heat' : 'idle';
1871
1871
  }
1872
- if (data.hasOwnProperty(0x0417)) { // Calibration
1873
- result.local_temperature_calibration = (0, utils_1.precisionRound)(data[0x0417], 2) / 10;
1872
+ if (data.hasOwnProperty('elkoCalibration')) { // Calibration
1873
+ result.local_temperature_calibration = (0, utils_1.precisionRound)(data['elkoCalibration'], 2) / 10;
1874
1874
  }
1875
1875
  return result;
1876
1876
  },
@@ -5706,6 +5706,10 @@ const converters1 = {
5706
5706
  const lookup = { 0: 'rotate_right', 1: 'rotate_left' };
5707
5707
  action = lookup[msg.data[3]];
5708
5708
  }
5709
+ // Since it is a non standard ZCL command, no default response is send from zigbee-herdsman
5710
+ // Send the defaultResponse here, otherwise the second button click delays.
5711
+ // https://github.com/Koenkk/zigbee2mqtt/issues/8149
5712
+ msg.endpoint.defaultResponse(msg.data[2], 0, 6, msg.data[1]).catch((error) => { });
5709
5713
  return { action };
5710
5714
  },
5711
5715
  },