ics icon indicating copy to clipboard operation
ics copied to clipboard

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

Open b10126 opened this issue 8 months ago • 1 comments

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 avatar Jun 11 '24 19:06 b10126