-
Notifications
You must be signed in to change notification settings - Fork 7.8k
feat(zigbee): Add color modes support (XY,HSV,TEMP) #12094
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
base: master
Are you sure you want to change the base?
Conversation
👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Test Results 76 files 76 suites 16m 31s ⏱️ Results for commit 990eb7b. ♻️ This comment has been updated with latest results. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Description of Change
This pull request adds support for multiple color modes to the
ZigbeeColorDimmableLightclass, including RGB/XY, HSV, and Color Temperature, with new configuration, control, and callback mechanisms. The documentation and example code have been updated to reflect these enhancements, and new keywords and constants have been added for improved code completion and clarity.ZigbeeColorDimmableLight color mode support
ZigbeeColorDimmableLight, including new internal attributes, state tracking, and capability configuration. [1] [2]onLightChangeRgb,onLightChangeHsv,onLightChangeTemp) and automatic color mode switching based on the control method used. LegacyonLightChangeis now deprecated.falseand logging errors if unsupported operations are attempted. [1] [2] [3]Documentation and example updates
Zigbee_Color_Dimmable_Light.inoto demonstrate both RGB and Color Temperature support, including conversion helpers and callback implementations for each mode. [1] [2] [3] [4]Internal logic and attribute management
These changes make the Zigbee color dimmable light endpoint significantly more flexible and robust, supporting a wide range of lighting devices and use cases.
Test Scenarios
Tested using updated example using ESP32C6 and HomeAssistant (ZHA). All options are visible - Level, RGB and Temperature

Related links
Related to #12031
Closes #11654