Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Service Provider configuration does not work for Abfallverband Hollabrunn after portal redesign #3227

Open
7 tasks done
gkutyi opened this issue Dec 17, 2024 · 1 comment

Comments

@gkutyi
Copy link

gkutyi commented Dec 17, 2024

I Have A Problem With:

A specific source

What's Your Problem

source returns empty answer

Source (if relevant)

No response

Logs

No response

Relevant Configuration

No response

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.
@zimbo86
Copy link

zimbo86 commented Dec 18, 2024

seems same for Abfallwirtschaftsgesellschaft Neckar-Odenwald-Kreis (AWN)

fetch failed for source Abfallwirtschaft Neckar-Odenwald-Kreis: Traceback (most recent call last): File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalendar/parser.py", line 340, in parts validate_token(name) File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalendar/parser.py", line 128, in validate_token raise ValueError(name) ValueError: <!DOCTYPE HTML><HTML lang="de-DE"> During handling of the above exception, another exception occurred: 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/awn_de.py", line 133, in fetch dates = self._ics.convert(r.text) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/service/ICS.py", line 48, in convert events: List[Any] = icalevents.events( ^^^^^^^^^^^^^^^^^^ File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalevents/icalevents.py", line 57, in events found_events += parse_events( ^^^^^^^^^^^^^ File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalevents/icalparser.py", line 288, in parse_events calendar = Calendar.from_ical(content) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalendar/cal.py", line 330, in from_ical name, params, vals = line.parts() ^^^^^^^^^^^^ File "/var/tmp/homeassistant-venv/lib/python3.12/site-packages/icalendar/parser.py", line 352, in parts raise ValueError( ValueError: Content line could not be parsed into parts: '<!DOCTYPE HTML><HTML lang="de-DE"> ': <!DOCTYPE HTML><HTML lang="de-DE">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants