xirixiz / homeassistant-afvalwijzer

Provides sensors for some Dutch waste collectors
MIT License
180 stars 69 forks source link

Skipping dates in december (again) #29

Closed Mariusthvdb closed 4 years ago

Mariusthvdb commented 4 years ago

I fear last years issue https://community.home-assistant.io/t/garbage-pickup-date-mijnafvalwijzer-nl-custom-component/34631/131?u=mariusthvdb has returned for this years december. All pickup dates in december are skipped, and the component reports first dates in january, while obviously december still has a few pickup dates.

posted on the community: https://community.home-assistant.io/t/garbage-pickup-date-mijnafvalwijzer-nl-custom-component/34631/326?u=mariusthvdb

let me know what you need to debug this please, and I will do my best to assist!

Schermafbeelding 2019-12-10 om 10 32 13

only the scrapers firstdate and firstwastetype are correct

Schermafbeelding 2019-12-10 om 10 33 49

the api returns this for december:

{"nameType":"restafval","type":"restafval","date":"2019-12-03"},{"nameType":"gft","type":"gft","date":"2019-12-10"},{"nameType":"plastic verpakkingsafval","type":"plastic","date":"2019-12-12"},{"nameType":"restafval","type":"restafval","date":"2019-12-17"},{"nameType":"papier","type":"papier","date":"2019-12-19"},{"nameType":"gft","type":"gft","date":"2019-12-24"},{"nameType":"plastic verpakkingsafval","type":"plastic","date":"2019-12-28"},{"nameType":"restafval","type":"restafval","date":"2019-12-31"}],"error":false}
Mariusthvdb commented 4 years ago

since you've released an updated version just today, I thought Id give it a chance, and lo and behold, the dates are back....

only thing left is the trash_next showing 'geen' on todays picks day, while it should in fact show 2, for the next pickup.

Schermafbeelding 2019-12-10 om 11 13 59

hope you can check that, for now thanks for the update!