From b717b62472854ac32e8cf043d7b59a45a0e391cf Mon Sep 17 00:00:00 2001 From: koenkk Date: Sat, 12 Aug 2023 14:34:13 +0200 Subject: [PATCH] fix(ignore): Fix e3473ef97078c007e06e59b17ab210560cf99415 --- src/devices/schneider_electric.js | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/devices/schneider_electric.js b/src/devices/schneider_electric.js index 4d758a1171f0d..b185214161917 100644 --- a/src/devices/schneider_electric.js +++ b/src/devices/schneider_electric.js @@ -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)',