hacs_waste_collection_schedule icon indicating copy to clipboard operation
hacs_waste_collection_schedule copied to clipboard

[Bug] West Oxfordshire Source seems to have broken?

Open mattsgreen opened this issue 5 months ago • 3 comments

I Have A Problem With:

A specific source

What's Your Problem

West Oxfordshire District Council source seems to no longer be working. Both myself and another user using the same source have started seeing issues this week. I see the below in the logs:

Source (if relevant)

West Oxfordshire District Council, UK

Logs

fetch failed for source West Oxfordshire District Council: Traceback (most recent call last): File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source_shell.py", line 145, in fetch entries = self._source.fetch() ^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/waste_collection_schedule/waste_collection_schedule/source/westoxon_gov_uk.py", line 235, in fetch serialized_state = r.json()["actions"][0]["returnValue"]["response"][ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable

Relevant Configuration

No response

Checklist Source Error

  • [x] Use the example parameters for your source (often available in the documentation) (don't forget to restart Home Assistant after changing the configuration)
  • [x] Checked that the website of your service provider is still working
  • [x] Tested my attributes on the service provider website (if possible)
  • [x] 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

  • [x] Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)

Required

  • [x] I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn't been.
  • [x] 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.

Originally posted by @mattsgreen in https://github.com/mampfes/hacs_waste_collection_schedule/issues/818#issuecomment-2331118178

mattsgreen avatar Sep 05 '24 10:09 mattsgreen