Skip to content

Commit

Permalink
Revert "Modified Scripts Sep 14 (#22637)" (#22653)
Browse files Browse the repository at this point in the history
This reverts commit ed6f46a.
  • Loading branch information
woody-apple authored and pull[bot] committed Nov 15, 2023
1 parent 19a1f62 commit acbfac1
Show file tree
Hide file tree
Showing 6 changed files with 1,929 additions and 6,771 deletions.
3 changes: 0 additions & 3 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,6 @@ PICS:
- label: "Does the device implement the ACCapacityFormat attribute?"
id: TSTAT.S.A0047

- label: "Is the MinSetpointDeadBand attribute writeable?"
id: TSTAT.S.M.MinSetpointDeadBandWritable

#Thermostat commands
- label: "Does the device implement the SetpointRaiseLower command?"
id: TSTAT.S.C00.Rsp
Expand Down
231 changes: 27 additions & 204 deletions src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,87 +31,6 @@ tests:
- name: "nodeId"
value: nodeId

- label:
"Saving value for comparision in step 5 read AbsMinCoolSetpointLimit
attribute"
PICS: TSTAT.S.A0005
command: "readAttribute"
attribute: "AbsMinCoolSetpointLimit"
response:
saveAs: AbsMinCoolSetpointLimitStep5

- label:
"Saving value for comparision in step 5 read attribute
MinSetpointDeadBand attribute"
PICS: TSTAT.S.A0019
command: "readAttribute"
attribute: "MinSetpointDeadBand"
response:
saveAs: MinSetpointDeadBand

- label:
"Saving value for comparision in step 6 read AbsMaxCoolSetpointLimit
attribute"
PICS: TSTAT.S.A0006
command: "readAttribute"
attribute: "AbsMaxCoolSetpointLimit"
response:
saveAs: AbsMaxCoolSetpointLimitStep6

- label:
"Saving value for comparision in step 17 read MinCoolSetpointLimit
attribute"
PICS: TSTAT.S.A0017
command: "readAttribute"
attribute: "MinCoolSetpointLimit"
response:
saveAs: MinCoolSetpointLimit

- label:
"Saving value for comparision in step 17 read MaxCoolSetpointLimit
attribute"
PICS: TSTAT.S.A0018
command: "readAttribute"
attribute: "MaxCoolSetpointLimit"
response:
saveAs: MaxCoolSetpointLimit

- label:
"Saving value for comparision in step 13 read attribute
OccupiedCoolingSetpoint"
PICS: TSTAT.S.F01
command: "readAttribute"
attribute: "OccupiedCoolingSetpoint"
response:
saveAs: OccupiedCoolingSetpoint

- label:
"Saving value for comparision in step 15 read attribute
AbsMinHeatSetpointLimit"
PICS: TSTAT.S.A0003
command: "readAttribute"
attribute: "AbsMinHeatSetpointLimit"
response:
saveAs: AbsMinHeat

- label:
"Saving value for comparision in step 15 read attribute
AbsMaxHeatSetpointLimit"
PICS: TSTAT.S.A0004
command: "readAttribute"
attribute: "AbsMaxHeatSetpointLimit"
response:
saveAs: AbsMaxHeat

- label:
"Saving value for comparision in step 16 read
UnoccupiedCoolingSetpoint attribute"
PICS: TSTAT.S.A0013
command: "readAttribute"
attribute: "UnoccupiedCoolingSetpoint"
response:
saveAs: UnoccupiedCoolingSetpoint

- label: "Reads mandatory attributes from DUT: LocalTemperature"
command: "readAttribute"
attribute: "LocalTemperature"
Expand Down Expand Up @@ -141,30 +60,8 @@ tests:
minValue: 0
maxValue: 1

- label:
"Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is
supported"
PICS: TSTAT.S.A0003 && TSTAT.S.A0005 && TSTAT.S.F05
command: "readAttribute"
attribute: "AbsMinHeatSetpointLimit"
response:
constraints:
type: int16s
maxValue: AbsMinCoolSetpointLimitStep5 - MinSetpointDeadBand

- label:
"Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is
supported"
PICS: TSTAT.S.A0003 && !TSTAT.S.A0005 && TSTAT.S.F05
command: "readAttribute"
attribute: "AbsMinHeatSetpointLimit"
response:
constraints:
type: int16s
maxValue: 1575

- label: "Read attribute AbsMinHeatSetpointLimit from DUT"
PICS: TSTAT.S.A0003 && !TSTAT.S.F05
- label: "Reads mandatory attributes from DUT: AbsMinHeatSetpointLimit"
PICS: TSTAT.S.A0003
command: "readAttribute"
attribute: "AbsMinHeatSetpointLimit"
response:
Expand All @@ -183,7 +80,7 @@ tests:
minValue: -27315
maxValue: 32767

- label: "Read attribute AbsMinCoolSetpointLimit from DUT"
- label: "Reads optional attributes from DUT: AbsMinCoolSetpointLimit"
PICS: TSTAT.S.A0005
command: "readAttribute"
attribute: "AbsMinCoolSetpointLimit"
Expand All @@ -193,7 +90,7 @@ tests:
minValue: -27315
maxValue: 32767

- label: "Read attribute AbsMaxCoolSetpointLimit from DUT"
- label: "Reads optional attributes from DUT: AbsMaxCoolSetpointLimit"
PICS: TSTAT.S.A0006
command: "readAttribute"
attribute: "AbsMaxCoolSetpointLimit"
Expand Down Expand Up @@ -240,21 +137,11 @@ tests:
response:
constraints:
type: int8s
minValue: -25
maxValue: 25
minValue: 25
maxValue: -25

- label: "Read attribute OccupiedCoolingSetpoint from the DUT"
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
command: "readAttribute"
attribute: "OccupiedCoolingSetpoint"
response:
constraints:
type: int16s
minValue: MinCoolSetpointLimit
maxValue: MaxCoolSetpointLimit

- label: "Read attribute OccupiedCoolingSetpoint from the DUT"
PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018
- label: "Reads optional attributes from DUT: OccupiedCoolingSetpoint"
PICS: TSTAT.S.F01
command: "readAttribute"
attribute: "OccupiedCoolingSetpoint"
response:
Expand All @@ -263,20 +150,8 @@ tests:
minValue: 1600
maxValue: 3200

- label:
"Read attribute OccupiedHeatingSetpoint if TSTAT.S.F05 feature is
supported"
PICS: TSTAT.S.F05 && TSTAT.S.F00
command: "readAttribute"
attribute: "OccupiedHeatingSetpoint"
response:
constraints:
type: int16s
minValue: AbsMinCoolSetpointLimitStep5
maxValue: OccupiedCoolingSetpoint - MinSetpointDeadBand

- label: "Read attribute OccupiedHeatingSetpoint from the DUT"
PICS: TSTAT.S.F00 && !TSTAT.S.F05
- label: "Reads mandatory attributes from DUT: OccupiedHeatingSetpoint"
PICS: TSTAT.S.F00
command: "readAttribute"
attribute: "OccupiedHeatingSetpoint"
response:
Expand All @@ -286,17 +161,7 @@ tests:
maxValue: 3000

- label: "Read UnoccupiedCoolingSetpoint attribute from the DUT"
PICS: TSTAT.S.F05 && TSTAT.S.A0013
command: "readAttribute"
attribute: "UnoccupiedCoolingSetpoint"
response:
constraints:
type: int16s
minValue: AbsMinHeat
maxValue: AbsMaxHeat

- label: "Read UnoccupiedCoolingSetpoint attribute from the DUT"
PICS: TSTAT.S.F01 && TSTAT.S.F02 && !TSTAT.S.F05
PICS: TSTAT.S.F01 && TSTAT.S.F02
command: "readAttribute"
attribute: "UnoccupiedCoolingSetpoint"
response:
Expand All @@ -306,17 +171,7 @@ tests:
maxValue: 3200

- label: "Read UnoccupiedHeatingSetpoint attribute from the DUT"
PICS: TSTAT.S.F00 && TSTAT.S.F02 && TSTAT.S.F05 && TSTAT.S.A0013
command: "readAttribute"
attribute: "UnoccupiedHeatingSetpoint"
response:
constraints:
type: int16s
minValue: 700
maxValue: UnoccupiedCoolingSetpoint - MinSetpointDeadBand

- label: "Read UnoccupiedHeatingSetpoint attribute from the DUT"
PICS: TSTAT.S.F00 && TSTAT.S.F02 && !TSTAT.S.F05
PICS: TSTAT.S.F00 && TSTAT.S.F02
command: "readAttribute"
attribute: "UnoccupiedHeatingSetpoint"
response:
Expand All @@ -326,17 +181,7 @@ tests:
maxValue: 3000

- label: "Reads attribute from DUT: MinHeatSetpointLimit"
PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017
command: "readAttribute"
attribute: "MinHeatSetpointLimit"
response:
constraints:
type: int16s
minValue: 700
maxValue: MinCoolSetpointLimit - MinSetpointDeadBand

- label: "Read attribute MinHeatSetpointLimit from the DUT"
PICS: TSTAT.S.A0015 && !TSTAT.S.F05
PICS: TSTAT.S.A0015
command: "readAttribute"
attribute: "MinHeatSetpointLimit"
response:
Expand All @@ -345,57 +190,37 @@ tests:
minValue: 700
maxValue: 3000

- label: "Read attribute MaxHeatSetpointLimit from the DUT"
PICS: TSTAT.S.A0016 && !TSTAT.S.F05
command: "readAttribute"
attribute: "MaxHeatSetpointLimit"
response:
constraints:
type: int16s
minValue: 700
maxValue: 3000

- label: "Reads attribute from DUT: MaxHeatSetpointLimit"
PICS: TSTAT.S.A0016 && TSTAT.S.F05 && TSTAT.S.A0018
PICS: TSTAT.S.A0016
command: "readAttribute"
attribute: "MaxHeatSetpointLimit"
response:
constraints:
type: int16s
minValue: 700
maxValue: MaxCoolSetpointLimit - MinSetpointDeadBand

- label: "Read attribute MinCoolSetpointLimit from DUT"
PICS: TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005
command: "readAttribute"
attribute: "MinCoolSetpointLimit"
response:
constraints:
type: int16s
minValue: AbsMinCoolSetpointLimitStep5
maxValue: MaxCoolSetpointLimit
minValue: -27315
maxValue: 32767

- label: "Read attribute MinCoolSetpointLimit from DUT"
PICS: TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005
- label: "Reads optional attributes from DUT: MinCoolSetpointLimit"
PICS: TSTAT.S.A0017
command: "readAttribute"
attribute: "MinCoolSetpointLimit"
response:
constraints:
type: int16s
minValue: 1600
maxValue: 3200
minValue: -27315
maxValue: 32767

- label: "Read attribute MaxCoolSetpointLimit from DUT"
PICS: TSTAT.S.A0018 && TSTAT.S.A0006 && TSTAT.S.A0017
- label: "Reads optional attributes from DUT: MaxCoolSetpointLimit"
PICS: TSTAT.S.A0018
command: "readAttribute"
attribute: "MaxCoolSetpointLimit"
response:
constraints:
type: int16s
minValue: MinCoolSetpointLimit
maxValue: AbsMaxCoolSetpointLimitStep6
minValue: -27315
maxValue: 32767

- label: "Read attribute MinSetpointDeadBand from DUT"
- label: "Reads optional attributes from DUT: MinSetpointDeadBand"
PICS: TSTAT.S.F05
command: "readAttribute"
attribute: "MinSetpointDeadBand"
Expand All @@ -415,8 +240,7 @@ tests:
minValue: 0
maxValue: 7

- label: "Read attribute ControlSequenceOfOperation from DUT"
PICS: TSTAT.S.A001b
- label: "Reads mandatory attributes from DUT: ControlSequenceOfOperation"
command: "readAttribute"
attribute: "ControlSequenceOfOperation"
response:
Expand All @@ -425,8 +249,7 @@ tests:
minValue: 0
maxValue: 5

- label: "Read attribute SystemMode from DUT"
PICS: TSTAT.S.A001c
- label: "Reads mandatory attributes from DUT: SystemMode"
command: "readAttribute"
attribute: "SystemMode"
response:
Expand Down
Loading

0 comments on commit acbfac1

Please sign in to comment.