Skip to content

Commit

Permalink
feat(add): SIN-4-1-20_LEX (#5868)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScratMan authored Jun 10, 2023
1 parent f45cb2b commit 3541b57
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/devices/adeo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,21 @@ const definitions: Definition[] = [
await reporting.readMeteringMultiplierDivisor(endpoint);
},
},
{
zigbeeModel: ['SIN-4-1-20_LEX'],
model: 'SIN-4-1-20_LEX',
vendor: 'ADEO',
description: 'ENKI LEXMAN 3680W single output relay',
extend: extend.switch(),
configure: async (device, coordinatorEndpoint, logger) => {
const ep = device.getEndpoint(1);
await reporting.bind(ep, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(ep);
},
endpoint: (device) => {
return {default: 1};
},
},
];

module.exports = definitions;

0 comments on commit 3541b57

Please sign in to comment.