Hi there,
When you create a scheduled maintenance via the Status Page UI, you have these automation options made available to you, notably the "set affected components' status to 'Under Maintenance'" and "set affected components' status to 'Operational" at the start time and end time of scheduled maintenances, respectively.

I'd like to enable these through the API, but it doesn't seem possible. I see that there are two `scheduled_auto_in_progress` and `scheduled_auto_completed` params you can pass when creating/updating an incident, but this doesn't change any of the components' statuses.
It seems that the affected components are set to `under_maintenance` immediately after you create the scheduled maintenance, even if the start time is far into the future. Additionally, these are not resolved after the scheduled maintenance is complete.
Is there a workaround for this, or perhaps something that I'm missing? Thank you!
Edit: I see now that there is a `auto_transition_to_maintenance_state` and a `auto_transition_to_operational_state` parameter that can be passed when creating an incident. This seems to do what it suggests, but the component is still set to `under_maintenance` as soon as the scheduled maintenance is added, even if it is scheduled out weeks in advance. Is there a way to ensure that the component is only set to `under_maintenance` at the scheduled start time? The UI manages do this without issue.