Skip to content

Commit abca523

Browse files
committed
Change to dataclass naming
1 parent 2aa8841 commit abca523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None):
381381
await smile._full_update_device()
382382
smile.get_all_devices()
383383
data = await smile.async_update()
384-
extra = data[0]
385-
device_list = data[1]
384+
extra = data.gateway
385+
device_list = data.devices
386386

387387
if "heater_id" in extra:
388388
self.cooling_present = extra["cooling_present"]

0 commit comments

Comments
 (0)