Adopt the calendar and reminders App Intent schemas - #5660
Open
bgoncal wants to merge 4 commits into
Open
Conversation
bgoncal
force-pushed
the
siri-calendar-reminders-schemas
branch
2 times, most recently
from
September 6, 2026 18:24
25fc134 to
99dea09
Compare
bgoncal
marked this pull request as ready for review
September 6, 2026 19:35
Apple Intelligence can only act on an app's data when the app describes it in the shape the system already knows. Home Assistant has calendars and to-do lists, but exposed them as ordinary app entities, so Siri could not reason about an event's time or a reminder's due date. This maps calendars and calendar events onto the calendar schema, and to-do lists and their items onto the reminders schema. Fields Home Assistant does not carry are left empty rather than guessed at. The existing calendar entity is left untouched: annotating it would raise the availability of its query, its three intents and the Spotlight extension to iOS 27.
The schema entities describe Home Assistant's calendars and to-do lists, but nothing could act on them: an entity without an intent has no entry point, so Siri could match a name and go no further. This adds the six intents the two domains define that Home Assistant can actually back — create, update and delete for both events and reminders — along with the `calendar/event/update` command, which the app did not wrap yet. Creating a list or a section is left out: to-do lists come from integrations and there is no service to create one, and the todo domain has no sections. Fields Home Assistant does not carry are accepted and ignored rather than folded into the note, so nothing the user did not dictate ends up on their list. Events whose integration supplies no uid can be listed but not changed, and say so instead of failing server-side.
The reminders schema has no read action — Apple only defines create, update and delete — so listing a to-do list is a plain intent. It returns the entity the update and delete intents take, so a Shortcut can read a list and act on what it finds. Cached calendar events are now indexed for Spotlight. Calendars and to-do lists already reach the index as ordinary entities, so only events are added here; indexing their schema counterparts would list the same thing twice. The event indexer is separate because the entity is iOS 27 and holding one would raise the whole indexer to match.
The availability branch for event indexing pushed reindex(reason:) from ten to eleven, so it moves to its own method.
bgoncal
force-pushed
the
siri-calendar-reminders-schemas
branch
from
September 6, 2026 23:14
99dea09 to
dd36961
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI Policy
Select exactly one option that describes AI usage in this contribution:
Summary
Apple Intelligence can only reason about an app's data when the app describes it in a shape the system already knows. Home Assistant has calendars and to-do lists, but exposes them as ordinary app entities, so Siri can match a name and nothing more.
This adopts two App Intent schemas:
Fields Home Assistant does not carry are left empty rather than guessed at. An event has no attendees, organizer, alarms or travel time; a to-do item has no flag, tags, URLs or location trigger. Those types still exist because the schema fixes the shape of the property, but they are never populated.
The existing
HACalendarAppEntityis left alone. Annotating it in place would raise the availability of its query, its three intents and the Spotlight extension to iOS 27, so the schema types are separate.Screenshots
No new UI.
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes
Based on #5665, which moves CI to Xcode 27 — the iOS 27 SDK these types need. It will retarget to
mainonce that merges.