Skip to content

Commit 504c998

Browse files
committed
Correct entity_items asserts
1 parent 94d7b46 commit 504c998

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_adam.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ async def test_adam_heatpump_cooling(self):
323323
testdata = await self.load_testdata(SMILE_TYPE, self.smile_setup)
324324
server, api, client = await self.connect_wrapper()
325325

326-
test_items = await self.device_test(api, "2022-01-02 00:00:01", testdata)
327-
assert self.entity_items == 519
326+
await self.device_test(api, "2022-01-02 00:00:01", testdata)
327+
assert self.entity_items == 538
328328
assert test_items == self.entity_items
329329
assert self.cooling_present
330330
assert self._cooling_enabled
@@ -347,8 +347,8 @@ async def test_connect_adam_onoff_cooling_fake_firmware(self):
347347
smile_version=None,
348348
)
349349

350-
test_items = await self.device_test(api, "2022-01-02 00:00:01", testdata)
351-
assert self.entity_items == 68
350+
await self.device_test(api, "2022-01-02 00:00:01", testdata)
351+
assert self.entity_items == 69
352352
assert test_items == self.entity_items
353353
assert self.cooling_present
354354
# assert self._cooling_enabled - no cooling_enabled indication present
@@ -414,7 +414,7 @@ async def test_adam_plus_jip(self):
414414

415415
test_items = await self.device_test(api, "2021-06-20 00:00:01", testdata)
416416
assert api.gateway_id == "b5c2386c6f6342669e50fe49dd05b188"
417-
assert self.entity_items == 261
417+
assert self.entity_items == 269
418418
assert test_items == self.entity_items
419419

420420
# Negative test

0 commit comments

Comments
 (0)