Skip to content

Commit 829eb5f

Browse files
Aogu181Koenkk
andauthored
fix: Add back colour to Gledopto GL-C-003P (#8305)
* Fixed GL-C-003P mode * Fixed GL-C-003P mode * Update src/devices/gledopto.ts --------- Co-authored-by: Koen Kanters <[email protected]>
1 parent ebbe3b2 commit 829eb5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/devices/gledopto.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,9 @@ const definitions: DefinitionWithExtend[] = [
417417
model: 'GL-C-003P',
418418
vendor: 'Gledopto',
419419
ota: ota.zigbeeOTA,
420-
description: 'Zigbee LED Controller CCT (pro)',
421-
extend: [light({colorTemp: {range: [158, 500]}}), identify(), gledoptoConfigureReadModelID()],
420+
description: 'Zigbee LED Controller RGB (pro)',
421+
// Supports color: https://github.com/Koenkk/zigbee2mqtt/issues/24091
422+
extend: [light({color: {modes: ['xy', 'hs'], enhancedHue: true}}), identify(), gledoptoConfigureReadModelID()],
422423
},
423424
{
424425
zigbeeModel: ['GL-C-008P'],

0 commit comments

Comments
 (0)