Open matt0020190 opened 2 months ago
Could you post your log file please?
This error originated from a custom integration.
Logger: custom_components.uk_bin_collection.sensor Source: helpers/update_coordinator.py:315 integration: UK Bin Collection Data (documentation, issues) First occurred: April 16, 2024 at 7:59:29 AM (3 occurrences) Last logged: April 16, 2024 at 11:59:49 PM
Unexpected error fetching Chapel Street data: 'NoneType' object has no attribute 'find' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/uk_bin_collection/sensor.py", line 133, in _async_update_data data = await self.hass.async_add_executor_job(self.ukbcd.run) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 96, in run return self.client_code( ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/collect_data.py", line 115, in client_code return get_bin_data_class.template_method(address_url, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/get_bin_data.py", line 78, in template_method bin_data_dict = self.parse_data( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/uk_bin_collection/uk_bin_collection/councils/RugbyBoroughCouncil.py", line 72, in parse_data table_rows = soup.find("table", {"class": "table"}).find("tbody").find_all("tr") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'find'
Name of Council
Rugby borough council
Issue Information
For the past week the entities are unavailable stating the integration is no longer providing this information. I'm running the latest version, is it a council issue?
Verification