diff --git a/homeassistant/components/local_calendar/calendar.py b/homeassistant/components/local_calendar/calendar.py index 213ee37ef37..66b3f80c19c 100644 --- a/homeassistant/components/local_calendar/calendar.py +++ b/homeassistant/components/local_calendar/calendar.py @@ -44,7 +44,9 @@ async def async_setup_entry( """Set up the local calendar platform.""" store = hass.data[DOMAIN][config_entry.entry_id] ics = await store.async_load() - calendar = IcsCalendarStream.calendar_from_ics(ics) + calendar: Calendar = await hass.async_add_executor_job( + IcsCalendarStream.calendar_from_ics, ics + ) calendar.prodid = PRODID name = config_entry.data[CONF_CALENDAR_NAME]