Skip to content

Commit

Permalink
feat: Support hue and saturation for Calex 421792 (#5979)
Browse files Browse the repository at this point in the history
Fixed recent errors when using Hue/Saturations with the rgb bulb. It always worked in the past, but it seems supportsHueAndSaturation: true needs to be set now.
  • Loading branch information
JoyceKimberly committed Jul 18, 2023
1 parent f8e4677 commit 17868fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/calex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const definitions: Definition[] = [
model: '421792',
vendor: 'Calex',
description: 'LED A60 Zigbee RGB lamp',
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
extend: extend.light_onoff_brightness_colortemp_color({supportsHueAndSaturation: true, colorTempRange: [153, 370]}),
},
{
zigbeeModel: ['Smart Wall Switch '], // Yes, it has a space at the end :(
Expand Down

0 comments on commit 17868fe

Please sign in to comment.