Skip to content

Commit

Permalink
fix(ignore): Fix e3473ef
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Aug 12, 2023
1 parent e3473ef commit b717b62
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions src/devices/schneider_electric.js
Original file line number Diff line number Diff line change
Expand Up @@ -768,27 +768,7 @@ module.exports = [
},
},
{
zigbeeModel: ['2GANG/SWITCH/1'],
model: 'MEG5126-0300',
vendor: 'Schneider Electric',
description: 'Merten MEG5165 PlusLink Shutter insert with Merten Wiser System M Push Button (2fold)',
extend: extend.switch(),
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
meta: {multiEndpoint: true},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint1 = device.getEndpoint(1);
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(endpoint1);
const endpoint2 = device.getEndpoint(22);
await reporting.bind(endpoint2, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(endpoint2);
},
endpoint: (device) => {
return {l1: 1, l2: 22};
},
},
{
zigbeeModel: ['2GANG/SWITCH/2'],
zigbeeModel: ['2GANG/SWITCH/2', '2GANG/SWITCH/1'],
model: 'MEG5126-0300',
vendor: 'Schneider Electric',
description: 'Merten MEG5165 PlusLink relais insert with Merten Wiser System M push button (2fold)',
Expand Down

0 comments on commit b717b62

Please sign in to comment.