Skip to content

Remote Calendar fails to parse iCloud calendar due to malformed ICS #170999

Description

@D1irk

The problem

When adding an iCloud calendar as a Remote Calendar in Home Assistant, the integration fails to parse the calendar with the error:

Error parsing calendar information: Calendar contents are not valid ICS format
Additional detail: Invalid property line, expected (';', ':') after property name

This suggests the iCalendar data from iCloud contains a malformed property line that doesn't conform to RFC 5545 standards.

Steps to reproduce:

  1. Add an iCloud calendar via Remote Calendar integration
  2. Wait for initial sync
  3. Check logs for the error

Expected: Calendar syncs successfully

What version of Home Assistant Core has the issue?

core-2026.5.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Remote Calendar

Link to integration documentation on our website

https://www.home-assistant.io/integrations/remote_calendar

Diagnostics information

2026-05-17 18:36:12.020 DEBUG (SyncWorker_9) [ical.compat.make_compat] Extracted PRODID: <re.Match object; span=(30, 188), match='PRODID:-//caldav.icloud.com//CALDAVJ 2616B792//EN>
2026-05-17 18:36:12.157 ERROR (MainThread) [homeassistant.components.remote_calendar.ics] Error parsing calendar information: Calendar contents are not valid ICS format, see the detailed_error for more information
2026-05-17 18:36:12.157 DEBUG (MainThread) [homeassistant.components.remote_calendar.ics] Additional calendar error detail: Invalid property line, expected (';', ':') after property name

Example YAML snippet

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions