Skip to content

feat(colorControl): Add the OptionsMask / OptionsOverride command fields - #233

Open
TedTolboom wants to merge 1 commit into
athombv:masterfrom
TedTolboom:feature/color-control-options
Open

TedTolboom wants to merge 1 commit into
athombv:masterfrom
TedTolboom:feature/color-control-options

Conversation

@TedTolboom

@TedTolboom TedTolboom commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Adds the optional optionsMask and optionsOverride fields (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 with executeIfOff, 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 as 01 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 00 would follow r8 more strictly, but changes the payload for every existing device, so the fields stay optional here.

@RobinBol RobinBol added the feature New feature, release notes: New features label Oct 23, 2026
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
RobinBol force-pushed the feature/color-control-options branch from f833546 to a09e963 Compare October 27, 2026 14:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature, release notes: New features

Development

Successfully merging this pull request may close these issues.

2 participants