Skip to content

Commit 906cbcb

Browse files
committed
Update anna entity_count asserts
1 parent ecc5d05 commit 906cbcb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/test_anna.py

Lines changed: 14 additions & 14 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 == 64
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 == 64
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 == 64
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 == 45
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 == 71
193+
assert self.entity_items == 73
194194
assert not self.notifications
195195
assert self.cooling_present
196196
assert not self._cooling_enabled
@@ -220,7 +220,7 @@ 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 == 68
223+
assert self.entity_items == 70
224224
await api.close_connection()
225225
await self.disconnect(server, client)
226226

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

247247
await self.device_test(api, "2020-04-19 00:00:01", testdata)
248248
assert api._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
249-
assert self.entity_items == 68
249+
assert self.entity_items == 70
250250
assert self.cooling_present
251251
assert not self.notifications
252252

@@ -292,7 +292,7 @@ async def test_connect_anna_heatpump_cooling_fake_firmware(self):
292292
)
293293

294294
await self.device_test(api, "2020-04-19 00:00:01", testdata)
295-
assert self.entity_items == 68
295+
assert self.entity_items == 70
296296
assert self.cooling_present
297297
assert self._cooling_enabled
298298
assert self._cooling_active
@@ -319,7 +319,7 @@ async def test_connect_anna_elga_no_cooling(self):
319319
await self.device_test(api, "2020-04-12 00:00:01", testdata)
320320
assert api.gateway_id == "015ae9ea3f964e668e490fa39da3870b"
321321
assert api._last_active["c784ee9fdab44e1395b8dee7d7a497d5"] == "standaard"
322-
assert self.entity_items == 69
322+
assert self.entity_items == 71
323323
assert not self.notifications
324324
assert not self.cooling_present
325325

@@ -345,7 +345,7 @@ async def test_connect_anna_elga_2(self):
345345
assert (
346346
api._last_active["d3ce834534114348be628b61b26d9220"] == THERMOSTAT_SCHEDULE
347347
)
348-
assert self.entity_items == 63
348+
assert self.entity_items == 65
349349
assert api.gateway_id == "fb49af122f6e4b0f91267e1cf7666d6f"
350350
assert self.cooling_present
351351
assert not self._cooling_enabled
@@ -397,7 +397,7 @@ async def test_connect_anna_elga_2_cooling(self):
397397
assert (
398398
api._last_active["d3ce834534114348be628b61b26d9220"] == THERMOSTAT_SCHEDULE
399399
)
400-
assert self.entity_items == 69
400+
assert self.entity_items == 71
401401
assert not self.notifications
402402

403403
assert self.cooling_present
@@ -451,7 +451,7 @@ async def test_connect_anna_loria_heating_idle(self):
451451

452452
await self.device_test(api, "2022-05-16 00:00:01", testdata)
453453
assert api._last_active["15da035090b847e7a21f93e08c015ebc"] == "Winter"
454-
assert self.entity_items == 68
454+
assert self.entity_items == 70
455455
assert self.cooling_present
456456
assert not self._cooling_enabled
457457

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

518518
await self.device_test(api, "2022-05-16 00:00:01", testdata)
519519
assert api._last_active["15da035090b847e7a21f93e08c015ebc"] == "Winter"
520-
assert self.entity_items == 68
520+
assert self.entity_items == 70
521521
assert self.cooling_present
522522
assert self._cooling_enabled
523523

@@ -540,7 +540,7 @@ async def test_connect_anna_loria_driessens(self):
540540
)
541541

542542
await self.device_test(api, "2022-05-16 00:00:01", testdata)
543-
assert self.entity_items == 68
543+
assert self.entity_items == 70
544544
assert self.cooling_present
545545
assert not self._cooling_enabled
546546

0 commit comments

Comments
 (0)