Skip to content

Commit

Permalink
Update fromZigbee.js to support Nue Scene Switches (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
highground88 authored and Koenkk committed Mar 11, 2019
1 parent 02189d8 commit 1f3815c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,13 @@ const converters = {
return result;
},
},
nue_click: {
cid: 'genScenes',
type: 'cmdRecall',
convert: (model, msg, publish, options) => {
return {click: msg.data.data.sceneid};
},
},
smartthings_contact: {
cid: 'ssIasZone',
type: 'statusChange',
Expand Down

0 comments on commit 1f3815c

Please sign in to comment.