- Python 99.4%
- Shell 0.6%
| .github | ||
| custom_components/ha_caldav | ||
| docs/decisions | ||
| tests | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| hacs.json | ||
| LICENSE | ||
| pytest.ini | ||
| README.md | ||
| requirements_test.txt | ||
| ruff.toml | ||
CalDAV Complete is a Home Assistant integration that connects calendars and to-do lists on CalDAV servers such as Nextcloud, including editing and deleting events and changing recurring series, which the built-in CalDAV integration cannot do.
Features
- 🔁 Change one occurrence of a series or all later ones
- ⏰ Reminders, attendees, attachments, meeting links, categories, time zones and free/busy
- 🔔 Reminders can trigger automations
- 📝 Subtasks, start dates, priority, progress and sorting for to-dos
- ✅ Recurring to-dos move to their next date when completed
- 📨 See and answer invitations
- 📓 Journal entries, shared and delegated calendars
- 🎨 Calendar colors and names in sync with the server
- 🔎 Actions to search, import, export, move and share
- 🛡️ Writes check for changes made elsewhere
- ⚡ Unchanged calendars are not reloaded on every poll
Installation
Requires Home Assistant 2026.3 or newer and an account on a CalDAV server.
Or open Settings → Marketplace → Add from link and add https://github.com/ivenos/ha_caldav as an Integration. Before Home Assistant 2026.11, add it to HACS as a custom repository of type Integration.
Install it, restart Home Assistant and add the integration:
Or open Settings → Devices & services → Add integration and search for CalDAV Complete.
Configuration
Setup asks for the server URL, username and password, and whether to verify the SSL certificate. An account with two-factor authentication needs an app password. A host name is usually enough, a server without TLS needs http:// in front, and under Certificates a CA bundle and a client certificate and key can be set. Once the server refuses the password, the account stops asking the server until the new password is entered.
| Option | Default | Description |
|---|---|---|
| Calendars to include | all |
The calendars that get entities. With every calendar ticked, one added on the server gets them at the next poll too |
| Minutes between polls | 15 |
How often to look for changes made outside Home Assistant, 1-1440 |
| Seconds a request may take | 30 |
How long to wait for the server to answer, 5-120 |
| Days ahead | 7 |
How far ahead to look for the upcoming event, 1-365 |
| Include all-day events | on |
Whether an all-day event can be the upcoming event |
| Only busy events | off |
Leaves out events that show as free and invitations you declined or passed on, in the state, the calendar view, automations and reminders |
| Read-only | off |
Hides the create, edit and delete controls, and the actions refuse to write |
The last four options can also be set per calendar, only Read-only for a to-do list or journal without events.
Renaming a calendar or to-do list in Home Assistant renames it on the server, and its other entities follow. A read-only calendar keeps its name there.
The calendar entity shows the upcoming event with its url, status, transparency, classification, priority, categories, attendees, organizer, alarms and attachments as attributes.
Actions
Called as ha_caldav.<action> on a calendar or to-do list, create_calendar and delete_calendar on the account.
| Action | What it does |
|---|---|
create_event, update_event, delete_event |
Create, change or delete an event, a single occurrence of a series or an occurrence and everything after it |
search_events |
Search by summary, description, location, category, status or UID, or list a time span. Returns events, one per occurrence within a start and end |
get_free_busy |
Returns the busy periods in a time window, and those of other people as attendees |
get_invitations, respond_to_invitation |
Returns the invitations that wait for an answer, and accepts, declines or tentatively accepts one or a single occurrence of it |
create_todo, update_todo |
Create or change a to-do or a subtask, found by its name or UID, with the fields of todo.add_item and todo.update_item |
search_todos |
Returns the todos of a list with all their properties and parent_uid, optionally filtered by text or status |
create_journal, update_journal, delete_journal |
Create, change or delete a journal entry |
search_journals |
Returns the journals of a calendar, optionally filtered by text or a start and end |
move_event, move_todo |
Move or copy an event to another calendar, or a to-do and its subtasks to another list |
import_ics, export_ics |
Import iCalendar data without sending invitations, or return it as ics |
set_calendar_color |
Set the calendar color on the server |
share_calendar, unshare_calendar, get_calendar_shares |
Share a calendar with another account on the server for reading or writing, stop sharing it, or return its shares, administrators only |
create_calendar, delete_calendar |
Create a calendar for events, to-dos or journal entries, or delete one of the account's own, administrators only |
An alarm of an event in the next 35 days, or in the days ahead if that is longer, or of an open to-do fires the event ha_caldav_reminder with entity_id, uid, summary, description, start and the alarm, plus recurrence_id, location and end for an event or due for a to-do. Each calendar with events or to-dos also gets a reminder entity named after it, which gets the same fields except entity_id, with the event type event or todo, and can be picked as a trigger in the automation editor. Completing, canceling or deleting a to-do does the same to its subtasks, and reopening one reopens the to-dos above it. A subtask without a position of its own is listed right under its parent. When another app changed only the current occurrence of a recurring to-do, the list shows that occurrence, and an edit in Home Assistant changes it. When it deleted that occurrence, the list shows the next one.
Changing only the alarms of an event or to-do, or the order of a to-do list, sends nothing to the attendees, and neither does a copy to another calendar. Moving an event you organize, or changing how it repeats, asks the attendees to answer again. An invitation from someone else can be moved to another calendar but not copied.
Compatibility
| Nextcloud | Baikal | Radicale | Xandikos | SOGo | |
|---|---|---|---|---|---|
| Events, to-dos, calendar names and colors | ✅ | ✅ | ✅ | ✅ | ✅ |
| Journal entries | ✅ | ✅ | ✅ | ✅ | ❌ |
| Invitations | ✅ | ✅ | ❌ | ❌ | ✅ |
| Busy times of a calendar | ✅ | ✅ | ✅ | ✅ | ❌ |
| Free/busy of other people | ✅ | 🟡 | ❌ | ❌ | ❌ |
| Sharing a calendar | ✅ | ✅ | ❌ | ❌ | ❌ |
| Delegated calendars | ✅ | ✅ | ❌ | ❌ | ✅ |
✅ is tested, 🟡 is expected to work but not tested, ❌ is not available on the server. Other servers are not tested, iCloud is in use with the integration. Not supported: signing in with OAuth, and publishing a calendar under a public link.
Roadmap to Home Assistant Core
The goal is to bring these features into the built-in CalDAV integration of Home Assistant. Each step is a small pull request that waits for a review by the Home Assistant team. Until then CalDAV Complete gets fixes and new features as usual. The roadmap shows what is already in Home Assistant and what each step waits for.
Contributing
CONTRIBUTING.md explains how to contribute and how the project is maintained.
License
Copyright © Iven Schlösser. CalDAV Complete is free software, licensed under the GNU General Public License v3.0 only. You may use, modify and redistribute it. Anyone distributing a modified version must release it under the same license and make its source code available.
CalDAV Complete builds on caldav, licensed under the GNU General Public License v3.0 or later or the Apache License 2.0, icalendar, licensed under the BSD 2-Clause License, vobject, licensed under the Apache License 2.0, recurring-ical-events, licensed under the GNU Lesser General Public License v3.0 or later, and python-dateutil, licensed under the Apache License 2.0 and the BSD 3-Clause License.
CalDAV Complete is not affiliated with or endorsed by the Open Home Foundation. "Home Assistant" and the "Home Assistant" logo are trademarks of the Open Home Foundation.