Skip to content

Commit 335ac96

Browse files
authored
update tests and thermostat server cluster for new constraints for LocalTemperatureCalibration and MinSetpointDeadBand (project-chip#34474)
1 parent 21a5bd6 commit 335ac96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/clusters/thermostat-server/thermostat-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const app::ConcreteAttr
409409
requested = *value;
410410
if (!AutoSupported)
411411
return imcode::UnsupportedAttribute;
412-
if (requested < 0 || requested > 25)
412+
if (requested < 0 || requested > 127)
413413
return imcode::InvalidValue;
414414
return imcode::Success;
415415
}

src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ tests:
243243
response:
244244
constraints:
245245
type: int8s
246-
minValue: -25
247-
maxValue: 25
246+
minValue: -127
247+
maxValue: 127
248248

249249
- label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT"
250250
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
@@ -426,7 +426,7 @@ tests:
426426
constraints:
427427
type: int8s
428428
minValue: 0
429-
maxValue: 25
429+
maxValue: 127
430430

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

0 commit comments

Comments
 (0)