write_day_plan
Override one date in a workout plan by assigning a routine, rest, or null to revert to the weekly plan.
Instructions
Override the plan for one date: a routine id, "rest", or null to go back to the weekly plan. A date takes one routine (combined days come from the weekly plan). While a rotation round runs: a routine of the round pins that session to the date (it is that day's session and is skipped on other days; once done, the pin is fulfilled), another routine replaces the round's session that day, and "rest" pauses the round that day. openGym merges settings and the plan one setting and one day at a time: only a device that changes the same setting or day later, before it syncs, keeps its own value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date YYYY-MM-DD (the profile’s local calendar day) | |
| plan | Yes | Routine id, "rest", or null |