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
#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 authored Sep 26, 2024
1 parent 0f62429 commit 648f088
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 @@ -1930,7 +1930,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 @@ -1991,7 +1991,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 @@ -2492,7 +2492,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3218,7 +3218,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 @@ -2750,7 +2750,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 @@ -3136,11 +3136,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 @@ -2581,7 +2581,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 @@ -2652,7 +2652,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 @@ -2484,7 +2484,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 @@ -2660,7 +2660,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 @@ -2084,7 +2084,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 @@ -2840,7 +2840,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 @@ -2057,11 +2057,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 @@ -2074,13 +2074,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 @@ -2704,7 +2704,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2768,7 +2768,7 @@
"side": "server",
"type": "StartUpOnOffEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2940,7 +2940,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -3036,7 +3036,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 @@ -2214,11 +2214,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 @@ -2235,13 +2235,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 @@ -2736,7 +2736,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2800,7 +2800,7 @@
"side": "server",
"type": "StartUpOnOffEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -2988,7 +2988,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x01",
Expand Down Expand Up @@ -3084,7 +3084,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 @@ -2602,7 +2602,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 @@ -2676,7 +2676,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 @@ -2318,11 +2318,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 @@ -2335,13 +2335,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 @@ -2371,27 +2371,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 648f088

Please sign in to comment.