Issue with AWB-LM (Abfall.io)
See original GitHub issueHi,
found the integration not working with AWB-LM (Abfall.io) out of nowhere. Maybe after an update but tried to roll back to 1.24.0 which not helped me. Renewed the key and checked again all settings but it still fails with the following error:
Logger: waste_collection_schedule.scraper
Source: custom_components/waste_collection_schedule/waste_collection_schedule/scraper.py:143
Integration: waste_collection_schedule (documentation)
First occurred: 02:48:17 (1 occurrences)
Last logged: 02:48:17
fetch failed for source AbfallPlus: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/icalendar/parser.py", line 340, in parts validate_token(name) File "/usr/local/lib/python3.10/site-packages/icalendar/parser.py", line 128, in validate_token raise ValueError(name) ValueError: <br /> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/scraper.py", line 141, in fetch entries = self._source.fetch() File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_io.py", line 130, in fetch dates = self._ics.convert(ics_file) File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 38, in convert events: List[Any] = icalevents.events( File "/usr/local/lib/python3.10/site-packages/icalevents/icalevents.py", line 50, in events found_events += parse_events(content, start=start, end=end) File "/usr/local/lib/python3.10/site-packages/icalevents/icalparser.py", line 252, in parse_events calendar = Calendar.from_ical(content) File "/usr/local/lib/python3.10/site-packages/icalendar/cal.py", line 330, in from_ical name, params, vals = line.parts() File "/usr/local/lib/python3.10/site-packages/icalendar/parser.py", line 352, in parts raise ValueError( ValueError: Content line could not be parsed into parts: '<br />': <br />
Home Assistant: 2022.9.6 Waste Collection Schedule: 1.24.0, 1.26.0 & 1.27.0
My Config:
sources: - name: abfall_io args: key: 0ff491ffdf614d6f34870659c0cXXXXX f_id_kommune: XXXX f_id_bezirk: XX f_id_strasse: XXXX fetch_time: "04:00" day_switch_time: "00:00"
Any idea about this?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
abfall_io.py line 135:
contains those errors together with the actual data
maybe someone more familiar with the API might know what those mean?
This is still an issue when using lm_de in abfall_io