Skip to content

Commit ef5a9bf

Browse files
committed
Set some attributes to persist (NVM)
1 parent 12dc458 commit ef5a9bf

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter

+7-7
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,7 @@ endpoint 1 {
25222522

25232523

25242524
server cluster OnOff {
2525-
ram attribute onOff default = 0;
2525+
persist attribute onOff default = 0;
25262526
callback attribute generatedCommandList;
25272527
callback attribute acceptedCommandList;
25282528
callback attribute eventList;
@@ -2578,7 +2578,7 @@ endpoint 1 {
25782578
server cluster TargetNavigator {
25792579
emits event TargetUpdated;
25802580
callback attribute targetList;
2581-
ram attribute currentTarget default = 0;
2581+
persist attribute currentTarget default = 0;
25822582
callback attribute generatedCommandList;
25832583
callback attribute acceptedCommandList;
25842584
callback attribute eventList;
@@ -2592,7 +2592,7 @@ endpoint 1 {
25922592

25932593
server cluster MediaPlayback {
25942594
emits event StateChanged;
2595-
ram attribute currentState default = 0x00;
2595+
persist attribute currentState default = 0x00;
25962596
ram attribute startTime default = 0x00;
25972597
ram attribute duration default = 0;
25982598
callback attribute sampledPosition;
@@ -2622,7 +2622,7 @@ endpoint 1 {
26222622

26232623
server cluster MediaInput {
26242624
callback attribute inputList;
2625-
ram attribute currentInput default = 0x00;
2625+
persist attribute currentInput default = 0x00;
26262626
callback attribute generatedCommandList;
26272627
callback attribute acceptedCommandList;
26282628
callback attribute eventList;
@@ -2661,7 +2661,7 @@ endpoint 1 {
26612661

26622662
server cluster AudioOutput {
26632663
callback attribute outputList;
2664-
ram attribute currentOutput default = 0x00;
2664+
persist attribute currentOutput default = 0x00;
26652665
callback attribute generatedCommandList;
26662666
callback attribute acceptedCommandList;
26672667
callback attribute eventList;
@@ -2692,7 +2692,7 @@ endpoint 2 {
26922692
}
26932693

26942694
server cluster OnOff {
2695-
ram attribute onOff default = 0;
2695+
persist attribute onOff default = 0;
26962696
callback attribute generatedCommandList;
26972697
callback attribute acceptedCommandList;
26982698
callback attribute eventList;
@@ -2706,7 +2706,7 @@ endpoint 2 {
27062706
}
27072707

27082708
server cluster LevelControl {
2709-
ram attribute currentLevel default = 0x00;
2709+
persist attribute currentLevel default = 0x00;
27102710
ram attribute minLevel default = 0x00;
27112711
ram attribute maxLevel default = 0xFE;
27122712
ram attribute options default = 0x00;

examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.zap

+7-7
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@
24442444
"side": "server",
24452445
"type": "boolean",
24462446
"included": 1,
2447-
"storageOption": "RAM",
2447+
"storageOption": "NVM",
24482448
"singleton": 0,
24492449
"bounded": 0,
24502450
"defaultValue": "0",
@@ -3080,7 +3080,7 @@
30803080
"side": "server",
30813081
"type": "int8u",
30823082
"included": 1,
3083-
"storageOption": "RAM",
3083+
"storageOption": "NVM",
30843084
"singleton": 0,
30853085
"bounded": 0,
30863086
"defaultValue": "0",
@@ -3309,7 +3309,7 @@
33093309
"side": "server",
33103310
"type": "PlaybackStateEnum",
33113311
"included": 1,
3312-
"storageOption": "RAM",
3312+
"storageOption": "NVM",
33133313
"singleton": 0,
33143314
"bounded": 0,
33153315
"defaultValue": "0x00",
@@ -3586,7 +3586,7 @@
35863586
"side": "server",
35873587
"type": "int8u",
35883588
"included": 1,
3589-
"storageOption": "RAM",
3589+
"storageOption": "NVM",
35903590
"singleton": 0,
35913591
"bounded": 0,
35923592
"defaultValue": "0x00",
@@ -3982,7 +3982,7 @@
39823982
"side": "server",
39833983
"type": "int8u",
39843984
"included": 1,
3985-
"storageOption": "RAM",
3985+
"storageOption": "NVM",
39863986
"singleton": 0,
39873987
"bounded": 0,
39883988
"defaultValue": "0x00",
@@ -4315,7 +4315,7 @@
43154315
"side": "server",
43164316
"type": "boolean",
43174317
"included": 1,
4318-
"storageOption": "RAM",
4318+
"storageOption": "NVM",
43194319
"singleton": 0,
43204320
"bounded": 0,
43214321
"defaultValue": "0",
@@ -4503,7 +4503,7 @@
45034503
"side": "server",
45044504
"type": "int8u",
45054505
"included": 1,
4506-
"storageOption": "RAM",
4506+
"storageOption": "NVM",
45074507
"singleton": 0,
45084508
"bounded": 0,
45094509
"defaultValue": "0x00",

0 commit comments

Comments
 (0)