When trying to add a new calendar or todo list I first get a message that the item have been created, however when going to settings → devices and services → and look at the Local calendar integration it states that it failed to setup and that I should look at the logs.
When reviewing the logs I get the below, do anyone have an idea what could be the issue? Same happens when I try to add a new todo list and the error is stated in the same error within the logs.
Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 12:52:38 (8 occurrences)
Last logged: 13:14:44Error setting up entry waste for local_calendar
Error setting up entry calendar.michael for local_calendar
Error setting up entry asdf for local_calendar
Error setting up entry asdf for local_todo
Error setting up entry New Calendar for local_calendar
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/local_calendar/init.py”, line 47, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 2147, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 1177, in async_get_platforms
import_future.result()
File “/usr/src/homeassistant/homeassistant/loader.py”, line 1165, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/loader.py”, line 1090, in _load_platforms
platform_name: self._load_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/loader.py”, line 1264, in _load_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/loader.py”, line 1296, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/util/loop.py”, line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/importlib/init.py”, line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1387, in _gcd_import
File “”, line 1360, in _find_and_load
File “”, line 1331, in _find_and_load_unlocked
File “”, line 935, in _load_unlocked
File “”, line 995, in exec_module
File “”, line 488, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/local_calendar/calendar.py”, line 10, in
from ical.calendar import Calendar
File “/usr/local/lib/python3.12/site-packages/ical/calendar.py”, line 17, in
from .event import Event
File “/usr/local/lib/python3.12/site-packages/ical/event.py”, line 30, in
from .iter import RulesetIterable, as_rrule
ImportError: cannot import name ‘as_rrule’ from ‘ical.iter’ (/usr/local/lib/python3.12/site-packages/ical/iter.py)