Skip to content

Commit 3e5cb19

Browse files
tehampsonpull[bot]
authored andcommitted
Add LightSensorType to IlluminanceMeasurement for chef lighting example (#26269)
1 parent b327fdb commit 3e5cb19

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter

+2
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,7 @@ server cluster IlluminanceMeasurement = 1024 {
12291229
readonly attribute nullable int16u measuredValue = 0;
12301230
readonly attribute nullable int16u minMeasuredValue = 1;
12311231
readonly attribute nullable int16u maxMeasuredValue = 2;
1232+
readonly attribute nullable enum8 lightSensorType = 4;
12321233
readonly attribute command_id generatedCommandList[] = 65528;
12331234
readonly attribute command_id acceptedCommandList[] = 65529;
12341235
readonly attribute event_id eventList[] = 65530;
@@ -1440,6 +1441,7 @@ endpoint 1 {
14401441
ram attribute measuredValue default = 0xC351;
14411442
ram attribute minMeasuredValue default = 1;
14421443
ram attribute maxMeasuredValue default = 0xfffe;
1444+
ram attribute lightSensorType default = 1;
14431445
callback attribute generatedCommandList default = 0;
14441446
callback attribute acceptedCommandList default = 0;
14451447
callback attribute attributeList default = 0;

examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"featureLevel": 92,
2+
"featureLevel": 96,
33
"creator": "zap",
44
"keyValuePairs": [
55
{
@@ -6141,11 +6141,11 @@
61416141
"mfgCode": null,
61426142
"side": "server",
61436143
"type": "enum8",
6144-
"included": 0,
6144+
"included": 1,
61456145
"storageOption": "RAM",
61466146
"singleton": 0,
61476147
"bounded": 0,
6148-
"defaultValue": "0xFF",
6148+
"defaultValue": "1",
61496149
"reportable": 1,
61506150
"minInterval": 1,
61516151
"maxInterval": 65534,
@@ -6255,5 +6255,6 @@
62556255
"endpointVersion": 1,
62566256
"deviceIdentifier": 262
62576257
}
6258-
]
6259-
}
6258+
],
6259+
"log": []
6260+
}

0 commit comments

Comments
 (0)