Fix Chef AirQualitySensor temperature range (#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)
diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
index ee845c7..ca3d431 100644
--- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
+++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
@@ -2613,9 +2613,9 @@
}
server cluster TemperatureMeasurement {
- persist attribute measuredValue default = 0x800;
- persist attribute minMeasuredValue default = 0x800;
- persist attribute maxMeasuredValue default = 0x800;
+ persist attribute measuredValue default = 0;
+ persist attribute minMeasuredValue default = -5000;
+ persist attribute maxMeasuredValue default = 7500;
persist attribute tolerance default = 0;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap
index 7e58d31..c5ad356 100644
--- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap
+++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.zap
@@ -3107,7 +3107,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0x800",
+ "defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -3123,7 +3123,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0x800",
+ "defaultValue": "-5000",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
@@ -3139,7 +3139,7 @@
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "0x800",
+ "defaultValue": "7500",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,