Skip to content

Commit

Permalink
Added LivingWise ZigBee Smart dimmer Switch. Model#: LVS-ZB500D (Koen…
Browse files Browse the repository at this point in the history
…kk#288)

* Added LivingWise ZigBee Smart dimmer Switch. Model#: LVS-ZB500D

* Update devices.js

* Update devices.js

* Update fromZigbee.js
  • Loading branch information
dev-abo authored and qosmio committed Dec 25, 2019
1 parent 9a70386 commit 503b12f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -4347,6 +4347,11 @@ const converters = {
type: 'devChange',
convert: (model, msg, publish, options) => null,
},
ignore_genIdentify: {
cid: 'genIdentify',
type: 'attReport',
convert: (model, msg, publish, options) => null,
},
};

module.exports = converters;
14 changes: 14 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -8085,6 +8085,20 @@ const devices = [
execute(device, actions, callback);
},
},

// LivingWise
{
zigbeeModel: ['abb71ca5fe1846f185cfbda554046cce'],
model: 'LVS-ZB500D',
vendor: 'LivingWise',
description: 'ZigBee smart dimmer switch',
supports: 'on/off, brightness',
toZigbee: [tz.on_off, tz.light_brightness],
fromZigbee: [
fz.state, fz.brightness, fz.ignore_light_brightness_report, fz.ignore_onoff_change,
fz.ignore_genIdentify,
],
},
];

module.exports = devices.map((device) =>
Expand Down

0 comments on commit 503b12f

Please sign in to comment.