thermostat schedules: fix bug
thermostat schedules: fix bug: a task in smol-software-harbor (Harbor dataset). Early on Monday the thermostat uses the wrong temperature: before Monday's first change it must keep the last setpoint of Sunday (the week wraps around), but setpoint at() in thermo/schedule.py never looks back past…
The task
Early on Monday the thermostat uses the wrong temperature: before Monday's first change it must keep the last setpoint of Sunday (the week wraps around), but `setpoint_at()` in `thermo/schedule.py` never looks back past Monday (`test_monday_morning_wraps_to_sunday` fails). Fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.