From ad96248261cdd1a4fb82bd3d98e7e782ba60797a Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sat, 24 Apr 2021 17:57:34 +0200 Subject: [PATCH] Add CCT5010-0001. https://github.com/Koenkk/zigbee2mqtt/issues/7188 --- devices.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/devices.js b/devices.js index 44d92d7fd50f0..b18ef2f30040a 100755 --- a/devices.js +++ b/devices.js @@ -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',