Repository navigation
feat(colorControl): Add the OptionsMask / OptionsOverride command fields - #233
Open
TedTolboom wants to merge 1 commit into
Open
TedTolboom wants to merge 1 commit into
TedTolboom wants to merge 1 commit into
Conversation
The Move to Hue, Move to Saturation, Move to Hue and Saturation, Move to Color and Move to Color Temperature commands end with the OptionsMask and OptionsOverride fields (ZCL r8 5.2.2.3.3), which temporarily override the Options attribute, e.g. executeIfOff. They were not defined, so a driver could not send them without building a raw frame. The fields are optional (encodeMissingFieldsBehavior 'skip'): existing calls without them encode exactly as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RobinBol
force-pushed
the
feature/color-control-options
branch
from
October 27, 2026 14:53
f833546 to
a09e963
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the optional
optionsMaskandoptionsOverridefields (map8, ZCL r8 5.2.2.3.3) to Move to Hue, Move to Saturation, Move to Hue and Saturation, Move to Color and Move to Color Temperature, so a driver can send them, for example withexecuteIfOff, without building a raw frame. Calls without them encode exactly as before.The Aqara Ceiling Light T1M (
lumi.light.acn032) ignores color temperature steps without these fields; the Aqara hub sends them as01 01. Verified on a Homey Pro and with a sniffer capture of both hubs.Open question: ZCL r8 says both fields SHALL be present, with defaults for legacy devices. Always encoding
00 00would follow r8 more strictly, but changes the payload for every existing device, so the fields stay optional here.