Skip to content

Commit 699b6b6

Browse files
committed
Update test_anna.py
1 parent d532e13 commit 699b6b6

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

tests/test_anna.py

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def test_connect_anna_v4(self):
3030
await self.device_test(api, "2020-04-05 00:00:01", testdata)
3131
assert api.gateway_id == "0466eae8520144c78afb29628384edeb"
3232
assert api._last_active["eb5309212bf5407bb143e5bfa3b18aee"] == "Standaard"
33-
assert self.entity_items == 60
33+
assert self.entity_items == 66
3434
assert not self.notifications
3535

3636
assert not self.cooling_present
@@ -103,7 +103,7 @@ async def test_connect_anna_v4_dhw(self):
103103

104104
await self.device_test(api, "2020-04-05 00:00:01", testdata)
105105
assert api._last_active["eb5309212bf5407bb143e5bfa3b18aee"] == "Standaard"
106-
assert self.entity_items == 60
106+
assert self.entity_items == 66
107107
assert not self.notifications
108108

109109
result = await self.tinker_thermostat(
@@ -132,7 +132,7 @@ async def test_connect_anna_v4_no_tag(self):
132132
)
133133

134134
await self.device_test(api, "2020-04-05 00:00:01", testdata)
135-
assert self.entity_items == 60
135+
assert self.entity_items == 66
136136

137137
result = await self.tinker_thermostat(
138138
api,
@@ -161,7 +161,7 @@ async def test_connect_anna_without_boiler_fw441(self):
161161

162162
await self.device_test(api, "2022-05-16 00:00:01", testdata)
163163
assert api._last_active["c34c6864216446528e95d88985e714cc"] == "Normaal"
164-
assert self.entity_items == 41
164+
assert self.entity_items == 47
165165
assert not self.notifications
166166

167167
result = await self.tinker_thermostat(
@@ -190,7 +190,7 @@ async def test_connect_anna_heatpump_heating(self):
190190
await self.device_test(api, "2020-04-12 00:00:01", testdata)
191191
assert api.gateway_id == "015ae9ea3f964e668e490fa39da3870b"
192192
assert api._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
193-
assert self.entity_items == 69
193+
assert self.entity_items == 76
194194
assert not self.notifications
195195
assert self.cooling_present
196196
assert not self._cooling_enabled
@@ -220,7 +220,6 @@ async def test_connect_anna_heatpump_heating(self):
220220
await self.device_test(
221221
api, "2020-04-13 00:00:01", testdata_updated, initialize=False
222222
)
223-
assert self.entity_items == 66
224223
await api.close_connection()
225224
await self.disconnect(server, client)
226225

@@ -246,7 +245,7 @@ async def test_connect_anna_heatpump_cooling(self):
246245

247246
await self.device_test(api, "2020-04-19 00:00:01", testdata)
248247
assert api._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
249-
assert self.entity_items == 66
248+
assert self.entity_items == 73
250249
assert self.cooling_present
251250
assert not self.notifications
252251

@@ -292,7 +291,7 @@ async def test_connect_anna_heatpump_cooling_fake_firmware(self):
292291
)
293292

294293
await self.device_test(api, "2020-04-19 00:00:01", testdata)
295-
assert self.entity_items == 66
294+
assert self.entity_items == 73
296295
assert self.cooling_present
297296
assert self._cooling_enabled
298297
assert self._cooling_active
@@ -319,7 +318,7 @@ async def test_connect_anna_elga_no_cooling(self):
319318
await self.device_test(api, "2020-04-12 00:00:01", testdata)
320319
assert api.gateway_id == "015ae9ea3f964e668e490fa39da3870b"
321320
assert api._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
322-
assert self.entity_items == 65
321+
assert self.entity_items == 71
323322
assert not self.notifications
324323
assert not self.cooling_present
325324

@@ -345,7 +344,7 @@ async def test_connect_anna_elga_2(self):
345344
assert (
346345
api._last_active["d3ce834534114348be628b61b26d9220"] == THERMOSTAT_SCHEDULE
347346
)
348-
assert self.entity_items == 61
347+
assert self.entity_items == 68
349348
assert api.gateway_id == "fb49af122f6e4b0f91267e1cf7666d6f"
350349
assert self.cooling_present
351350
assert not self._cooling_enabled
@@ -369,7 +368,7 @@ async def test_connect_anna_elga_2_schedule_off(self):
369368
)
370369
assert self.cooling_present
371370
assert not self._cooling_enabled
372-
assert self.entity_items == 65
371+
assert self.entity_items == 72
373372

374373
await api.close_connection()
375374
await self.disconnect(server, client)
@@ -397,7 +396,7 @@ async def test_connect_anna_elga_2_cooling(self):
397396
assert (
398397
api._last_active["d3ce834534114348be628b61b26d9220"] == THERMOSTAT_SCHEDULE
399398
)
400-
assert self.entity_items == 65
399+
assert self.entity_items == 72
401400
assert not self.notifications
402401

403402
assert self.cooling_present
@@ -451,7 +450,7 @@ async def test_connect_anna_loria_heating_idle(self):
451450

452451
await self.device_test(api, "2022-05-16 00:00:01", testdata)
453452
assert api._last_active["15da035090b847e7a21f93e08c015ebc"] == "Winter"
454-
assert self.entity_items == 68
453+
assert self.entity_items == 75
455454
assert self.cooling_present
456455
assert not self._cooling_enabled
457456

@@ -517,7 +516,7 @@ async def test_connect_anna_loria_cooling_active(self):
517516

518517
await self.device_test(api, "2022-05-16 00:00:01", testdata)
519518
assert api._last_active["15da035090b847e7a21f93e08c015ebc"] == "Winter"
520-
assert self.entity_items == 68
519+
assert self.entity_items == 75
521520
assert self.cooling_present
522521
assert self._cooling_enabled
523522

@@ -540,7 +539,7 @@ async def test_connect_anna_loria_driessens(self):
540539
)
541540

542541
await self.device_test(api, "2022-05-16 00:00:01", testdata)
543-
assert self.entity_items == 68
542+
assert self.entity_items == 75
544543
assert self.cooling_present
545544
assert not self._cooling_enabled
546545

0 commit comments

Comments
 (0)