Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: LGYCDD01LM color supported again #6812

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Conversation

Nerivec
Copy link
Contributor

@Nerivec Nerivec commented Jan 2, 2024

Fixes Koenkk/zigbee2mqtt#20497

Introduced in 3db5698 (Nov 27), subsequent updates never restored 'color'.

-        extend: extend.light_onoff_brightness_colortemp_color(
-            {disableEffect: true, disablePowerOnBehavior: true, disableColorTempStartup: true, colorTempRange: [153, 370]}),
+        extend: [
+            modernExtend.light({effect: false, powerOnBehaviour: false, colorTemp: {startup: false, range: [153, 370]}}),

src/devices/xiaomi.ts Outdated Show resolved Hide resolved
@Koenkk Koenkk merged commit ab0a776 into Koenkk:master Jan 2, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jan 2, 2024

Great, many thanks!

@Nerivec Nerivec deleted the patch-1 branch January 2, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aqara Zigbee 3.0 LED strip T1 no RGB-colors configurable
2 participants