calendar_set_calendar
Show or hide a calendar in the Calendar app, or enable/disable syncing its events to the phone; these settings affect the calendar list, not the events themselves.
Instructions
Show/hide a calendar in the Calendar app, or turn its sync to the phone on/off.
Hidden calendars are still synced (calendar.events includes them). A calendar with sync off has no events on the phone; turning sync on downloads them (run calendar.sync_background). These are phone settings of your calendar list, not changes to the events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | Sync its events to the phone (true) or not (false). | |
| visible | No | Show (true) or hide (false) the calendar in the app. | |
| calendar | Yes | Calendar id or name (see calendar.calendars). |