Skip to content

Commit cf0bc86

Browse files
committed
Fix Chef AirQualitySensor temperature range (project-chip#35742)
The original was setting maxMeasuredValue/maxMeasuredValue as 0x800 which doesn't make any senses. So it is modified to the reasonable values from -5000 (-50 celsius degrees) ~ 7000 (70 celsius degrees)
1 parent dea6c23 commit cf0bc86

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter

+3-3
Original file line numberDiff line numberDiff line change
@@ -2382,9 +2382,9 @@ endpoint 1 {
23822382
}
23832383

23842384
server cluster TemperatureMeasurement {
2385-
persist attribute measuredValue default = 0x800;
2386-
persist attribute minMeasuredValue default = 0x800;
2387-
persist attribute maxMeasuredValue default = 0x800;
2385+
persist attribute measuredValue default = 0;
2386+
persist attribute minMeasuredValue default = -5000;
2387+
persist attribute maxMeasuredValue default = 7500;
23882388
persist attribute tolerance default = 0;
23892389
callback attribute generatedCommandList;
23902390
callback attribute acceptedCommandList;

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap

+3-3
Original file line numberDiff line numberDiff line change
@@ -3257,7 +3257,7 @@
32573257
"storageOption": "NVM",
32583258
"singleton": 0,
32593259
"bounded": 0,
3260-
"defaultValue": "0x800",
3260+
"defaultValue": "0",
32613261
"reportable": 1,
32623262
"minInterval": 1,
32633263
"maxInterval": 65534,
@@ -3273,7 +3273,7 @@
32733273
"storageOption": "NVM",
32743274
"singleton": 0,
32753275
"bounded": 0,
3276-
"defaultValue": "0x800",
3276+
"defaultValue": "-5000",
32773277
"reportable": 1,
32783278
"minInterval": 1,
32793279
"maxInterval": 65534,
@@ -3289,7 +3289,7 @@
32893289
"storageOption": "NVM",
32903290
"singleton": 0,
32913291
"bounded": 0,
3292-
"defaultValue": "0x800",
3292+
"defaultValue": "7500",
32933293
"reportable": 1,
32943294
"minInterval": 1,
32953295
"maxInterval": 65534,

0 commit comments

Comments
 (0)