Skip to content

Commit

Permalink
significant refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Dec 29, 2024
1 parent 738baa9 commit 8cefaf9
Show file tree
Hide file tree
Showing 17 changed files with 4,013 additions and 582 deletions.
2 changes: 1 addition & 1 deletion cli/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async def get_schedule(
print("\r\nclient.py: Starting backup of zone schedule (WIP)...")
evo = ctx.obj[SZ_EVO]

zon: HotWater | Zone = _get_tcs(evo, loc_idx).zones_by_id[zone_id]
zon: HotWater | Zone = _get_tcs(evo, loc_idx).zone_by_id[zone_id]
schedule = {zon.id: {SZ_NAME: zon.name, SZ_SCHEDULE: await zon.get_schedule()}}

await _write(output_file, json.dumps(schedule, indent=4) + "\r\n\r\n")
Expand Down
Loading

0 comments on commit 8cefaf9

Please sign in to comment.