zigbee-herdsman-converters 14.0.488 → 14.0.491

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/devices/ikea.js CHANGED
@@ -706,6 +706,23 @@ module.exports = [
706
706
  },
707
707
  exposes: [e.cover_position(), e.battery()],
708
708
  },
709
+ {
710
+ zigbeeModel: ['PRAKTLYSING cellular blind'],
711
+ model: 'E2102',
712
+ vendor: 'IKEA',
713
+ description: 'PRAKTLYSING cellular blind',
714
+ fromZigbee: [fz.cover_position_tilt, fz.battery],
715
+ toZigbee: [tz.cover_state, tz.cover_position_tilt],
716
+ meta: {battery: {dontDividePercentage: true}},
717
+ ota: ota.tradfri,
718
+ configure: async (device, coordinatorEndpoint, logger) => {
719
+ const endpoint = device.getEndpoint(1);
720
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'closuresWindowCovering']);
721
+ await reporting.batteryPercentageRemaining(endpoint);
722
+ await reporting.currentPositionLiftPercentage(endpoint);
723
+ },
724
+ exposes: [e.cover_position(), e.battery()],
725
+ },
709
726
  {
710
727
  zigbeeModel: ['TREDANSEN block-out cellul blind'],
711
728
  model: 'E2103',
package/devices/lellki.js CHANGED
@@ -99,7 +99,7 @@ module.exports = [
99
99
  device.save();
100
100
  },
101
101
  options: [exposes.options.measurement_poll_interval()],
102
- exposes: [e.switch().withEndpoint('l1'), e.power(), e.current(), e.voltage().withAccess(ea.STATE),
102
+ exposes: [e.switch(), e.power(), e.current(), e.voltage().withAccess(ea.STATE),
103
103
  e.energy(), exposes.enum('power_outage_memory', ea.STATE_SET, ['on', 'off', 'restore'])
104
104
  .withDescription('Recover state after power outage')],
105
105
  onEvent: tuya.onEventMeasurementPoll,
package/devices/namron.js CHANGED
@@ -259,8 +259,8 @@ module.exports = [
259
259
  extend: extend.light_onoff_brightness_colortemp_color(),
260
260
  },
261
261
  {
262
- zigbeeModel: ['4512737'],
263
- model: '4512737',
262
+ zigbeeModel: ['4512737', '4512738'],
263
+ model: '4512737/4512738',
264
264
  vendor: 'Namron',
265
265
  description: 'Touch termostat',
266
266
  fromZigbee: [fz.thermostat, fz.metering, fz.electrical_measurement, fz.hvac_user_interface],
@@ -447,7 +447,7 @@ module.exports = [
447
447
  ota: ota.zigbeeOTA,
448
448
  },
449
449
  {
450
- zigbeeModel: ['LCT026', '7602031P7'],
450
+ zigbeeModel: ['LCT026', '7602031P7', '7602031U7'],
451
451
  model: '7602031P7',
452
452
  vendor: 'Philips',
453
453
  description: 'Hue Go with Bluetooth',
package/devices/sonoff.js CHANGED
@@ -25,6 +25,11 @@ module.exports = [
25
25
  fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
26
26
  exposes: extend.switch().exposes.concat([e.power_on_behavior()]),
27
27
  configure: async (device, coordinatorEndpoint, logger) => {
28
+ // Unbind genPollCtrl to prevent device from sending checkin message.
29
+ // Zigbee-herdsmans responds to the checkin message which causes the device
30
+ // to poll slower.
31
+ // https://github.com/Koenkk/zigbee2mqtt/issues/11676
32
+ await device.getEndpoint(1).unbind('genPollCtrl', coordinatorEndpoint);
28
33
  device.powerSource = 'Mains (single phase)';
29
34
  device.save();
30
35
  },
package/devices/tuya.js CHANGED
@@ -279,6 +279,7 @@ module.exports = [
279
279
  {modelID: 'TS0505B', manufacturerName: '_TZ3000_tza2vjxx'},
280
280
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_it1u8ahz'},
281
281
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_k1pe6ibm'},
282
+ {modelID: 'TS0505B', manufacturerName: '_TZB210_1ecortg6'},
282
283
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_bfwvfyx1'},
283
284
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_leyz4rju'},
284
285
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_jd3z4yig'},
package/lib/xiaomi.js CHANGED
@@ -293,7 +293,9 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
293
293
  payload.consumption = payload.energy;
294
294
  break;
295
295
  case '150':
296
- payload.voltage = precisionRound(value * 0.1, 1); // 0x96
296
+ if (!['JTYJ-GD-01LM/BW'].includes(model.model)) {
297
+ payload.voltage = precisionRound(value * 0.1, 1); // 0x96
298
+ }
297
299
  break;
298
300
  case '151':
299
301
  if (['LLKZMK11LM'].includes(model.model)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.488",
3
+ "version": "14.0.491",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "axios": "^0.26.1",
38
38
  "buffer-crc32": "^0.2.13",
39
- "https-proxy-agent": "^5.0.0",
39
+ "https-proxy-agent": "^5.0.1",
40
40
  "tar-stream": "^2.2.0",
41
- "zigbee-herdsman": "^0.14.24"
41
+ "zigbee-herdsman": "^0.14.26"
42
42
  },
43
43
  "devDependencies": {
44
44
  "eslint": "*",