Hi,
I have had a calendar in my Home Assistant configuration for a couple of months. It has been working fine until last week. It has suddenly stopped working and I can’t understand why it just stopped or what to do.
My log says that I get “Unauthorized”, which is strange because it has been working all time until last week.
caldav.lib.error.AuthorizationError: AuthorizationError at 'https://p49-caldav.icloud.com/USER_ID/principal/', reason 'Unauthorized'
USER_ID is changed above.
My configuration looks like this:
calendar:
- platform: caldav
url: !secret icloud_url
username: !secret icloud_username
password: !secret icloud_app_specific_password
custom_calendars:
- name: 'Sara Nattjobb'
calendar: 'Familj'
search: 'Sara jobb Natt'
The password is an app-generated-password. I have also tried changing to a new one.
Any ideas of what causes this?
Best Regards
Patrik