Skip to content

Commit

Permalink
- update constraints for LocalTemperatureCalibration (#34536)
Browse files Browse the repository at this point in the history
- update yaml test
- added LocalTemperatureCalibration in all-cluster-app and updated ci-pics
  • Loading branch information
fessehaeve authored and pull[bot] committed Dec 10, 2024
1 parent f46dc78 commit a789a43
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8645,6 +8645,7 @@ endpoint 1 {
ram attribute absMaxHeatSetpointLimit default = 0x0BB8;
ram attribute absMinCoolSetpointLimit default = 0x0640;
ram attribute absMaxCoolSetpointLimit default = 0x0C80;
ram attribute localTemperatureCalibration default = 0x00;
ram attribute occupiedCoolingSetpoint default = 0x0A28;
ram attribute occupiedHeatingSetpoint default = 0x07D0;
ram attribute minHeatSetpointLimit default = 0x02BC;
Expand Down
16 changes: 16 additions & 0 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -16255,6 +16255,22 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "LocalTemperatureCalibration",
"code": 16,
"mfgCode": null,
"side": "server",
"type": "int8s",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "OccupiedCoolingSetpoint",
"code": 17,
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ tests:
response:
constraints:
type: int8s
minValue: -25
maxValue: 25
minValue: -127
maxValue: 127

- label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT"
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/ci-pics-values
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,7 @@ TSTAT.S.A0006=1
TSTAT.S.A0007=0
TSTAT.S.A0008=0
TSTAT.S.A0009=0
TSTAT.S.A0010=0
TSTAT.S.A0010=1
TSTAT.S.A0011=1
TSTAT.S.A0012=1
TSTAT.S.A0013=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ limitations under the License.
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="-127" max="127" writable="true" default="0x00" optional="true">
<description>LocalTemperatureCalibration</description>
<access op="write" privilege="manage"/>
</attribute>
Expand Down

0 comments on commit a789a43

Please sign in to comment.