Skip to content

Commit 358c064

Browse files
committed
[Chef] Set all attributes to NVM if they are qualified for nonVolatile (project-chip#35785)
* [Chef] Set all attributes to NVM [Chef] Set all attributes to NVM if they are qualified for nonVolitile * Add all changed matter files due to ZAP change And remove noip_rootnode_dimmablelight_bCwGYSDpoe.zap * Add corresponding changed matter files * Add corresponding matter changed files due to zap change
1 parent d6f569a commit 358c064

File tree

42 files changed

+202
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+202
-202
lines changed

examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ endpoint 1 {
16251625
}
16261626

16271627
server cluster OnOff {
1628-
ram attribute onOff default = 0;
1628+
persist attribute onOff default = 0;
16291629
callback attribute generatedCommandList;
16301630
callback attribute acceptedCommandList;
16311631
callback attribute eventList;
@@ -1686,7 +1686,7 @@ endpoint 1 {
16861686
}
16871687

16881688
server cluster FanControl {
1689-
ram attribute fanMode default = 0;
1689+
persist attribute fanMode default = 0;
16901690
ram attribute fanModeSequence default = 2;
16911691
ram attribute percentSetting default = 0;
16921692
ram attribute percentCurrent default = 0;

examples/chef/devices/rootnode_airpurifier_73a6fe2651.zap

+2-2
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@
25102510
"side": "server",
25112511
"type": "boolean",
25122512
"included": 1,
2513-
"storageOption": "RAM",
2513+
"storageOption": "NVM",
25142514
"singleton": 0,
25152515
"bounded": 0,
25162516
"defaultValue": "0",
@@ -3236,7 +3236,7 @@
32363236
"side": "server",
32373237
"type": "FanModeEnum",
32383238
"included": 1,
3239-
"storageOption": "RAM",
3239+
"storageOption": "NVM",
32403240
"singleton": 0,
32413241
"bounded": 0,
32423242
"defaultValue": "0",

examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter

+6-6
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ endpoint 1 {
27542754
}
27552755

27562756
server cluster FanControl {
2757-
ram attribute fanMode default = 0;
2757+
persist attribute fanMode default = 0;
27582758
ram attribute fanModeSequence default = 2;
27592759
ram attribute percentSetting default = 0;
27602760
ram attribute percentCurrent default = 0;
@@ -3140,11 +3140,11 @@ endpoint 5 {
31403140
ram attribute absMinHeatSetpointLimit default = 700;
31413141
ram attribute absMaxHeatSetpointLimit default = 3000;
31423142
persist attribute PIHeatingDemand default = 0;
3143-
ram attribute occupiedHeatingSetpoint default = 2000;
3144-
ram attribute minHeatSetpointLimit default = 700;
3145-
ram attribute maxHeatSetpointLimit default = 3000;
3146-
ram attribute controlSequenceOfOperation default = 2;
3147-
ram attribute systemMode default = 4;
3143+
persist attribute occupiedHeatingSetpoint default = 2000;
3144+
persist attribute minHeatSetpointLimit default = 700;
3145+
persist attribute maxHeatSetpointLimit default = 3000;
3146+
persist attribute controlSequenceOfOperation default = 2;
3147+
persist attribute systemMode default = 4;
31483148
callback attribute generatedCommandList;
31493149
callback attribute acceptedCommandList;
31503150
callback attribute eventList;

examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.zap

+6-6
Original file line numberDiff line numberDiff line change
@@ -2927,7 +2927,7 @@
29272927
"side": "server",
29282928
"type": "FanModeEnum",
29292929
"included": 1,
2930-
"storageOption": "RAM",
2930+
"storageOption": "NVM",
29312931
"singleton": 0,
29322932
"bounded": 0,
29332933
"defaultValue": "0",
@@ -7993,7 +7993,7 @@
79937993
"side": "server",
79947994
"type": "temperature",
79957995
"included": 1,
7996-
"storageOption": "RAM",
7996+
"storageOption": "NVM",
79977997
"singleton": 0,
79987998
"bounded": 0,
79997999
"defaultValue": "2000",
@@ -8009,7 +8009,7 @@
80098009
"side": "server",
80108010
"type": "temperature",
80118011
"included": 1,
8012-
"storageOption": "RAM",
8012+
"storageOption": "NVM",
80138013
"singleton": 0,
80148014
"bounded": 0,
80158015
"defaultValue": "700",
@@ -8025,7 +8025,7 @@
80258025
"side": "server",
80268026
"type": "temperature",
80278027
"included": 1,
8028-
"storageOption": "RAM",
8028+
"storageOption": "NVM",
80298029
"singleton": 0,
80308030
"bounded": 0,
80318031
"defaultValue": "3000",
@@ -8041,7 +8041,7 @@
80418041
"side": "server",
80428042
"type": "ControlSequenceOfOperationEnum",
80438043
"included": 1,
8044-
"storageOption": "RAM",
8044+
"storageOption": "NVM",
80458045
"singleton": 0,
80468046
"bounded": 0,
80478047
"defaultValue": "2",
@@ -8057,7 +8057,7 @@
80578057
"side": "server",
80588058
"type": "SystemModeEnum",
80598059
"included": 1,
8060-
"storageOption": "RAM",
8060+
"storageOption": "NVM",
80618061
"singleton": 0,
80628062
"bounded": 0,
80638063
"defaultValue": "4",

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2350,7 +2350,7 @@ endpoint 1 {
23502350
emits event BatFaultChange;
23512351
emits event BatChargeFaultChange;
23522352
ram attribute status default = 1;
2353-
ram attribute order default = 1;
2353+
persist attribute order default = 1;
23542354
ram attribute description default = "Primary Battery";
23552355
ram attribute batVoltage default = 4100;
23562356
ram attribute batPercentRemaining default = 95;

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2802,7 +2802,7 @@
28022802
"side": "server",
28032803
"type": "int8u",
28042804
"included": 1,
2805-
"storageOption": "RAM",
2805+
"storageOption": "NVM",
28062806
"singleton": 0,
28072807
"bounded": 0,
28082808
"defaultValue": "1",

examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2486,7 +2486,7 @@ endpoint 1 {
24862486

24872487
server cluster PowerSource {
24882488
ram attribute status default = 1;
2489-
ram attribute order default = 1;
2489+
persist attribute order default = 1;
24902490
ram attribute description default = "Primary Battery";
24912491
ram attribute batVoltage default = 4100;
24922492
ram attribute batPercentRemaining default = 95;

examples/chef/devices/rootnode_contactsensor_27f76aeaf5.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@
26782678
"side": "server",
26792679
"type": "int8u",
26802680
"included": 1,
2681-
"storageOption": "RAM",
2681+
"storageOption": "NVM",
26822682
"singleton": 0,
26832683
"bounded": 0,
26842684
"defaultValue": "1",

examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ endpoint 1 {
18551855

18561856
server cluster PowerSource {
18571857
ram attribute status default = 1;
1858-
ram attribute order default = 1;
1858+
persist attribute order default = 1;
18591859
ram attribute description default = "Battery";
18601860
ram attribute batVoltage default = 2590;
18611861
ram attribute batPercentRemaining default = 98;

examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -3056,7 +3056,7 @@
30563056
"side": "server",
30573057
"type": "int8u",
30583058
"included": 1,
3059-
"storageOption": "RAM",
3059+
"storageOption": "NVM",
30603060
"singleton": 0,
30613061
"bounded": 0,
30623062
"defaultValue": "1",

examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter

+4-4
Original file line numberDiff line numberDiff line change
@@ -1805,11 +1805,11 @@ endpoint 1 {
18051805
}
18061806

18071807
server cluster OnOff {
1808-
ram attribute onOff default = 0;
1808+
persist attribute onOff default = 0;
18091809
ram attribute globalSceneControl default = 1;
18101810
ram attribute onTime default = 0;
18111811
ram attribute offWaitTime default = 0;
1812-
ram attribute startUpOnOff default = 0;
1812+
persist attribute startUpOnOff default = 0;
18131813
callback attribute generatedCommandList;
18141814
callback attribute acceptedCommandList;
18151815
callback attribute attributeList;
@@ -1822,13 +1822,13 @@ endpoint 1 {
18221822
}
18231823

18241824
server cluster LevelControl {
1825-
ram attribute currentLevel default = 0x01;
1825+
persist attribute currentLevel default = 0x01;
18261826
ram attribute remainingTime default = 0x0000;
18271827
ram attribute minLevel default = 0x01;
18281828
ram attribute maxLevel default = 0xFE;
18291829
ram attribute options default = 0x03;
18301830
ram attribute onLevel default = 0xFE;
1831-
ram attribute startUpCurrentLevel default = 0x00;
1831+
persist attribute startUpCurrentLevel default = 0x00;
18321832
callback attribute generatedCommandList;
18331833
callback attribute acceptedCommandList;
18341834
callback attribute attributeList;

examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap

+4-4
Original file line numberDiff line numberDiff line change
@@ -2886,7 +2886,7 @@
28862886
"side": "server",
28872887
"type": "boolean",
28882888
"included": 1,
2889-
"storageOption": "RAM",
2889+
"storageOption": "NVM",
28902890
"singleton": 0,
28912891
"bounded": 0,
28922892
"defaultValue": "0",
@@ -2950,7 +2950,7 @@
29502950
"side": "server",
29512951
"type": "StartUpOnOffEnum",
29522952
"included": 1,
2953-
"storageOption": "RAM",
2953+
"storageOption": "NVM",
29542954
"singleton": 0,
29552955
"bounded": 0,
29562956
"defaultValue": "0",
@@ -3122,7 +3122,7 @@
31223122
"side": "server",
31233123
"type": "int8u",
31243124
"included": 1,
3125-
"storageOption": "RAM",
3125+
"storageOption": "NVM",
31263126
"singleton": 0,
31273127
"bounded": 0,
31283128
"defaultValue": "0x01",
@@ -3218,7 +3218,7 @@
32183218
"side": "server",
32193219
"type": "int8u",
32203220
"included": 1,
3221-
"storageOption": "RAM",
3221+
"storageOption": "NVM",
32223222
"singleton": 0,
32233223
"bounded": 0,
32243224
"defaultValue": "0x00",

examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.matter

+4-4
Original file line numberDiff line numberDiff line change
@@ -1953,11 +1953,11 @@ endpoint 1 {
19531953
}
19541954

19551955
server cluster OnOff {
1956-
ram attribute onOff default = 0;
1956+
persist attribute onOff default = 0;
19571957
ram attribute globalSceneControl default = 1;
19581958
ram attribute onTime default = 0;
19591959
ram attribute offWaitTime default = 0;
1960-
ram attribute startUpOnOff default = 0;
1960+
persist attribute startUpOnOff default = 0;
19611961
callback attribute generatedCommandList;
19621962
callback attribute acceptedCommandList;
19631963
callback attribute eventList;
@@ -1974,13 +1974,13 @@ endpoint 1 {
19741974
}
19751975

19761976
server cluster LevelControl {
1977-
ram attribute currentLevel default = 0x01;
1977+
persist attribute currentLevel default = 0x01;
19781978
ram attribute remainingTime default = 0x0000;
19791979
ram attribute minLevel default = 0x01;
19801980
ram attribute maxLevel default = 0xFE;
19811981
ram attribute options default = 0x00;
19821982
ram attribute onLevel default = 0xFE;
1983-
ram attribute startUpCurrentLevel default = 0x00;
1983+
persist attribute startUpCurrentLevel default = 0x00;
19841984
callback attribute generatedCommandList;
19851985
callback attribute acceptedCommandList;
19861986
callback attribute eventList;

examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.zap

+4-4
Original file line numberDiff line numberDiff line change
@@ -2886,7 +2886,7 @@
28862886
"side": "server",
28872887
"type": "boolean",
28882888
"included": 1,
2889-
"storageOption": "RAM",
2889+
"storageOption": "NVM",
28902890
"singleton": 0,
28912891
"bounded": 0,
28922892
"defaultValue": "0",
@@ -2950,7 +2950,7 @@
29502950
"side": "server",
29512951
"type": "StartUpOnOffEnum",
29522952
"included": 1,
2953-
"storageOption": "RAM",
2953+
"storageOption": "NVM",
29542954
"singleton": 0,
29552955
"bounded": 0,
29562956
"defaultValue": "0",
@@ -3138,7 +3138,7 @@
31383138
"side": "server",
31393139
"type": "int8u",
31403140
"included": 1,
3141-
"storageOption": "RAM",
3141+
"storageOption": "NVM",
31423142
"singleton": 0,
31433143
"bounded": 0,
31443144
"defaultValue": "0x01",
@@ -3234,7 +3234,7 @@
32343234
"side": "server",
32353235
"type": "int8u",
32363236
"included": 1,
3237-
"storageOption": "RAM",
3237+
"storageOption": "NVM",
32383238
"singleton": 0,
32393239
"bounded": 0,
32403240
"defaultValue": "0x00",

examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,7 @@ endpoint 1 {
23722372

23732373
server cluster PowerSource {
23742374
ram attribute status default = 1;
2375-
ram attribute order default = 1;
2375+
persist attribute order default = 1;
23762376
ram attribute description default = "Battery";
23772377
ram attribute batVoltage;
23782378
ram attribute batPercentRemaining;

examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2858,7 +2858,7 @@
28582858
"side": "server",
28592859
"type": "int8u",
28602860
"included": 1,
2861-
"storageOption": "RAM",
2861+
"storageOption": "NVM",
28622862
"singleton": 0,
28632863
"bounded": 0,
28642864
"defaultValue": "1",

examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter

+16-16
Original file line numberDiff line numberDiff line change
@@ -2081,11 +2081,11 @@ endpoint 1 {
20812081
}
20822082

20832083
server cluster OnOff {
2084-
ram attribute onOff default = 0;
2084+
persist attribute onOff default = 0;
20852085
ram attribute globalSceneControl default = 1;
20862086
ram attribute onTime default = 0;
20872087
ram attribute offWaitTime default = 0;
2088-
ram attribute startUpOnOff default = 0;
2088+
persist attribute startUpOnOff default = 0;
20892089
callback attribute generatedCommandList;
20902090
callback attribute acceptedCommandList;
20912091
callback attribute attributeList;
@@ -2098,13 +2098,13 @@ endpoint 1 {
20982098
}
20992099

21002100
server cluster LevelControl {
2101-
ram attribute currentLevel default = 0x01;
2101+
persist attribute currentLevel default = 0x01;
21022102
ram attribute remainingTime default = 0x0000;
21032103
ram attribute minLevel default = 0x01;
21042104
ram attribute maxLevel default = 0xFE;
21052105
ram attribute options default = 0x03;
21062106
ram attribute onLevel default = 0xFE;
2107-
ram attribute startUpCurrentLevel default = 0x00;
2107+
persist attribute startUpCurrentLevel default = 0x00;
21082108
callback attribute generatedCommandList;
21092109
callback attribute acceptedCommandList;
21102110
callback attribute attributeList;
@@ -2134,27 +2134,27 @@ endpoint 1 {
21342134
}
21352135

21362136
server cluster ColorControl {
2137-
ram attribute currentHue default = 0x00;
2138-
ram attribute currentSaturation default = 0x00;
2137+
persist attribute currentHue default = 0x00;
2138+
persist attribute currentSaturation default = 0x00;
21392139
ram attribute remainingTime default = 0x0000;
2140-
ram attribute currentX default = 0x616B;
2141-
ram attribute currentY default = 0x607D;
2142-
ram attribute colorTemperatureMireds default = 0x00FA;
2143-
ram attribute colorMode default = 0x01;
2140+
persist attribute currentX default = 0x616B;
2141+
persist attribute currentY default = 0x607D;
2142+
persist attribute colorTemperatureMireds default = 0x00FA;
2143+
persist attribute colorMode default = 0x01;
21442144
ram attribute options default = 0x00;
21452145
ram attribute numberOfPrimaries default = 0;
2146-
ram attribute enhancedCurrentHue default = 0x0000;
2147-
ram attribute enhancedColorMode default = 0x01;
2148-
ram attribute colorLoopActive default = 0x00;
2149-
ram attribute colorLoopDirection default = 0x00;
2150-
ram attribute colorLoopTime default = 0x0019;
2146+
persist attribute enhancedCurrentHue default = 0x0000;
2147+
persist attribute enhancedColorMode default = 0x01;
2148+
persist attribute colorLoopActive default = 0x00;
2149+
persist attribute colorLoopDirection default = 0x00;
2150+
persist attribute colorLoopTime default = 0x0019;
21512151
ram attribute colorLoopStartEnhancedHue default = 0x2300;
21522152
ram attribute colorLoopStoredEnhancedHue default = 0x0000;
21532153
ram attribute colorCapabilities default = 0x0000;
21542154
ram attribute colorTempPhysicalMinMireds default = 0x009A;
21552155
ram attribute colorTempPhysicalMaxMireds default = 0x01C6;
21562156
ram attribute coupleColorTempToLevelMinMireds default = 0x0000;
2157-
ram attribute startUpColorTemperatureMireds default = 0x00FA;
2157+
persist attribute startUpColorTemperatureMireds default = 0x00FA;
21582158
callback attribute generatedCommandList;
21592159
callback attribute acceptedCommandList;
21602160
callback attribute attributeList;

0 commit comments

Comments
 (0)