Skip to content

Commit a73904a

Browse files
committed
Get data from async_update() as in Core plugwise
1 parent 06cb250 commit a73904a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ async def device_test(
387387
_LOGGER.info("Asserting testdata:")
388388
await smile._full_update_device()
389389
smile.get_all_devices()
390-
data = pw_constants.PlugwiseData(smile.gw_data, smile.gw_devices)
390+
data = await smile.async_update()
391391
else:
392392
_LOGGER.info("Asserting updated testdata:")
393393
data = await smile.async_update()

0 commit comments

Comments
 (0)