Skip to content

Commit

Permalink
[Chef] Set all attributes to NVM if they are qualified for nonVolatile (
Browse files Browse the repository at this point in the history
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
  • Loading branch information
erwinpan1 committed Sep 27, 2024
1 parent d6f569a commit 358c064
Show file tree
Hide file tree
Showing 42 changed files with 202 additions and 202 deletions.
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1625,7 +1625,7 @@ endpoint 1 {
}

server cluster OnOff {
ram attribute onOff default = 0;
persist attribute onOff default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down Expand Up @@ -1686,7 +1686,7 @@ endpoint 1 {
}

server cluster FanControl {
ram attribute fanMode default = 0;
persist attribute fanMode default = 0;
ram attribute fanModeSequence default = 2;
ram attribute percentSetting default = 0;
ram attribute percentCurrent default = 0;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_airpurifier_73a6fe2651.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2510,7 +2510,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3236,7 +3236,7 @@
"side": "server",
"type": "FanModeEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ endpoint 1 {
}

server cluster FanControl {
ram attribute fanMode default = 0;
persist attribute fanMode default = 0;
ram attribute fanModeSequence default = 2;
ram attribute percentSetting default = 0;
ram attribute percentCurrent default = 0;
Expand Down Expand Up @@ -3140,11 +3140,11 @@ endpoint 5 {
ram attribute absMinHeatSetpointLimit default = 700;
ram attribute absMaxHeatSetpointLimit default = 3000;
persist attribute PIHeatingDemand default = 0;
ram attribute occupiedHeatingSetpoint default = 2000;
ram attribute minHeatSetpointLimit default = 700;
ram attribute maxHeatSetpointLimit default = 3000;
ram attribute controlSequenceOfOperation default = 2;
ram attribute systemMode default = 4;
persist attribute occupiedHeatingSetpoint default = 2000;
persist attribute minHeatSetpointLimit default = 700;
persist attribute maxHeatSetpointLimit default = 3000;
persist attribute controlSequenceOfOperation default = 2;
persist attribute systemMode default = 4;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2927,7 +2927,7 @@
"side": "server",
"type": "FanModeEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -7993,7 +7993,7 @@
"side": "server",
"type": "temperature",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2000",
Expand All @@ -8009,7 +8009,7 @@
"side": "server",
"type": "temperature",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "700",
Expand All @@ -8025,7 +8025,7 @@
"side": "server",
"type": "temperature",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "3000",
Expand All @@ -8041,7 +8041,7 @@
"side": "server",
"type": "ControlSequenceOfOperationEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "2",
Expand All @@ -8057,7 +8057,7 @@
"side": "server",
"type": "SystemModeEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2350,7 +2350,7 @@ endpoint 1 {
emits event BatFaultChange;
emits event BatChargeFaultChange;
ram attribute status default = 1;
ram attribute order default = 1;
persist attribute order default = 1;
ram attribute description default = "Primary Battery";
ram attribute batVoltage default = 4100;
ram attribute batPercentRemaining default = 95;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2802,7 +2802,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2486,7 +2486,7 @@ endpoint 1 {

server cluster PowerSource {
ram attribute status default = 1;
ram attribute order default = 1;
persist attribute order default = 1;
ram attribute description default = "Primary Battery";
ram attribute batVoltage default = 4100;
ram attribute batPercentRemaining default = 95;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2678,7 +2678,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@ endpoint 1 {

server cluster PowerSource {
ram attribute status default = 1;
ram attribute order default = 1;
persist attribute order default = 1;
ram attribute description default = "Battery";
ram attribute batVoltage default = 2590;
ram attribute batPercentRemaining default = 98;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3056,7 +3056,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1805,11 +1805,11 @@ 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 default = 0;
persist attribute startUpOnOff default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand All @@ -1822,13 +1822,13 @@ endpoint 1 {
}

server cluster LevelControl {
ram attribute currentLevel default = 0x01;
persist attribute currentLevel default = 0x01;
ram attribute remainingTime default = 0x0000;
ram attribute minLevel default = 0x01;
ram attribute maxLevel default = 0xFE;
ram attribute options default = 0x03;
ram attribute onLevel default = 0xFE;
ram attribute startUpCurrentLevel default = 0x00;
persist attribute startUpCurrentLevel default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand Down
8 changes: 4 additions & 4 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2886,7 +2886,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2950,7 +2950,7 @@
"side": "server",
"type": "StartUpOnOffEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3122,7 +3122,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -3218,7 +3218,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1953,11 +1953,11 @@ 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 default = 0;
persist attribute startUpOnOff default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand All @@ -1974,13 +1974,13 @@ endpoint 1 {
}

server cluster LevelControl {
ram attribute currentLevel default = 0x01;
persist attribute currentLevel default = 0x01;
ram attribute remainingTime default = 0x0000;
ram attribute minLevel default = 0x01;
ram attribute maxLevel default = 0xFE;
ram attribute options default = 0x00;
ram attribute onLevel default = 0xFE;
ram attribute startUpCurrentLevel default = 0x00;
persist attribute startUpCurrentLevel default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2886,7 +2886,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2950,7 +2950,7 @@
"side": "server",
"type": "StartUpOnOffEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3138,7 +3138,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -3234,7 +3234,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,7 @@ endpoint 1 {

server cluster PowerSource {
ram attribute status default = 1;
ram attribute order default = 1;
persist attribute order default = 1;
ram attribute description default = "Battery";
ram attribute batVoltage;
ram attribute batPercentRemaining;
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2858,7 +2858,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
Expand Down
32 changes: 16 additions & 16 deletions examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2081,11 +2081,11 @@ 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 default = 0;
persist attribute startUpOnOff default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand All @@ -2098,13 +2098,13 @@ endpoint 1 {
}

server cluster LevelControl {
ram attribute currentLevel default = 0x01;
persist attribute currentLevel default = 0x01;
ram attribute remainingTime default = 0x0000;
ram attribute minLevel default = 0x01;
ram attribute maxLevel default = 0xFE;
ram attribute options default = 0x03;
ram attribute onLevel default = 0xFE;
ram attribute startUpCurrentLevel default = 0x00;
persist attribute startUpCurrentLevel default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand Down Expand Up @@ -2134,27 +2134,27 @@ endpoint 1 {
}

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 default = 0;
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 = 0x0000;
ram attribute colorTempPhysicalMinMireds default = 0x009A;
ram attribute colorTempPhysicalMaxMireds default = 0x01C6;
ram attribute coupleColorTempToLevelMinMireds default = 0x0000;
ram attribute startUpColorTemperatureMireds default = 0x00FA;
persist attribute startUpColorTemperatureMireds default = 0x00FA;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute attributeList;
Expand Down
Loading

0 comments on commit 358c064

Please sign in to comment.