-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Chef] Fix invalid featureMap and associated commands/attributes in colortemperaturelight ZAP #35443
Conversation
Review changes with SemanticDiff. |
PR #35443: Size comparison from f89d5b9 to 1fb6b67 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
Outdated
Show resolved
Hide resolved
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
Outdated
Show resolved
Hide resolved
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
Outdated
Show resolved
Hide resolved
examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap
Outdated
Show resolved
Hide resolved
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.
This PR needs a summary to describe the changes. Fix colortemperaturelight
is insufficient.
What was fixed and why? Why was it broken and why is the fix correct or why was the proposed fix path taken?
In general would like to undersatnd why:
- things moved from ram to persist
- various attributes gone
- various defaults updated
PR #35443: Size comparison from 607a4a8 to 3e577d2 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
@andy31415 The description of this PR was updated. PTAL |
PR #35443: Size comparison from 607a4a8 to fc11d7b Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
PR #35443: Size comparison from 3f0f242 to 514b2f6 Full report (77 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…olortemperaturelight ZAP (project-chip#35443) * Fix chef colortemperaturelight ZAP * Not changing the default value of the CoupleColorTempToLevelMinMireds * Fix ColorTemperatureMired range 0x9A~0x1C6
…olortemperaturelight ZAP (project-chip#35443) * Fix chef colortemperaturelight ZAP * Not changing the default value of the CoupleColorTempToLevelMinMireds * Fix ColorTemperatureMired range 0x9A~0x1C6
Description
Set the clusters to correct feature bits (e.g.
On/Off cluster
to0x1
to enableLT
,LevelControl
to0x3
to enableOnOff
andLighting
,Color Control
cluster to0x10
to enableColorTemperature
)After correcting the featuremap above, remove all the non-relevant attributes / commands (e.g.
MoveHue
command orPrimary 1X
attribute)Set the default values for some attributes to either the minimum or maximum of their possible range.
Moved attributes from RAM to Persistent since we found the attribute changes will be gone after device reboot (without factory reset).