Skip to content

Commit

Permalink
Add converters for ignoring 'diagnostic' and 'genscenes' dev changes (K…
Browse files Browse the repository at this point in the history
…oenkk#350)

* Add support for Sengled E12-N14 (BR30) Light

* Add Osram BR30 RGBW LED to HA

* Update devices.js

* Add support for Sengled E12-N14 (BR30) Light

* Update devices.js

* Add Support SwannOne Key Fob SWO-KEF1PA

* Modify payload to be more compatible with Home Assistant

* Add support for Sengled E12-N14 (BR30) Light

* Update devices.js

* Add Support SwannOne Key Fob SWO-KEF1PA

* Modify payload to be more compatible with Home Assistant

* Add converters for ignoring 'diagnostic' and 'genscenes' dev changes
  • Loading branch information
qosmio committed Dec 25, 2019
1 parent 50b0c18 commit dca670b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -4655,6 +4655,16 @@ const converters = {
type: 'devChange',
convert: (model, msg, publish, options) => null,
},
ignore_diagnostic_change: {
cid: 'haDiagnostic',
type: 'devChange',
convert: (model, msg, publish, options) => null,
},
ignore_genscenes_change: {
cid: 'genScenes',
type: 'devChange',
convert: (model, msg, publish, options) => null,
},
};

module.exports = converters;

0 comments on commit dca670b

Please sign in to comment.