From 198d4fcc5ed7f143443ea52b2ca3983a08d9c65e Mon Sep 17 00:00:00 2001 From: llehappier Date: Sun, 11 Jun 2023 09:51:36 +0800 Subject: [PATCH 1/2] add support new device with model 3RSNL02043Z --- src/devices/third_reality.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/devices/third_reality.ts b/src/devices/third_reality.ts index cdf4315d2bd9e..5b89881803ce9 100644 --- a/src/devices/third_reality.ts +++ b/src/devices/third_reality.ts @@ -223,6 +223,17 @@ const definitions: Definition[] = [ device.save(); }, }, + { + zigbeeModel: ['3RSNL02043Z'], + model: '3RSNL02043Z', + vendor: 'Third Reality', + description: 'Zigbee multi-Function night light', + ota: ota.zigbeeOTA, + extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555]}), + endpoint: (device) => { + return {'default': 1}; + }, + }, ]; module.exports = definitions; From d187b93c82b97e776368f696f87b33198f8a0e64 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Mon, 12 Jun 2023 17:41:49 +0200 Subject: [PATCH 2/2] Update third_reality.ts --- src/devices/third_reality.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/third_reality.ts b/src/devices/third_reality.ts index 5b89881803ce9..02a99ac9a32be 100644 --- a/src/devices/third_reality.ts +++ b/src/devices/third_reality.ts @@ -227,7 +227,7 @@ const definitions: Definition[] = [ zigbeeModel: ['3RSNL02043Z'], model: '3RSNL02043Z', vendor: 'Third Reality', - description: 'Zigbee multi-Function night light', + description: 'Zigbee multi-function night light', ota: ota.zigbeeOTA, extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555]}), endpoint: (device) => {