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]: warszawa19115.pl cant pull data from API #2966

Open
5 of 7 tasks
krystjanik opened this issue Nov 1, 2024 · 2 comments
Open
5 of 7 tasks

[Bug]: warszawa19115.pl cant pull data from API #2966

krystjanik opened this issue Nov 1, 2024 · 2 comments

Comments

@krystjanik
Copy link

I Have A Problem With:

A specific source

What's Your Problem

When trying configure addon on my location (which has been working flawlessly for a long time) got error:
"The source returned an invalid response: "object of type 'NoneType' has no len()". Please check the provided arguments and try again."

Source (if relevant)

warszawa19115_pl

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

MarcinGmurczyk commented Nov 3, 2024

Same here
```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/warszawa19115_pl.py", line 127, in fetch or len(calendar_result[0]["harmonogramy"]) <= 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: object of type 'NoneType' has no len()`

@miedzeszyn
Copy link

And same here.
I suspect some API changed as ZTM transport also stop working few days ago.

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

3 participants