From fbfe23942178d9fbc525948b655f18a2a70a78cc Mon Sep 17 00:00:00 2001 From: swevictor Date: Tue, 5 Aug 2025 10:35:42 +0200 Subject: [PATCH] Add support for DWN-02 from dev to master --- plejd/PlejdApi.js | 16 ++++++++-------- plejd/README.md | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/plejd/PlejdApi.js b/plejd/PlejdApi.js index 11545af..5642031 100644 --- a/plejd/PlejdApi.js +++ b/plejd/PlejdApi.js @@ -405,17 +405,17 @@ class PlejdApi { dimmable: true, broadcastClicks: false, }; + case 199: + return { + name: 'DWN-02', + description: 'Smart tunable downlight with a built-in dimmer function, 8W', + type: 'light', + dimmable: true, + broadcastClicks: false, + }; // PLEASE CREATE AN ISSUE WITH THE HARDWARE ID if you own one of these devices! // case // return { - // name: 'DWN-02', - // description: 'Smart tunable downlight with a built-in dimmer function, 8W', - // type: 'light', - // dimmable: true, - // broadcastClicks: false, - // }; - // case - // return { // name: 'OUT-01', // description: 'Outdoor wall light with built-in LED, 2x5W', // type: 'light', diff --git a/plejd/README.md b/plejd/README.md index e3b0dd6..5bfdc81 100644 --- a/plejd/README.md +++ b/plejd/README.md @@ -147,6 +147,7 @@ Plejd output devices typically appears as either lights or switches in Home Assi | LED-75 | - | Light | | | DAL-01 | - | Light | | | DWN-01 | - | Light | | +| DWN-02 | - | Light | | | WPH-01 | - | Device Automation | type:button_short_press, subtype:button_1, button_2,button_3,button_4 | | WRT-01 | - | Device Automation | type:button_short_press, subtype:button_1 | | GWY-01 | - | - | |