Skip to content

Commit 1096a86

Browse files
committed
Adapt device-items count
1 parent 622f858 commit 1096a86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_adam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def test_adam_plus_jip(self):
347347
assert smile._last_active["06aecb3d00354375924f50c47af36bd2"] is None
348348
assert smile._last_active["d27aede973b54be484f6842d1b2802ad"] is None
349349
assert smile._last_active["13228dab8ce04617af318a2888b3c548"] is None
350-
assert self.device_items == 221
350+
assert self.device_items == 213
351351

352352
# Negative test
353353
result = await self.tinker_thermostat(

tests/test_legacy_anna.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def test_connect_legacy_anna(self):
3030

3131
await self.device_test(smile, "2020-03-22 00:00:01", testdata)
3232
assert smile.gateway_id == "0000aaaa0000aaaa0000aaaa0000aa00"
33-
assert self.device_items == 43
33+
assert self.device_items == 40
3434

3535
result = await self.tinker_legacy_thermostat(smile, schedule_on=False)
3636
assert result
@@ -64,7 +64,7 @@ async def test_connect_legacy_anna_2(self):
6464
await self.device_test(smile, "2020-05-03 00:00:01", testdata)
6565

6666
assert smile.gateway_id == "be81e3f8275b4129852c4d8d550ae2eb"
67-
assert self.device_items == 43
67+
assert self.device_items == 42
6868

6969
result = await self.tinker_legacy_thermostat(smile)
7070
assert result

0 commit comments

Comments
 (0)