Open liegri opened 2 years ago
After some debugging I found out that event["RRULE"]
was an array for one of my calendar events.
This quick and very dirty fix is now working for me (changes at == START OF FIX ==
):
# inside custom_components/isc/sensor.py, check_fix_rrule
for event in calendar.walk('vevent'):
if("RRULE" in event):
# == START OF FIX ==
if(isinstance(event["RRULE"], list):
event["RRULE"] = event["RRULE"][0]
# == END OF FIX ==
if("UNTIL" in event["RRULE"]):
# ...
Sadly (as of right now) I have no idea how this can be handled correctly, otherwise I would have created a PR. But maybe my findings help you solve the bug.
Hmm this seems to be an issue with the underlaying iCalendar .. would you open your ticket there? Also: I'd totally accept that pull request. ..
Hi,
I just wanted to try this integration, but sadly I'm getting the following error repeatedly.
Log:
Integration details:
HASS details:
Let me know if I can provide you with any further details.
I hope you can fix this issue soon, thank you in advance :)