Skip to content

Commit a6d1eaa

Browse files
committed
Fix all_data json formatting
1 parent 3f32651 commit a6d1eaa

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
@@ -386,7 +386,7 @@ async def device_test(self, smile=pw_smile.Smile, testdata=None):
386386
if "heater_id" in data.gateway:
387387
self.cooling_present = data.gateway["cooling_present"]
388388
self.notifications = data.gateway["notifications"]
389-
self._write_json("all_data", dataclasses.asdict(data))
389+
self._write_json("all_data", [data.gateway, data.devices])
390390
self._write_json("notifications", data.gateway["notifications"])
391391

392392
location_list = smile._thermo_locs

0 commit comments

Comments
 (0)