Skip to content

Commit e4550ff

Browse files
committed
Add Adam_plus_Jip testcase
1 parent 73111ef commit e4550ff

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tests/test_smile.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,26 @@ async def test_connect_adam_multiple_devices_per_zone(self):
14701470
await smile.close_connection()
14711471
await self.disconnect(server, client)
14721472

1473+
@pytest.mark.asyncio
1474+
async def test_adam_plus_jip(self):
1475+
"""Test Adam with Jip."""
1476+
testdata = {
1477+
# Woonkamer
1478+
"f61f1a2535f54f52ad006a3d18e459ca": {
1479+
"sensors": [
1480+
{"id": "humidity", "state": 56},
1481+
]
1482+
}
1483+
}
1484+
1485+
self.smile_setup = "adam_plus_jip"
1486+
server, smile, client = await self.connect_wrapper()
1487+
1488+
await self.device_test(smile, testdata)
1489+
1490+
await smile.close_connection()
1491+
await self.disconnect(server, client)
1492+
14731493
@pytest.mark.asyncio
14741494
async def test_connect_p1v3(self):
14751495
"""Test a P1 firmware 3 with only electricity setup."""

0 commit comments

Comments
 (0)