Skip to content

Commit

Permalink
Add CCT5010-0001. Koenkk/zigbee2mqtt#7188
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Apr 24, 2021
1 parent b7096ea commit ad96248
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -15265,6 +15265,20 @@ const devices = [
return {l1: 10, l2: 11};
},
},
{
zigbeeModel: ['PUCK/DIMMER/1'],
model: 'CCT5010-0001',
vendor: 'Schneider Electric',
description: 'Micro module dimmer',
extend: preset.light_onoff_brightness(),
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(3);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
await reporting.onOff(endpoint);
await reporting.brightness(endpoint);
},
},
{
zigbeeModel: ['U201DST600ZB'],
model: 'U201DST600ZB',
Expand Down

0 comments on commit ad96248

Please sign in to comment.