zigbee-herdsman-converters 14.0.489 → 14.0.490

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/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/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.489",
3
+ "version": "14.0.490",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [