2022-11-03 08:23:19.212 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform fuelprices_dk is taking over 10 seconds.
2022-11-03 08:24:05.509 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: sensor.fuelprices_dk
2022-11-03 08:24:09.214 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform fuelprices_dk is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2022-11-03 08:24:55.064 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data: list index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in _async_update_data
return await self.update_method()
File "/config/custom_components/fuelprices_dk/sensor.py", line 30, in async_update_data
await hass.async_add_executor_job(fuelPrices.refresh)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 151, in refresh
company.refreshPrices()
File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 200, in refreshPrices
self._products = getattr(self._parser, self._key)(self._url, self._products)
File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 149, in f24
return self._f24_q8(url, products)
File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 182, in _f24_q8
json_product = r.json()["Products"][productDict["Index"]]
IndexError: list index out of range