Skip to content

Commit c85a4fe

Browse files
committed
Update related test-asserts
1 parent 46d0479 commit c85a4fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_smile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5190,15 +5190,15 @@ async def test_connect_p1v4_442_triple(self):
51905190
"model": "Gateway",
51915191
"name": "Smile P1",
51925192
"vendor": "Plugwise",
5193-
"binary_sensors": {"plugwise_notification": False},
5193+
"binary_sensors": {"plugwise_notification": True},
51945194
},
51955195
"b82b6b3322484f2ea4e25e0bd5f3d61f": {
51965196
"dev_class": "smartmeter",
51975197
"location": "03e65b16e4b247a29ae0d75a78cb492e",
51985198
"model": "XMX5LGF0010453051839",
51995199
"name": "P1",
52005200
"vendor": "XEMEX NV",
5201-
"available": True,
5201+
"available": False,
52025202
"sensors": {
52035203
"net_electricity_point": 5553,
52045204
"electricity_consumed_peak_point": 0,
@@ -5244,7 +5244,7 @@ async def test_connect_p1v4_442_triple(self):
52445244
await self.device_test(smile, testdata)
52455245
assert smile.gateway_id == "03e65b16e4b247a29ae0d75a78cb492e"
52465246
assert self.device_items == 40
5247-
assert not self.notifications
5247+
assert self.notifications
52485248

52495249
await smile.close_connection()
52505250
await self.disconnect(server, client)

0 commit comments

Comments
 (0)