Skip to content

Commit

Permalink
fix: Add back colour to Gledopto GL-C-003P (#8305)
Browse files Browse the repository at this point in the history
* Fixed GL-C-003P mode

* Fixed GL-C-003P mode

* Update src/devices/gledopto.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
Aogu181 and Koenkk authored Nov 13, 2024
1 parent ebbe3b2 commit 829eb5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/devices/gledopto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,9 @@ const definitions: DefinitionWithExtend[] = [
model: 'GL-C-003P',
vendor: 'Gledopto',
ota: ota.zigbeeOTA,
description: 'Zigbee LED Controller CCT (pro)',
extend: [light({colorTemp: {range: [158, 500]}}), identify(), gledoptoConfigureReadModelID()],
description: 'Zigbee LED Controller RGB (pro)',
// Supports color: https://github.com/Koenkk/zigbee2mqtt/issues/24091
extend: [light({color: {modes: ['xy', 'hs'], enhancedHue: true}}), identify(), gledoptoConfigureReadModelID()],
},
{
zigbeeModel: ['GL-C-008P'],
Expand Down

0 comments on commit 829eb5f

Please sign in to comment.