Skip to content

Commit 60128dc

Browse files
committed
Set all StartUpOnOff, StartUpCurrentLevel to null
And also StartUpColorTemperatureMireds Setting them to null will set the behavior to restore last stored value when the power cycle
1 parent 7565e09 commit 60128dc

14 files changed

+34
-35
lines changed

examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2025,7 +2025,7 @@ endpoint 1 {
20252025
ram attribute colorTempPhysicalMinMireds default = 0x0001;
20262026
ram attribute colorTempPhysicalMaxMireds default = 0xFEFF;
20272027
ram attribute coupleColorTempToLevelMinMireds;
2028-
persist attribute startUpColorTemperatureMireds default = 0xFEFF;
2028+
persist attribute startUpColorTemperatureMireds;
20292029
callback attribute generatedCommandList;
20302030
callback attribute acceptedCommandList;
20312031
callback attribute attributeList;

examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -3485,7 +3485,7 @@
34853485
"storageOption": "NVM",
34863486
"singleton": 0,
34873487
"bounded": 0,
3488-
"defaultValue": "0xFEFF",
3488+
"defaultValue": null,
34893489
"reportable": 1,
34903490
"minInterval": 1,
34913491
"maxInterval": 65534,

examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ endpoint 1 {
18091809
ram attribute globalSceneControl default = 1;
18101810
ram attribute onTime default = 0;
18111811
ram attribute offWaitTime default = 0;
1812-
persist attribute startUpOnOff default = 0;
1812+
persist attribute startUpOnOff;
18131813
callback attribute generatedCommandList;
18141814
callback attribute acceptedCommandList;
18151815
callback attribute attributeList;
@@ -1828,7 +1828,7 @@ endpoint 1 {
18281828
ram attribute maxLevel default = 0xFE;
18291829
ram attribute options default = 0x03;
18301830
ram attribute onLevel default = 0xFE;
1831-
persist attribute startUpCurrentLevel default = 0x00;
1831+
persist attribute startUpCurrentLevel;
18321832
callback attribute generatedCommandList;
18331833
callback attribute acceptedCommandList;
18341834
callback attribute attributeList;

examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap

+3-3
Original file line numberDiff line numberDiff line change
@@ -2953,7 +2953,7 @@
29532953
"storageOption": "NVM",
29542954
"singleton": 0,
29552955
"bounded": 0,
2956-
"defaultValue": "0",
2956+
"defaultValue": null,
29572957
"reportable": 1,
29582958
"minInterval": 1,
29592959
"maxInterval": 65534,
@@ -3221,7 +3221,7 @@
32213221
"storageOption": "NVM",
32223222
"singleton": 0,
32233223
"bounded": 0,
3224-
"defaultValue": "0x00",
3224+
"defaultValue": null,
32253225
"reportable": 1,
32263226
"minInterval": 1,
32273227
"maxInterval": 65534,
@@ -3568,4 +3568,4 @@
35683568
"parentEndpointIdentifier": null
35693569
}
35703570
]
3571-
}
3571+
}

examples/chef/devices/rootnode_dimmablepluginunit_f8a9a0b9d4.zap

+3-3
Original file line numberDiff line numberDiff line change
@@ -2953,7 +2953,7 @@
29532953
"storageOption": "NVM",
29542954
"singleton": 0,
29552955
"bounded": 0,
2956-
"defaultValue": "0",
2956+
"defaultValue": null,
29572957
"reportable": 1,
29582958
"minInterval": 1,
29592959
"maxInterval": 65534,
@@ -3237,7 +3237,7 @@
32373237
"storageOption": "NVM",
32383238
"singleton": 0,
32393239
"bounded": 0,
3240-
"defaultValue": "0x00",
3240+
"defaultValue": null,
32413241
"reportable": 1,
32423242
"minInterval": 1,
32433243
"maxInterval": 65534,
@@ -3861,4 +3861,4 @@
38613861
"parentEndpointIdentifier": null
38623862
}
38633863
]
3864-
}
3864+
}

examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ endpoint 1 {
20852085
ram attribute globalSceneControl default = 1;
20862086
ram attribute onTime default = 0;
20872087
ram attribute offWaitTime default = 0;
2088-
persist attribute startUpOnOff default = 0;
2088+
persist attribute startUpOnOff;
20892089
callback attribute generatedCommandList;
20902090
callback attribute acceptedCommandList;
20912091
callback attribute attributeList;
@@ -2104,7 +2104,7 @@ endpoint 1 {
21042104
ram attribute maxLevel default = 0xFE;
21052105
ram attribute options default = 0x03;
21062106
ram attribute onLevel default = 0xFE;
2107-
persist attribute startUpCurrentLevel default = 0x00;
2107+
persist attribute startUpCurrentLevel;
21082108
callback attribute generatedCommandList;
21092109
callback attribute acceptedCommandList;
21102110
callback attribute attributeList;
@@ -2154,7 +2154,7 @@ endpoint 1 {
21542154
ram attribute colorTempPhysicalMinMireds default = 0x009A;
21552155
ram attribute colorTempPhysicalMaxMireds default = 0x01C6;
21562156
ram attribute coupleColorTempToLevelMinMireds default = 0x0000;
2157-
persist attribute startUpColorTemperatureMireds default = 0x00FA;
2157+
persist attribute startUpColorTemperatureMireds;
21582158
callback attribute generatedCommandList;
21592159
callback attribute acceptedCommandList;
21602160
callback attribute attributeList;

examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.zap

+8-9
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"pathRelativity": "relativeToZap",
3030
"path": "../../../src/app/zap-templates/app-templates.json",
3131
"type": "gen-templates-json",
32-
"category": "matter",
3332
"version": "chip-v1"
3433
}
3534
],
@@ -2921,7 +2920,7 @@
29212920
"storageOption": "NVM",
29222921
"singleton": 0,
29232922
"bounded": 0,
2924-
"defaultValue": "0",
2923+
"defaultValue": null,
29252924
"reportable": 1,
29262925
"minInterval": 1,
29272926
"maxInterval": 65534,
@@ -3189,7 +3188,7 @@
31893188
"storageOption": "NVM",
31903189
"singleton": 0,
31913190
"bounded": 0,
3192-
"defaultValue": "0x00",
3191+
"defaultValue": null,
31933192
"reportable": 1,
31943193
"minInterval": 1,
31953194
"maxInterval": 65534,
@@ -3720,7 +3719,7 @@
37203719
"code": 8,
37213720
"mfgCode": null,
37223721
"side": "server",
3723-
"type": "ColorModeEnum",
3722+
"type": "enum8",
37243723
"included": 1,
37253724
"storageOption": "NVM",
37263725
"singleton": 0,
@@ -3736,7 +3735,7 @@
37363735
"code": 15,
37373736
"mfgCode": null,
37383737
"side": "server",
3739-
"type": "OptionsBitmap",
3738+
"type": "bitmap8",
37403739
"included": 1,
37413740
"storageOption": "RAM",
37423741
"singleton": 0,
@@ -3784,7 +3783,7 @@
37843783
"code": 16385,
37853784
"mfgCode": null,
37863785
"side": "server",
3787-
"type": "EnhancedColorModeEnum",
3786+
"type": "enum8",
37883787
"included": 1,
37893788
"storageOption": "NVM",
37903789
"singleton": 0,
@@ -3880,7 +3879,7 @@
38803879
"code": 16394,
38813880
"mfgCode": null,
38823881
"side": "server",
3883-
"type": "ColorCapabilitiesBitmap",
3882+
"type": "bitmap16",
38843883
"included": 1,
38853884
"storageOption": "RAM",
38863885
"singleton": 0,
@@ -3949,7 +3948,7 @@
39493948
"storageOption": "NVM",
39503949
"singleton": 0,
39513950
"bounded": 0,
3952-
"defaultValue": "0x00FA",
3951+
"defaultValue": null,
39533952
"reportable": 1,
39543953
"minInterval": 1,
39553954
"maxInterval": 65534,
@@ -4058,4 +4057,4 @@
40584057
"parentEndpointIdentifier": null
40594058
}
40604059
]
4061-
}
4060+
}

examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ endpoint 1 {
17651765
ram attribute globalSceneControl default = 1;
17661766
ram attribute onTime default = 0;
17671767
ram attribute offWaitTime default = 0;
1768-
persist attribute startUpOnOff default = 0;
1768+
persist attribute startUpOnOff;
17691769
callback attribute generatedCommandList;
17701770
callback attribute acceptedCommandList;
17711771
callback attribute attributeList;
@@ -1784,7 +1784,7 @@ endpoint 1 {
17841784
ram attribute maxLevel default = 0xFE;
17851785
ram attribute options default = 0x01;
17861786
ram attribute onLevel default = 0xFE;
1787-
persist attribute startUpCurrentLevel default = 0x01;
1787+
persist attribute startUpCurrentLevel;
17881788
callback attribute generatedCommandList;
17891789
callback attribute acceptedCommandList;
17901790
callback attribute attributeList;

examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap

+3-3
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,7 @@
29212921
"storageOption": "NVM",
29222922
"singleton": 0,
29232923
"bounded": 0,
2924-
"defaultValue": "0",
2924+
"defaultValue": null,
29252925
"reportable": 1,
29262926
"minInterval": 1,
29272927
"maxInterval": 65534,
@@ -3189,7 +3189,7 @@
31893189
"storageOption": "NVM",
31903190
"singleton": 0,
31913191
"bounded": 0,
3192-
"defaultValue": "0x01",
3192+
"defaultValue": null,
31933193
"reportable": 1,
31943194
"minInterval": 1,
31953195
"maxInterval": 65534,
@@ -3478,4 +3478,4 @@
34783478
"parentEndpointIdentifier": null
34793479
}
34803480
]
3481-
}
3481+
}

examples/chef/devices/rootnode_onofflight_samplemei.zap

+3-3
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,7 @@
29212921
"storageOption": "NVM",
29222922
"singleton": 0,
29232923
"bounded": 0,
2924-
"defaultValue": "0",
2924+
"defaultValue": null,
29252925
"reportable": 1,
29262926
"minInterval": 1,
29272927
"maxInterval": 65534,
@@ -3189,7 +3189,7 @@
31893189
"storageOption": "NVM",
31903190
"singleton": 0,
31913191
"bounded": 0,
3192-
"defaultValue": "0x01",
3192+
"defaultValue": null,
31933193
"reportable": 1,
31943194
"minInterval": 1,
31953195
"maxInterval": 65534,
@@ -3635,4 +3635,4 @@
36353635
"parentEndpointIdentifier": null
36363636
}
36373637
]
3638-
}
3638+
}

examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ endpoint 1 {
17091709
}
17101710

17111711
server cluster OnOff {
1712-
ram attribute onOff default = 0;
1712+
persist attribute onOff default = 0;
17131713
callback attribute generatedCommandList;
17141714
callback attribute acceptedCommandList;
17151715
callback attribute attributeList;

examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.zap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2906,7 +2906,7 @@
29062906
"side": "server",
29072907
"type": "boolean",
29082908
"included": 1,
2909-
"storageOption": "RAM",
2909+
"storageOption": "NVM",
29102910
"singleton": 0,
29112911
"bounded": 0,
29122912
"defaultValue": "0",

examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ endpoint 1 {
16401640
ram attribute globalSceneControl default = 1;
16411641
ram attribute onTime default = 0;
16421642
ram attribute offWaitTime default = 0;
1643-
persist attribute startUpOnOff default = 0;
1643+
persist attribute startUpOnOff;
16441644
callback attribute generatedCommandList;
16451645
callback attribute acceptedCommandList;
16461646
callback attribute attributeList;

examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap

+2-2
Original file line numberDiff line numberDiff line change
@@ -2921,7 +2921,7 @@
29212921
"storageOption": "NVM",
29222922
"singleton": 0,
29232923
"bounded": 0,
2924-
"defaultValue": "0",
2924+
"defaultValue": null,
29252925
"reportable": 1,
29262926
"minInterval": 1,
29272927
"maxInterval": 65534,
@@ -3226,4 +3226,4 @@
32263226
"parentEndpointIdentifier": null
32273227
}
32283228
]
3229-
}
3229+
}

0 commit comments

Comments
 (0)