Skip to content

Commit

Permalink
Set some attributes to persist (NVM)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinpan1 committed Aug 22, 2024
1 parent 12dc458 commit ef5a9bf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2522,7 +2522,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 @@ -2578,7 +2578,7 @@ endpoint 1 {
server cluster TargetNavigator {
emits event TargetUpdated;
callback attribute targetList;
ram attribute currentTarget default = 0;
persist attribute currentTarget default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand All @@ -2592,7 +2592,7 @@ endpoint 1 {

server cluster MediaPlayback {
emits event StateChanged;
ram attribute currentState default = 0x00;
persist attribute currentState default = 0x00;
ram attribute startTime default = 0x00;
ram attribute duration default = 0;
callback attribute sampledPosition;
Expand Down Expand Up @@ -2622,7 +2622,7 @@ endpoint 1 {

server cluster MediaInput {
callback attribute inputList;
ram attribute currentInput default = 0x00;
persist attribute currentInput default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down Expand Up @@ -2661,7 +2661,7 @@ endpoint 1 {

server cluster AudioOutput {
callback attribute outputList;
ram attribute currentOutput default = 0x00;
persist attribute currentOutput default = 0x00;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down Expand Up @@ -2692,7 +2692,7 @@ endpoint 2 {
}

server cluster OnOff {
ram attribute onOff default = 0;
persist attribute onOff default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand All @@ -2706,7 +2706,7 @@ endpoint 2 {
}

server cluster LevelControl {
ram attribute currentLevel default = 0x00;
persist attribute currentLevel default = 0x00;
ram attribute minLevel default = 0x00;
ram attribute maxLevel default = 0xFE;
ram attribute options default = 0x00;
Expand Down
14 changes: 7 additions & 7 deletions examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3080,7 +3080,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -3309,7 +3309,7 @@
"side": "server",
"type": "PlaybackStateEnum",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down Expand Up @@ -3586,7 +3586,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down Expand Up @@ -3982,7 +3982,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down Expand Up @@ -4315,7 +4315,7 @@
"side": "server",
"type": "boolean",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
Expand Down Expand Up @@ -4503,7 +4503,7 @@
"side": "server",
"type": "int8u",
"included": 1,
"storageOption": "RAM",
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
Expand Down

0 comments on commit ef5a9bf

Please sign in to comment.