From 998c5864c386eafab34f39d62d43cbd46d4e240f Mon Sep 17 00:00:00 2001 From: Mihail Malo Date: Mon, 6 Apr 2020 21:53:24 +0300 Subject: [PATCH] Rename converters to match contents (#1130) Fixes discrepancy introduced in #302 --- converters/fromZigbee.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/converters/fromZigbee.js b/converters/fromZigbee.js index 1690f1f8e158b..19370e9beb9d6 100644 --- a/converters/fromZigbee.js +++ b/converters/fromZigbee.js @@ -871,14 +871,14 @@ const converters = { return {click: 'off'}; }, }, - E1743_brightness_up: { + E1743_brightness_down: { cluster: 'genLevelCtrl', type: 'commandMove', convert: (model, msg, publish, options, meta) => { return {click: 'brightness_down'}; }, }, - E1743_brightness_down: { + E1743_brightness_up: { cluster: 'genLevelCtrl', type: 'commandMoveWithOnOff', convert: (model, msg, publish, options, meta) => {