write_schedule_mode
Set training schedule mode to rotation (starts a round from saved rotation) or week (stops the round and reverts to fixed weekdays).
Instructions
How training is planned, as the app's "How you train" switch: "rotation" holds rotation mode and starts a round from the saved rotation when there is one (set the rotation with write_rotation); "week" goes back to fixed weekdays, which were never touched: the app's own round stops (its future date pins go) and the rotation stays saved for later. Choosing the mode the plan is already in changes nothing, so a running round keeps its progress. A planner's queue is not stopped by "week"; clear it with write_session_queue. 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 |
|---|---|---|---|
| mode | Yes |