Skip to content

Commit

Permalink
Add support for Gledopto Zigbee LED controller WW/CW Dimmer (GL-C-006) (
Browse files Browse the repository at this point in the history
  • Loading branch information
netztrip authored and qosmio committed Dec 25, 2019
1 parent 890e3f8 commit bbadc24
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions devices.js
Expand Up @@ -7173,6 +7173,24 @@ const devices = [
}
},
},
{
zigbeeModel: ['GL-C-006'],
model: 'GL-C-006',
vendor: 'Gledopto',
description: 'Zigbee LED controller WW/CW Dimmer',
supports: generic.light_onoff_brightness_colortemp.supports,
fromZigbee: generic.light_onoff_brightness_colortemp.fromZigbee,
toZigbee: generic.light_onoff_brightness_colortemp.toZigbee,
ep: (device) => {
if (device.epList.toString() === '11,12,13') {
return {'': 12};
} else if (device.epList.toString() === '10,11,13' || device.epList.toString() === '11,13') {
return {'': 11};
} else {
return {};
}
},
},
{
zigbeeModel: ['GL-S-007Z'],
model: 'GL-S-007Z',
Expand Down

0 comments on commit bbadc24

Please sign in to comment.