Closed r-kc closed 5 months ago
@r-kc: is this still an issue? The code seems to work for some addresses, so I'd be interested to find out why not for yours. If you don't want to post your URL here, my email is on my GitHub page 😄
This is still an issue, I have been manually changing the code after each update. I will send you my address.
Cool, send me both the address and the code and I'll try work it out
@r-kc: This'll fix it, just waiting for the merge :)
Name of Council
Merton
Issue Information
Home assistant fails with the error:
File "/config/custom_components/uk_bin_collection/sensor.py", line 93, in get_latest_collection_info bin_type = bin_data["type"]
In MertinCouncil.py I think line 42 needs to be changed from "bin_type": bin_type to "type": bin_type to fix this issue.
Verification