Skip to content

Commit db2a7be

Browse files
committed
Update related test-asserts
1 parent a16bccc commit db2a7be

File tree

1 file changed

+20
-40
lines changed

1 file changed

+20
-40
lines changed

tests/test_smile.py

Lines changed: 20 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,15 +2949,13 @@ async def test_adam_heatpump_cooling(self):
29492949
"select_schedule": "None",
29502950
"sensors": {
29512951
"battery": 55,
2952-
"setpoint_high": 18.0,
2953-
"setpoint_low": 4.0,
2952+
"setpoint": 18.0,
29542953
"temperature": 18.8,
29552954
},
29562955
"thermostat": {
29572956
"lower_bound": 0.0,
29582957
"resolution": 0.01,
2959-
"setpoint_high": 18.0,
2960-
"setpoint_low": 4.0,
2958+
"setpoint": 18.0,
29612959
"upper_bound": 99.9,
29622960
},
29632961
"vendor": "Plugwise",
@@ -3045,15 +3043,13 @@ async def test_adam_heatpump_cooling(self):
30453043
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
30463044
"select_schedule": "None",
30473045
"sensors": {
3048-
"setpoint_high": 18.0,
3049-
"setpoint_low": 4.0,
3046+
"setpoint": 18.0,
30503047
"temperature": 22.0,
30513048
},
30523049
"thermostat": {
30533050
"lower_bound": 0.0,
30543051
"resolution": 0.01,
3055-
"setpoint_high": 18.0,
3056-
"setpoint_low": 4.0,
3052+
"setpoint": 18.0,
30573053
"upper_bound": 99.9,
30583054
},
30593055
"vendor": "Plugwise",
@@ -3111,15 +3107,13 @@ async def test_adam_heatpump_cooling(self):
31113107
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
31123108
"select_schedule": "None",
31133109
"sensors": {
3114-
"setpoint_high": 18.0,
3115-
"setpoint_low": 4.0,
3110+
"setpoint": 18.0,
31163111
"temperature": 20.0,
31173112
},
31183113
"thermostat": {
31193114
"lower_bound": 0.0,
31203115
"resolution": 0.01,
3121-
"setpoint_high": 18.0,
3122-
"setpoint_low": 4.0,
3116+
"setpoint": 18.0,
31233117
"upper_bound": 99.9,
31243118
},
31253119
"vendor": "Plugwise",
@@ -3224,15 +3218,13 @@ async def test_adam_heatpump_cooling(self):
32243218
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
32253219
"select_schedule": "None",
32263220
"sensors": {
3227-
"setpoint_high": 18.5,
3228-
"setpoint_low": 4.0,
3221+
"setpoint": 18.5,
32293222
"temperature": 21.4,
32303223
},
32313224
"thermostat": {
32323225
"lower_bound": 0.0,
32333226
"resolution": 0.01,
3234-
"setpoint_high": 18.5,
3235-
"setpoint_low": 4.0,
3227+
"setpoint": 18.5,
32363228
"upper_bound": 99.9,
32373229
},
32383230
"vendor": "Plugwise",
@@ -3252,15 +3244,13 @@ async def test_adam_heatpump_cooling(self):
32523244
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
32533245
"select_schedule": "None",
32543246
"sensors": {
3255-
"setpoint_high": 17.0,
3256-
"setpoint_low": 4.0,
3247+
"setpoint": 17.0,
32573248
"temperature": 20.7,
32583249
},
32593250
"thermostat": {
32603251
"lower_bound": 0.0,
32613252
"resolution": 0.01,
3262-
"setpoint_high": 17.0,
3263-
"setpoint_low": 4.0,
3253+
"setpoint": 17.0,
32643254
"upper_bound": 99.9,
32653255
},
32663256
"vendor": "Plugwise",
@@ -3277,15 +3267,13 @@ async def test_adam_heatpump_cooling(self):
32773267
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
32783268
"select_schedule": "Werkdag schema",
32793269
"sensors": {
3280-
"setpoint_high": 21.5,
3281-
"setpoint_low": 4.0,
3270+
"setpoint": 21.5,
32823271
"temperature": 22.5,
32833272
},
32843273
"thermostat": {
32853274
"lower_bound": 1.0,
32863275
"resolution": 0.01,
3287-
"setpoint_high": 21.5,
3288-
"setpoint_low": 4.0,
3276+
"setpoint": 21.5,
32893277
"upper_bound": 35.0,
32903278
},
32913279
"vendor": "Plugwise",
@@ -3304,15 +3292,13 @@ async def test_adam_heatpump_cooling(self):
33043292
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
33053293
"select_schedule": "None",
33063294
"sensors": {
3307-
"setpoint_high": 20.5,
3308-
"setpoint_low": 4.0,
3295+
"setpoint": 20.5,
33093296
"temperature": 22.6,
33103297
},
33113298
"thermostat": {
33123299
"lower_bound": 0.0,
33133300
"resolution": 0.01,
3314-
"setpoint_high": 20.5,
3315-
"setpoint_low": 4.0,
3301+
"setpoint": 20.5,
33163302
"upper_bound": 99.9,
33173303
},
33183304
"vendor": "Plugwise",
@@ -3333,15 +3319,13 @@ async def test_adam_heatpump_cooling(self):
33333319
"select_schedule": "Werkdag schema",
33343320
"sensors": {
33353321
"battery": 53,
3336-
"setpoint_high": 21.5,
3337-
"setpoint_low": 4.0,
3322+
"setpoint": 21.5,
33383323
"temperature": 22.5,
33393324
},
33403325
"thermostat": {
33413326
"lower_bound": 0.0,
33423327
"resolution": 0.01,
3343-
"setpoint_high": 21.5,
3344-
"setpoint_low": 4.0,
3328+
"setpoint": 21.5,
33453329
"upper_bound": 99.9,
33463330
},
33473331
"vendor": "Plugwise",
@@ -3361,15 +3345,13 @@ async def test_adam_heatpump_cooling(self):
33613345
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
33623346
"select_schedule": "Werkdag schema",
33633347
"sensors": {
3364-
"setpoint_high": 20.5,
3365-
"setpoint_low": 4.0,
3348+
"setpoint": 20.5,
33663349
"temperature": 21.5,
33673350
},
33683351
"thermostat": {
33693352
"lower_bound": 0.0,
33703353
"resolution": 0.01,
3371-
"setpoint_high": 20.5,
3372-
"setpoint_low": 4.0,
3354+
"setpoint": 20.5,
33733355
"upper_bound": 99.9,
33743356
},
33753357
"vendor": "Plugwise",
@@ -3389,15 +3371,13 @@ async def test_adam_heatpump_cooling(self):
33893371
"preset_modes": ["no_frost", "vacation", "away", "home", "asleep"],
33903372
"select_schedule": "Werkdag schema",
33913373
"sensors": {
3392-
"setpoint_high": 20.5,
3393-
"setpoint_low": 4.0,
3374+
"setpoint": 20.5,
33943375
"temperature": 21.9,
33953376
},
33963377
"thermostat": {
33973378
"lower_bound": 0.0,
33983379
"resolution": 0.01,
3399-
"setpoint_high": 20.5,
3400-
"setpoint_low": 4.0,
3380+
"setpoint": 20.5,
34013381
"upper_bound": 99.9,
34023382
},
34033383
"vendor": "Plugwise",

0 commit comments

Comments
 (0)