Skip to content

Commit 04db159

Browse files
authored
Revert "Modified Scripts Sep 14 (#22637)" (#22653)
This reverts commit ed6f46a.
1 parent 898e166 commit 04db159

File tree

6 files changed

+1929
-6771
lines changed

6 files changed

+1929
-6771
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -807,9 +807,6 @@ PICS:
807807
- label: "Does the device implement the ACCapacityFormat attribute?"
808808
id: TSTAT.S.A0047
809809

810-
- label: "Is the MinSetpointDeadBand attribute writeable?"
811-
id: TSTAT.S.M.MinSetpointDeadBandWritable
812-
813810
#Thermostat commands
814811
- label: "Does the device implement the SetpointRaiseLower command?"
815812
id: TSTAT.S.C00.Rsp

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

+27-204
Original file line numberDiff line numberDiff line change
@@ -31,87 +31,6 @@ tests:
3131
- name: "nodeId"
3232
value: nodeId
3333

34-
- label:
35-
"Saving value for comparision in step 5 read AbsMinCoolSetpointLimit
36-
attribute"
37-
PICS: TSTAT.S.A0005
38-
command: "readAttribute"
39-
attribute: "AbsMinCoolSetpointLimit"
40-
response:
41-
saveAs: AbsMinCoolSetpointLimitStep5
42-
43-
- label:
44-
"Saving value for comparision in step 5 read attribute
45-
MinSetpointDeadBand attribute"
46-
PICS: TSTAT.S.A0019
47-
command: "readAttribute"
48-
attribute: "MinSetpointDeadBand"
49-
response:
50-
saveAs: MinSetpointDeadBand
51-
52-
- label:
53-
"Saving value for comparision in step 6 read AbsMaxCoolSetpointLimit
54-
attribute"
55-
PICS: TSTAT.S.A0006
56-
command: "readAttribute"
57-
attribute: "AbsMaxCoolSetpointLimit"
58-
response:
59-
saveAs: AbsMaxCoolSetpointLimitStep6
60-
61-
- label:
62-
"Saving value for comparision in step 17 read MinCoolSetpointLimit
63-
attribute"
64-
PICS: TSTAT.S.A0017
65-
command: "readAttribute"
66-
attribute: "MinCoolSetpointLimit"
67-
response:
68-
saveAs: MinCoolSetpointLimit
69-
70-
- label:
71-
"Saving value for comparision in step 17 read MaxCoolSetpointLimit
72-
attribute"
73-
PICS: TSTAT.S.A0018
74-
command: "readAttribute"
75-
attribute: "MaxCoolSetpointLimit"
76-
response:
77-
saveAs: MaxCoolSetpointLimit
78-
79-
- label:
80-
"Saving value for comparision in step 13 read attribute
81-
OccupiedCoolingSetpoint"
82-
PICS: TSTAT.S.F01
83-
command: "readAttribute"
84-
attribute: "OccupiedCoolingSetpoint"
85-
response:
86-
saveAs: OccupiedCoolingSetpoint
87-
88-
- label:
89-
"Saving value for comparision in step 15 read attribute
90-
AbsMinHeatSetpointLimit"
91-
PICS: TSTAT.S.A0003
92-
command: "readAttribute"
93-
attribute: "AbsMinHeatSetpointLimit"
94-
response:
95-
saveAs: AbsMinHeat
96-
97-
- label:
98-
"Saving value for comparision in step 15 read attribute
99-
AbsMaxHeatSetpointLimit"
100-
PICS: TSTAT.S.A0004
101-
command: "readAttribute"
102-
attribute: "AbsMaxHeatSetpointLimit"
103-
response:
104-
saveAs: AbsMaxHeat
105-
106-
- label:
107-
"Saving value for comparision in step 16 read
108-
UnoccupiedCoolingSetpoint attribute"
109-
PICS: TSTAT.S.A0013
110-
command: "readAttribute"
111-
attribute: "UnoccupiedCoolingSetpoint"
112-
response:
113-
saveAs: UnoccupiedCoolingSetpoint
114-
11534
- label: "Reads mandatory attributes from DUT: LocalTemperature"
11635
command: "readAttribute"
11736
attribute: "LocalTemperature"
@@ -141,30 +60,8 @@ tests:
14160
minValue: 0
14261
maxValue: 1
14362

144-
- label:
145-
"Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is
146-
supported"
147-
PICS: TSTAT.S.A0003 && TSTAT.S.A0005 && TSTAT.S.F05
148-
command: "readAttribute"
149-
attribute: "AbsMinHeatSetpointLimit"
150-
response:
151-
constraints:
152-
type: int16s
153-
maxValue: AbsMinCoolSetpointLimitStep5 - MinSetpointDeadBand
154-
155-
- label:
156-
"Read attribute AbsMinHeatSetpointLimit if TSTAT.S.F05 feature is
157-
supported"
158-
PICS: TSTAT.S.A0003 && !TSTAT.S.A0005 && TSTAT.S.F05
159-
command: "readAttribute"
160-
attribute: "AbsMinHeatSetpointLimit"
161-
response:
162-
constraints:
163-
type: int16s
164-
maxValue: 1575
165-
166-
- label: "Read attribute AbsMinHeatSetpointLimit from DUT"
167-
PICS: TSTAT.S.A0003 && !TSTAT.S.F05
63+
- label: "Reads mandatory attributes from DUT: AbsMinHeatSetpointLimit"
64+
PICS: TSTAT.S.A0003
16865
command: "readAttribute"
16966
attribute: "AbsMinHeatSetpointLimit"
17067
response:
@@ -183,7 +80,7 @@ tests:
18380
minValue: -27315
18481
maxValue: 32767
18582

186-
- label: "Read attribute AbsMinCoolSetpointLimit from DUT"
83+
- label: "Reads optional attributes from DUT: AbsMinCoolSetpointLimit"
18784
PICS: TSTAT.S.A0005
18885
command: "readAttribute"
18986
attribute: "AbsMinCoolSetpointLimit"
@@ -193,7 +90,7 @@ tests:
19390
minValue: -27315
19491
maxValue: 32767
19592

196-
- label: "Read attribute AbsMaxCoolSetpointLimit from DUT"
93+
- label: "Reads optional attributes from DUT: AbsMaxCoolSetpointLimit"
19794
PICS: TSTAT.S.A0006
19895
command: "readAttribute"
19996
attribute: "AbsMaxCoolSetpointLimit"
@@ -240,21 +137,11 @@ tests:
240137
response:
241138
constraints:
242139
type: int8s
243-
minValue: -25
244-
maxValue: 25
140+
minValue: 25
141+
maxValue: -25
245142

246-
- label: "Read attribute OccupiedCoolingSetpoint from the DUT"
247-
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
248-
command: "readAttribute"
249-
attribute: "OccupiedCoolingSetpoint"
250-
response:
251-
constraints:
252-
type: int16s
253-
minValue: MinCoolSetpointLimit
254-
maxValue: MaxCoolSetpointLimit
255-
256-
- label: "Read attribute OccupiedCoolingSetpoint from the DUT"
257-
PICS: TSTAT.S.F01 && !TSTAT.S.A0017 && !TSTAT.S.A0018
143+
- label: "Reads optional attributes from DUT: OccupiedCoolingSetpoint"
144+
PICS: TSTAT.S.F01
258145
command: "readAttribute"
259146
attribute: "OccupiedCoolingSetpoint"
260147
response:
@@ -263,20 +150,8 @@ tests:
263150
minValue: 1600
264151
maxValue: 3200
265152

266-
- label:
267-
"Read attribute OccupiedHeatingSetpoint if TSTAT.S.F05 feature is
268-
supported"
269-
PICS: TSTAT.S.F05 && TSTAT.S.F00
270-
command: "readAttribute"
271-
attribute: "OccupiedHeatingSetpoint"
272-
response:
273-
constraints:
274-
type: int16s
275-
minValue: AbsMinCoolSetpointLimitStep5
276-
maxValue: OccupiedCoolingSetpoint - MinSetpointDeadBand
277-
278-
- label: "Read attribute OccupiedHeatingSetpoint from the DUT"
279-
PICS: TSTAT.S.F00 && !TSTAT.S.F05
153+
- label: "Reads mandatory attributes from DUT: OccupiedHeatingSetpoint"
154+
PICS: TSTAT.S.F00
280155
command: "readAttribute"
281156
attribute: "OccupiedHeatingSetpoint"
282157
response:
@@ -286,17 +161,7 @@ tests:
286161
maxValue: 3000
287162

288163
- label: "Read UnoccupiedCoolingSetpoint attribute from the DUT"
289-
PICS: TSTAT.S.F05 && TSTAT.S.A0013
290-
command: "readAttribute"
291-
attribute: "UnoccupiedCoolingSetpoint"
292-
response:
293-
constraints:
294-
type: int16s
295-
minValue: AbsMinHeat
296-
maxValue: AbsMaxHeat
297-
298-
- label: "Read UnoccupiedCoolingSetpoint attribute from the DUT"
299-
PICS: TSTAT.S.F01 && TSTAT.S.F02 && !TSTAT.S.F05
164+
PICS: TSTAT.S.F01 && TSTAT.S.F02
300165
command: "readAttribute"
301166
attribute: "UnoccupiedCoolingSetpoint"
302167
response:
@@ -306,17 +171,7 @@ tests:
306171
maxValue: 3200
307172

308173
- label: "Read UnoccupiedHeatingSetpoint attribute from the DUT"
309-
PICS: TSTAT.S.F00 && TSTAT.S.F02 && TSTAT.S.F05 && TSTAT.S.A0013
310-
command: "readAttribute"
311-
attribute: "UnoccupiedHeatingSetpoint"
312-
response:
313-
constraints:
314-
type: int16s
315-
minValue: 700
316-
maxValue: UnoccupiedCoolingSetpoint - MinSetpointDeadBand
317-
318-
- label: "Read UnoccupiedHeatingSetpoint attribute from the DUT"
319-
PICS: TSTAT.S.F00 && TSTAT.S.F02 && !TSTAT.S.F05
174+
PICS: TSTAT.S.F00 && TSTAT.S.F02
320175
command: "readAttribute"
321176
attribute: "UnoccupiedHeatingSetpoint"
322177
response:
@@ -326,17 +181,7 @@ tests:
326181
maxValue: 3000
327182

328183
- label: "Reads attribute from DUT: MinHeatSetpointLimit"
329-
PICS: TSTAT.S.A0015 && TSTAT.S.F05 && TSTAT.S.A0017
330-
command: "readAttribute"
331-
attribute: "MinHeatSetpointLimit"
332-
response:
333-
constraints:
334-
type: int16s
335-
minValue: 700
336-
maxValue: MinCoolSetpointLimit - MinSetpointDeadBand
337-
338-
- label: "Read attribute MinHeatSetpointLimit from the DUT"
339-
PICS: TSTAT.S.A0015 && !TSTAT.S.F05
184+
PICS: TSTAT.S.A0015
340185
command: "readAttribute"
341186
attribute: "MinHeatSetpointLimit"
342187
response:
@@ -345,57 +190,37 @@ tests:
345190
minValue: 700
346191
maxValue: 3000
347192

348-
- label: "Read attribute MaxHeatSetpointLimit from the DUT"
349-
PICS: TSTAT.S.A0016 && !TSTAT.S.F05
350-
command: "readAttribute"
351-
attribute: "MaxHeatSetpointLimit"
352-
response:
353-
constraints:
354-
type: int16s
355-
minValue: 700
356-
maxValue: 3000
357-
358193
- label: "Reads attribute from DUT: MaxHeatSetpointLimit"
359-
PICS: TSTAT.S.A0016 && TSTAT.S.F05 && TSTAT.S.A0018
194+
PICS: TSTAT.S.A0016
360195
command: "readAttribute"
361196
attribute: "MaxHeatSetpointLimit"
362197
response:
363198
constraints:
364199
type: int16s
365-
minValue: 700
366-
maxValue: MaxCoolSetpointLimit - MinSetpointDeadBand
367-
368-
- label: "Read attribute MinCoolSetpointLimit from DUT"
369-
PICS: TSTAT.S.A0017 && TSTAT.S.A0018 && TSTAT.S.A0005
370-
command: "readAttribute"
371-
attribute: "MinCoolSetpointLimit"
372-
response:
373-
constraints:
374-
type: int16s
375-
minValue: AbsMinCoolSetpointLimitStep5
376-
maxValue: MaxCoolSetpointLimit
200+
minValue: -27315
201+
maxValue: 32767
377202

378-
- label: "Read attribute MinCoolSetpointLimit from DUT"
379-
PICS: TSTAT.S.A0017 && !TSTAT.S.A0018 && !TSTAT.S.A0005
203+
- label: "Reads optional attributes from DUT: MinCoolSetpointLimit"
204+
PICS: TSTAT.S.A0017
380205
command: "readAttribute"
381206
attribute: "MinCoolSetpointLimit"
382207
response:
383208
constraints:
384209
type: int16s
385-
minValue: 1600
386-
maxValue: 3200
210+
minValue: -27315
211+
maxValue: 32767
387212

388-
- label: "Read attribute MaxCoolSetpointLimit from DUT"
389-
PICS: TSTAT.S.A0018 && TSTAT.S.A0006 && TSTAT.S.A0017
213+
- label: "Reads optional attributes from DUT: MaxCoolSetpointLimit"
214+
PICS: TSTAT.S.A0018
390215
command: "readAttribute"
391216
attribute: "MaxCoolSetpointLimit"
392217
response:
393218
constraints:
394219
type: int16s
395-
minValue: MinCoolSetpointLimit
396-
maxValue: AbsMaxCoolSetpointLimitStep6
220+
minValue: -27315
221+
maxValue: 32767
397222

398-
- label: "Read attribute MinSetpointDeadBand from DUT"
223+
- label: "Reads optional attributes from DUT: MinSetpointDeadBand"
399224
PICS: TSTAT.S.F05
400225
command: "readAttribute"
401226
attribute: "MinSetpointDeadBand"
@@ -415,8 +240,7 @@ tests:
415240
minValue: 0
416241
maxValue: 7
417242

418-
- label: "Read attribute ControlSequenceOfOperation from DUT"
419-
PICS: TSTAT.S.A001b
243+
- label: "Reads mandatory attributes from DUT: ControlSequenceOfOperation"
420244
command: "readAttribute"
421245
attribute: "ControlSequenceOfOperation"
422246
response:
@@ -425,8 +249,7 @@ tests:
425249
minValue: 0
426250
maxValue: 5
427251

428-
- label: "Read attribute SystemMode from DUT"
429-
PICS: TSTAT.S.A001c
252+
- label: "Reads mandatory attributes from DUT: SystemMode"
430253
command: "readAttribute"
431254
attribute: "SystemMode"
432255
response:

0 commit comments

Comments
 (0)