From 44259c237a3bd2f1b9404004932873332c9160b5 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Sat, 9 Apr 2022 18:05:38 +0200 Subject: [PATCH] Add SR-ZG9001K2-DIM (#4107) --- devices/sunricher.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devices/sunricher.js b/devices/sunricher.js index edfae6005e05f..d9ed90e2763d7 100644 --- a/devices/sunricher.js +++ b/devices/sunricher.js @@ -29,6 +29,16 @@ module.exports = [ description: '50W Zigbee CCT LED driver (constant current)', extend: extend.light_onoff_brightness_colortemp({colorTempRange: [160, 450]}), }, + { + zigbeeModel: ['ZGRC-KEY-004'], + model: 'SR-ZG9001K2-DIM', + vendor: 'Sunricher', + description: 'Zigbee wall remote control for single color, 1 zone', + fromZigbee: [fz.command_on, fz.command_off, fz.command_move, fz.command_stop, fz.battery], + toZigbee: [], + exposes: [e.battery(), e.action(['on', 'off', + 'brightness_move_up', 'brightness_move_down', 'brightness_move_stop'])], + }, { zigbeeModel: ['ZGRC-KEY-007'], model: 'SR-ZG9001K2-DIM2',