You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a restart the source bielefeld_de doesn't work anymore.
Tried both fixes: from #3629
but only worked until restart.
I've switched back to 2.5.0 and all is working fine.
Source (if relevant)
bielefeld_de
Logs
Logger: custom_components.waste_collection_schedule.waste_collection_schedule.source_shell
Quelle: custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py:226
Integration: Waste Collection Schedule ([Dokumentation](https://github.com/mampfes/hacs_waste_collection_schedule#readme))
Erstmals aufgetreten: 08:27:49 (2 Vorkommnisse)
Zuletzt protokolliert: 08:27:49
error loading source bielefeld_de: cannot import name 'use_pytz' from 'icalendar' (/usr/local/lib/python3.13/site-packages/icalendar/__init__.py) Traceback (most recent call last): File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py",
line 217, in create source_module: SourceModule = importlib.import_module( ~~~~~~~~~~~~~~~~~~~~~~~^ f"waste_collection_schedule.source.{source_name}" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/util/loop.py",
line 200, in protected_loop_func return func(*args, **kwargs) File "/usr/local/lib/python3.13/importlib/__init__.py",
line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>",
line 1360, in _find_and_load File "<frozen importlib._bootstrap>",
line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>",
line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>",
line 1026, in exec_module File "<frozen importlib._bootstrap>",
line 488, in _call_with_frames_removed File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/bielefeld_de.py",
line 6, in<module> from waste_collection_schedule.service.ICS import ICS File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py",
line 7, in<module> from icalevents import icalevents File "/usr/local/lib/python3.13/site-packages/icalevents/icalevents.py",
line 3, in<module> from .icalparser import parse_events, Event File "/usr/local/lib/python3.13/site-packages/icalevents/icalparser.py",
line 18, in<module> from icalendar import use_pytz ImportError: cannot import name 'use_pytz' from 'icalendar' (/usr/local/lib/python3.13/site-packages/icalendar/__init__.py)
Relevant Configuration
Checklist Source Error
Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
Checked that the website of your service provider is still working
Tested my attributes on the service provider website (if possible)
I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on "Redownload" and choose master as version)
Checklist Sensor Error
Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)
Required
I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
I understand that people give their precious time for free, and thus I've done my very best to make this problem as easy as possible to investigate.
The text was updated successfully, but these errors were encountered:
I Have A Problem With:
A specific source
What's Your Problem
After a restart the source bielefeld_de doesn't work anymore.
Tried both fixes: from #3629
but only worked until restart.
I've switched back to 2.5.0 and all is working fine.
Source (if relevant)
bielefeld_de
Logs
Relevant Configuration
Checklist Source Error
Checklist Sensor Error
Required
The text was updated successfully, but these errors were encountered: