Skip to content

[Bug]: Abfall_io is not working anymore #4543

Description

@M4tRiX92

I Have A Problem With:

A specific source

What's Your Problem

Since some weeks the waste collection schedule is unkown for my city configured with abfall.io /Abfallplus

Anyone else with the same issues and was able to fix it?

Source (if relevant)

Abfall.io /Abfallplus

Logs

Logger: custom_components.waste_collection_schedule.waste_collection_schedule.source_shell
Quelle: custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py:160
Integration: Waste Collection Schedule (Dokumentation)
Erstmals aufgetreten: 3. August 2025 um 20:35:07 (4 Vorkommnisse)
Zuletzt protokolliert: 14:24:36

fetch failed for source Abfall.IO / AbfallPlus: Traceback (most recent call last): File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py", line 158, in fetch entries: Iterable[Collection] = self._source.fetch() ~~~~~~~~~~~~~~~~~~^^ File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_io.py", line 177, in fetch dates = self._ics.convert(ics_file) File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 48, in convert events: List[Any] = icalevents.events( ~~~~~~~~~~~~~~~~~^ start=start_date, end=end_date, string_content=ics_data.encode() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/icalevents/icalevents.py", line 57, in events found_events += parse_events( ~~~~~~~~~~~~^ content, start=start, end=end, tzinfo=tzinfo, sort=sort, strict=strict ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/icalevents/icalparser.py", line 301, in parse_events raise ValueError("Content is invalid!") ValueError: Content is invalid!

Relevant Configuration

key = d287412901d68d66825e588a60c94641
kommune = 128
Strasse = 1805

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions