Mark the non-volatile Color Control attributes as NVM in some examples. (#26808)
Fixes https://github.com/project-chip/connectedhomeip/issues/26793
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index c782281..be9db44 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -2285,27 +2285,27 @@
}
server cluster ColorControl {
- ram attribute currentHue default = 0x00;
- ram attribute currentSaturation default = 0x00;
+ persist attribute currentHue default = 0x00;
+ persist attribute currentSaturation default = 0x00;
ram attribute remainingTime default = 0x0000;
- ram attribute currentX default = 0x616B;
- ram attribute currentY default = 0x607D;
- ram attribute colorTemperatureMireds default = 0x00FA;
- ram attribute colorMode default = 0x01;
+ persist attribute currentX default = 0x616B;
+ persist attribute currentY default = 0x607D;
+ persist attribute colorTemperatureMireds default = 0x00FA;
+ persist attribute colorMode default = 0x01;
ram attribute options default = 0x00;
ram attribute numberOfPrimaries;
- ram attribute enhancedCurrentHue default = 0x0000;
- ram attribute enhancedColorMode default = 0x01;
- ram attribute colorLoopActive default = 0x00;
- ram attribute colorLoopDirection default = 0x00;
- ram attribute colorLoopTime default = 0x0019;
+ persist attribute enhancedCurrentHue default = 0x0000;
+ persist attribute enhancedColorMode default = 0x01;
+ persist attribute colorLoopActive default = 0x00;
+ persist attribute colorLoopDirection default = 0x00;
+ persist attribute colorLoopTime default = 0x0019;
ram attribute colorLoopStartEnhancedHue default = 0x2300;
ram attribute colorLoopStoredEnhancedHue default = 0x0000;
ram attribute colorCapabilities default = 0x1F;
ram attribute colorTempPhysicalMinMireds default = 0x0000;
ram attribute colorTempPhysicalMaxMireds default = 0xFEFF;
ram attribute coupleColorTempToLevelMinMireds;
- ram attribute startUpColorTemperatureMireds;
+ persist attribute startUpColorTemperatureMireds;
ram attribute featureMap default = 0x1F;
ram attribute clusterRevision default = 5;
}