Skip to content

Commit

Permalink
Merge pull request #442 from wuede/development
Browse files Browse the repository at this point in the history
wrap mapped zones with list
  • Loading branch information
jabesq authored Oct 3, 2023
2 parents fa65cc4 + d44224c commit dda3ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyatmo/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self, home: Home, raw_data: RawData) -> None:
raw_data.get("timetable", []),
),
)
self.zones = map(lambda r: Zone(home, r), raw_data.get("zones", []))
self.zones = list(map(lambda r: Zone(home, r), raw_data.get("zones", [])))


@dataclass
Expand Down

0 comments on commit dda3ae4

Please sign in to comment.