Skip to content

Commit

Permalink
update tests and thermostat server cluster for new constraints for Lo…
Browse files Browse the repository at this point in the history
…calTemperatureCalibration and MinSetpointDeadBand (#34474)
  • Loading branch information
fessehaeve authored Jul 25, 2024
1 parent 21a5bd6 commit 335ac96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/clusters/thermostat-server/thermostat-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const app::ConcreteAttr
requested = *value;
if (!AutoSupported)
return imcode::UnsupportedAttribute;
if (requested < 0 || requested > 25)
if (requested < 0 || requested > 127)
return imcode::InvalidValue;
return imcode::Success;
}
Expand Down
6 changes: 3 additions & 3 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 Expand Up @@ -426,7 +426,7 @@ tests:
constraints:
type: int8s
minValue: 0
maxValue: 25
maxValue: 127

- label: "Step 22: TH reads the RemoteSensing attribute from the DUT"
PICS: TSTAT.S.A001a
Expand Down

0 comments on commit 335ac96

Please sign in to comment.