Hi, I have a system_event_log automation which is not working:
- id: Restart_HA_on_Caldav_Error
alias: Restart_HA_on_Caldav_Error
initial_state: 'on'
trigger:
- platform: event
event_type: system_log_event
condition:
- condition: template
value_template: '{{ "problem with path handling" in trigger.event.data.message }}'
action:
- service: homeassistant.restart
This is the log file output:
2020-10-21 08:14:31 ERROR (MainThread) [homeassistant.components.calendar] Error while setting up caldav platform for calendar
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/caldav/calendar.py", line 77, in setup_platform
calendars = client.principal().calendars()
File "/usr/local/lib/python3.8/site-packages/caldav/objects.py", line 417, in calendars
return self.calendar_home_set.calendars()
File "/usr/local/lib/python3.8/site-packages/caldav/objects.py", line 394, in calendar_home_set
chs = self.get_properties([cdav.CalendarHomeSet()])
File "/usr/local/lib/python3.8/site-packages/caldav/objects.py", line 232, in get_properties
raise Exception("The CalDAV server you are using has "
Exception: The CalDAV server you are using has a problem with path handling.
Any hints why its not working as expected?