From 588b0353bd9246a947922d78d21b778f8a255068 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Sun, 19 May 2024 16:41:02 +0200 Subject: [PATCH] fix: Fix red color not working for Paulmann 500.4X https://github.com/Koenkk/zigbee2mqtt/issues/22686 --- src/devices/paulmann.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/devices/paulmann.ts b/src/devices/paulmann.ts index 9d5334629418a..9d5bb213b9e4a 100644 --- a/src/devices/paulmann.ts +++ b/src/devices/paulmann.ts @@ -75,14 +75,14 @@ const definitions: Definition[] = [ model: '500.47', vendor: 'Paulmann', description: 'SmartHome Zigbee MaxLED RGBW controller max. 72W 24V DC', - extend: [light({colorTemp: {range: undefined}, color: {modes: ['xy', 'hs']}})], + extend: [light({colorTemp: {range: undefined}, color: {modes: ['xy', 'hs'], applyRedFix: true}})], }, { zigbeeModel: ['RGBW light', '500.49', 'RGBW_light'], model: '50049/500.63', vendor: 'Paulmann', description: 'Smart Home Zigbee YourLED RGB Controller max. 60W / Smart Home Zigbee LED Reflektor 3,5W GU10 RGBW dimmbar', - extend: [light({colorTemp: {range: undefined}, color: {modes: ['xy', 'hs']}})], + extend: [light({colorTemp: {range: undefined}, color: {modes: ['xy', 'hs'], applyRedFix: true}})], }, { zigbeeModel: ['RGBCW_LIGHT'], @@ -157,21 +157,21 @@ const definitions: Definition[] = [ model: '500.44', vendor: 'Paulmann', description: 'URail power supply', - extend: [light({color: true})], + extend: [light({color: {applyRedFix: true}})], }, { zigbeeModel: ['500.45'], model: '500.45', vendor: 'Paulmann', description: 'SmartHome Zigbee Pendulum Light Aptare', - extend: [light()], + extend: [light({color: {applyRedFix: true}})], }, { zigbeeModel: ['500.48'], model: '500.48', vendor: 'Paulmann', description: 'SmartHome Zigbee YourLED dim/switch controller max. 60 W', - extend: [light()], + extend: [light({color: {applyRedFix: true}})], }, { fingerprint: [{manufacturerName: 'Paulmann Licht GmbH', modelID: 'Dimmable'}],