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

[Chef] Fix invalid featureMap and associated commands/attributes in colortemperaturelight ZAP #35443

Merged
merged 5 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2272,15 +2272,15 @@ endpoint 1 {
}

server cluster OnOff {
ram attribute onOff default = 0;
persist attribute onOff default = 0;
ram attribute globalSceneControl default = 1;
ram attribute onTime default = 0;
ram attribute offWaitTime default = 0;
ram attribute startUpOnOff;
persist attribute startUpOnOff;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 5;

handle command Off;
Expand All @@ -2292,15 +2292,17 @@ endpoint 1 {
}

server cluster LevelControl {
ram attribute currentLevel default = 0x00;
persist attribute currentLevel default = 0x00;
ram attribute remainingTime default = 0x0000;
ram attribute options default = 0x00;
ram attribute minLevel default = 0x1;
ram attribute maxLevel default = 0xFE;
ram attribute options default = 0x01;
ram attribute onLevel;
ram attribute startUpCurrentLevel;
persist attribute startUpCurrentLevel;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute featureMap default = 0x3;
ram attribute clusterRevision default = 6;

handle command MoveToLevel;
Expand All @@ -2327,53 +2329,23 @@ endpoint 1 {

server cluster ColorControl {
ram attribute remainingTime default = 0x0000;
ram attribute colorTemperatureMireds default = 0x00FA;
ram attribute colorMode default = 0x02;
persist attribute colorTemperatureMireds default = 0x00FA;
persist attribute colorMode default = 0x02;
ram attribute options default = 0x00;
ram attribute numberOfPrimaries;
ram attribute primary1X;
ram attribute primary1Y;
ram attribute primary1Intensity;
ram attribute primary2X;
ram attribute primary2Y;
ram attribute primary2Intensity;
ram attribute primary3X;
ram attribute primary3Y;
ram attribute primary3Intensity;
ram attribute primary4X;
ram attribute primary4Y;
ram attribute primary4Intensity;
ram attribute primary5X;
ram attribute primary5Y;
ram attribute primary5Intensity;
ram attribute primary6X;
ram attribute primary6Y;
ram attribute primary6Intensity;
ram attribute enhancedCurrentHue default = 0x0000;
ram attribute enhancedColorMode default = 0x02;
ram attribute colorCapabilities default = 0x0000;
persist attribute enhancedColorMode default = 0x02;
ram attribute colorCapabilities default = 0x0010;
ram attribute colorTempPhysicalMinMireds default = 0x009A;
ram attribute colorTempPhysicalMaxMireds default = 0x01C6;
ram attribute coupleColorTempToLevelMinMireds;
ram attribute startUpColorTemperatureMireds default = 0x00FA;
persist attribute startUpColorTemperatureMireds default = 0x00FA;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0x0010;
ram attribute clusterRevision default = 7;

handle command MoveToHue;
handle command MoveHue;
handle command StepHue;
handle command MoveToSaturation;
handle command MoveSaturation;
handle command StepSaturation;
handle command MoveToHueAndSaturation;
handle command MoveToColor;
handle command MoveColor;
handle command StepColor;
handle command MoveToColorTemperature;
handle command EnhancedMoveToHue;
handle command EnhancedMoveHue;
handle command EnhancedStepHue;
handle command EnhancedMoveToHueAndSaturation;
Expand Down
Loading
Loading