Skip to content

Commit b6f964a

Browse files
committed
Fix data-set, device-items count
1 parent fe29ba4 commit b6f964a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

tests/data/anna/anna_elga_no_cooling.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@
6969
"setpoint": -0.5
7070
},
7171
"thermostat": {
72-
"setpoint_low": 20.5,
73-
"setpoint_high": 30,
72+
"setpoint": 20.5,
7473
"lower_bound": 4,
7574
"upper_bound": 30,
7675
"resolution": 0.1
@@ -81,12 +80,11 @@
8180
"select_schedule": "standaard",
8281
"mode": "auto",
8382
"sensors": {
83+
"setpoint": 20.5,
8484
"temperature": 19.3,
8585
"illuminance": 86,
8686
"cooling_activation_outdoor_temperature": 21,
87-
"cooling_deactivation_threshold": 4,
88-
"setpoint_low": 20.5,
89-
"setpoint_high": 30
87+
"cooling_deactivation_threshold": 4
9088
}
9189
}
9290
}

tests/test_anna.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ async def test_connect_anna_elga_no_cooling(self):
427427
await self.device_test(smile, "2020-04-12 00:00:01", testdata)
428428
assert smile.gateway_id == "015ae9ea3f964e668e490fa39da3870b"
429429
assert smile._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
430-
assert smile.device_items == 66
430+
assert smile.device_items == 62
431431
assert not self.notifications
432432
assert not self.cooling_present
433433

0 commit comments

Comments
 (0)