KoljaWindeler / ics

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

Error while starting addin in homeassistant #47

Open b10126 opened 1 year ago

b10126 commented 1 year ago

Logger: homeassistant.loader Source: loader.py:674 First occurred: 07:03:35 (6 occurrences) Last logged: 07:03:35

Unexpected exception importing platform custom_components.ics.sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 657, in get_platform cache[full_name] = self._import_platform(platform_name) File "/usr/src/homeassistant/homeassistant/loader.py", line 674, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 879, in exec_module File "", line 1017, in get_code File "", line 947, in source_to_code File "", line 241, in _call_with_frames_removed File "/config/custom_components/ics/sensor.py", line 156 if(isinstance(event["RRULE"], list): ^ SyntaxError: invalid syntax

Would you mind having a look on this issue? It occurs since some weeks now. Is it just me?

Thanks a lot, Benedikt