KoljaWindeler / ics

Integration that displays the next event of an ics link (support reoccuring events)
51 stars 12 forks source link

AttributeError: 'str' object has no attribute 'items' #56

Open b10126 opened 2 months ago

b10126 commented 2 months ago

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.ics.sensor Quelle: custom_components/ics/sensor.py:132 Integration: ics (Dokumentation) Erstmals aufgetreten: 19:05:31 (1470 Vorkommnisse) Zuletzt protokolliert: 21:07:41

Traceback (most recent call last): File "/config/custom_components/ics/sensor.py", line 181, in get_data _LOGGER.debug(f"fixed {self.check_fix_rrule(cal)} RRule dates") ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/ics/sensor.py", line 155, in check_fix_rrule if("UNTIL" in event["RRULE"]): ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/icalendar/caselessdict.py", line 89, in eq return self is other or dict(self.items()) == dict(other.items()) ^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'items'

b10126 commented 2 months ago

any ideas? it is a radicale calendar server which is queried.....

newest homeassistant 2024.06.2 and newest ics add'in