pantherale0 / ha-fuelprices

A generic and extensible integration with pyfuelprices to retrieve local (or remote) fuel price data.
MIT License
14 stars 2 forks source link

Error setting up entry Fuel Prices for fuel_prices #11

Closed modem7 closed 5 months ago

modem7 commented 5 months ago

System Health details

System Information

version core-2024.2.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.6.16-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4999 Installed Version | 1.34.0 Stage | running Available Repositories | 1474 Downloaded Repositories | 43
AccuWeather can_reach_server | ok -- | -- remaining_requests | 25
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.0 -- | -- update_channel | stable supervisor_version | supervisor-2024.02.1 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 30.8 GB disk_used | 19.4 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | ESPHome (2024.2.1), Crowdsec (1.6.0), Crowdsec Firewall Bouncer (v0.0.28), Piper (1.5.0), Advanced SSH & Web Terminal (17.1.1), Log Viewer (0.17.0), Whisper (1.0.2), openWakeWord (1.10.0), File editor (5.8.0), Node-RED (17.0.7), Simple Scheduler (2.5), Mosquitto broker (6.4.0), Cloudflared (5.1.4)
Dashboards dashboards | 3 -- | -- resources | 29 views | 7 mode | storage
Recorder oldest_recorder_run | 26 February 2024 at 20:01 -- | -- current_recorder_run | 2 March 2024 at 14:50 estimated_db_size | 544.29 MiB database_engine | sqlite database_version | 3.44.2
Spotify api_endpoint_reachable | ok -- | --

Checklist

Describe the issue

Attempted to setup the integration but getting the following error:

image

Reproduction steps

  1. Go through install steps

Debug logs

Logger: homeassistant.config_entries
Source: config_entries.py:444
First occurred: 17:48:09 (4 occurrences)
Last logged: 17:52:52

Error setting up entry Fuel Prices for fuel_prices
Traceback (most recent call last):
  File "/config/custom_components/fuel_prices/__init__.py", line 67, in async_setup_entry
    await fuel_prices.update()
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 35, in update
    await asyncio.gather(*coros)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 31, in update_src
    await s.update(areas=a)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 129, in update
    response = await self._client_session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 425, in _request
    raise RuntimeError("Session is closed")
RuntimeError: Session is closed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuel_prices/__init__.py", line 73, in async_setup_entry
    raise CannotConnect from err
custom_components.fuel_prices.CannotConnect

```console
2024-03-02 14:50:02.925 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration fontawesome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.926 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hass_agent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.926 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration fuel_prices which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.926 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration dvla which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.926 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.927 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.927 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration awtrix which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.927 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:02.928 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-03-02 14:50:08.042 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:08.043 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-02 14:50:12.380 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.modem7_gmail_com_last_electricity_cost (<class 'homeassistant.components.ovo_energy.sensor.OVOEnergySensor'>) is using state class 'total_increasing' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+ovo_energy%22
2024-03-02 14:50:13.526 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for ep1-lounge @ 192.168.30.57: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.30.57', port=6053))]: [Errno 113] Connect call failed ('192.168.30.57', 6053) (SocketAPIError)
2024-03-02 14:50:51.953 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'home' when rendering '{{ states.weather.weather.home.attributes.forecast.0.temperature }}'
2024-03-02 14:50:51.954 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.weather.weather.home.attributes.forecast.0.temperature }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 572, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2332, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/local/lib/python3.12/site-packages/jinja2/sandbox.py", line 326, in getattr
    value = getattr(obj, attribute)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2367, in _fail_with_undefined_error
    raise ex
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2364, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'home'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 698, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 574, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'home'
2024-03-02 14:50:51.956 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'home' when rendering '{{ states.weather.weather.home.attributes.forecast.0.temperature }}'
2024-03-02 14:50:51.957 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'home'') while processing template 'Template<template=({{ states.weather.weather.home.attributes.forecast.0.temperature }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.todays_forecast_high'
2024-03-02 14:50:51.957 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'home' when rendering '{{ states.weather.weather.home.attributes.forecast.0.templow }}'
2024-03-02 14:50:51.957 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.weather.weather.home.attributes.forecast.0.templow }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 572, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2332, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/local/lib/python3.12/site-packages/jinja2/sandbox.py", line 326, in getattr
    value = getattr(obj, attribute)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2367, in _fail_with_undefined_error
    raise ex
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2364, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'home'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 698, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 574, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'home'
2024-03-02 14:50:51.959 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'home' when rendering '{{ states.weather.weather.home.attributes.forecast.0.templow }}'
2024-03-02 14:50:51.959 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'home'') while processing template 'Template<template=({{ states.weather.weather.home.attributes.forecast.0.templow }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.todays_forecast_low'
2024-03-02 15:10:20.024 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-02 15:51:35.818 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 15s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-02 15:51:50.822 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 30s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-02 15:52:20.826 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 60s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-02 15:53:20.831 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 120s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-02 15:55:20.834 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 240s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-02 17:01:06.962 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-02 17:45:49.855 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-02 17:47:03.854 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-02 17:48:08.854 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-02 18:09:47.185 WARNING (SyncWorker_20) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fc5022a50>: Failed to establish a new connection: [Errno 101] Network unreachable')': /v1/me/player?additional_types=episode
2024-03-02 18:41:33.855 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-02 18:42:39.855 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-02 19:50:22.190 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.calories_in is taking over 10 seconds
2024-03-02 20:38:00.992 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [140186749876928] from 92.40.197.222 (Home Assistant/2024.1.5-12102 (Android 13; LE2123)): Disconnected: Did not receive auth message within 10 seconds
2024-03-02 20:55:32.964 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 00:00:09.546 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 256, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 412, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 183, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/components/apcupsd/sensor.py", line 511, in _handle_coordinator_update
    self._update_attrs()
  File "/usr/src/homeassistant/homeassistant/components/apcupsd/sensor.py", line 517, in _update_attrs
    self._attr_native_value, inferred_unit = infer_unit(self.coordinator.data[key])
                                                        ~~~~~~~~~~~~~~~~~~~~~^^^^^
KeyError: 'STESTI'
2024-03-03 01:20:20.126 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-03 05:00:08.132 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 15s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-03 05:00:09.954 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request exception for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_activity' with - Cannot connect to host hda.home:38069 ssl:False [Connect call failed ('192.168.50.254', 38069)]
2024-03-03 05:00:11.333 ERROR (MainThread) [homeassistant.components.plex.server] Could not connect to Plex server: LexPlex (HTTPSConnectionPool(host='192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct', port=32400): Max retries exceeded with url: /clients (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8004152bd0>: Failed to establish a new connection: [Errno 111] Connection refused')))
2024-03-03 05:00:23.135 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 30s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-03 05:00:53.138 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 60s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-03 05:01:53.141 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 120s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-03 05:03:53.144 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 240s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-03 08:03:20.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-03 08:04:38.480 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-03 08:06:01.480 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-03 09:00:20.963 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 09:01:25.968 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 12:55:20.523 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-03 14:00:40.969 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 14:50:11.726 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/site-packages/pyfuelprices/sources/uk/__init__.py:44: RuntimeWarning: coroutine 'FuelLocation.update' was never awaited
  self.location_cache[site_id].update(location)

2024-03-03 15:00:14.247 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server connection failed: Bad Gateway (502)
2024-03-03 15:20:22.614 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.calories_in is taking over 10 seconds
2024-03-03 16:52:50.974 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 17:00:28.969 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 18:00:04.651 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server connection failed: Bad Gateway (502)
2024-03-03 19:00:12.706 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server connection failed: Bad Gateway (502)
2024-03-03 20:32:53.832 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-03 23:10:20.512 ERROR (MainThread) [homeassistant.components.alexa.state_report] Error when sending ChangeReport for automation.awtrix_screenshot to Alexa: INVALID_ACCESS_TOKEN_EXCEPTION: Access token is not valid.
2024-03-04 01:00:20.786 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.ip_geo_location is taking over 10 seconds
2024-03-04 01:00:20.807 ERROR (MainThread) [homeassistant.components.rest.data] Timeout while fetching data: https://api.ipgeolocation.io/astronomy?lat=50.78&long=-1.08&apiKey=287824594a0d4360a1b43205f45d6119
2024-03-04 01:00:20.807 WARNING (MainThread) [homeassistant.components.rest.util] Empty reply found when expecting JSON data
2024-03-04 04:10:11.609 ERROR (MainThread) [homeassistant.components.plex.server] Could not connect to Plex server: LexPlex (HTTPSConnectionPool(host='plex.tv', port=443): Max retries exceeded with url: /api/v2/resources?includeHttps=1&includeRelay=1 (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)'))))
2024-03-04 05:00:04.971 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request exception for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_activity' with - Cannot connect to host hda.home:38069 ssl:False [Connect call failed ('192.168.50.254', 38069)]
2024-03-04 05:00:08.210 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 15s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-04 05:00:11.551 ERROR (MainThread) [homeassistant.components.plex.server] Could not connect to Plex server: LexPlex (HTTPSConnectionPool(host='192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct', port=32400): Max retries exceeded with url: /clients (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fbfbec470>: Failed to establish a new connection: [Errno 111] Connection refused')))
2024-03-04 05:00:23.213 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 30s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-04 05:00:53.217 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 60s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-04 05:01:53.220 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 120s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-04 05:03:53.223 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 240s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-04 08:35:20.853 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_alex_to_work is taking over 10 seconds
2024-03-04 08:35:20.854 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-04 10:00:15.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_users'
2024-03-04 10:01:07.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-04 10:05:28.480 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-04 10:14:08.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-04 10:15:36.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-04 10:52:04.855 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-04 11:30:24.814 ERROR (MainThread) [hole] Can not load data from *hole: 192.168.50.105:80
2024-03-04 11:30:24.814 ERROR (MainThread) [homeassistant.components.pi_hole] Error fetching Pi-Hole data: Failed to communicate with API: Can not load data from *hole: 192.168.50.105:80
2024-03-04 13:00:31.485 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server connection failed: Bad Gateway (502)
2024-03-04 13:24:51.945 WARNING (SyncWorker_27) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fc4f62b40>: Failed to establish a new connection: [Errno 101] Network unreachable')': /v1/me/player?additional_types=episode
2024-03-04 13:25:20.907 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.waze_travel_time is taking over 10 seconds
2024-03-04 13:25:20.907 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_work is taking over 10 seconds
2024-03-04 13:25:20.907 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_alex_to_work is taking over 10 seconds
2024-03-04 13:25:20.908 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-04 13:42:09.964 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-04 13:50:20.911 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.waze_travel_time is taking over 10 seconds
2024-03-04 13:50:20.911 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_work is taking over 10 seconds
2024-03-04 13:50:20.911 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_alex_to_work is taking over 10 seconds
2024-03-04 13:50:20.911 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-04 13:50:22.013 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fd7133530>: Failed to establish a new connection: [Errno 101] Network unreachable')': /v1/me/player?additional_types=episode
2024-03-04 13:50:26.988 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_cybermaniac is taking over 10 seconds
2024-03-04 13:50:27.619 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fbbf72f00>: Failed to establish a new connection: [Errno 101] Network unreachable')': /v1/me/player?additional_types=episode
2024-03-04 13:50:33.826 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fdc138f80>: Failed to establish a new connection: [Errno 101] Network unreachable')': /v1/me/player?additional_types=episode
2024-03-04 14:43:12.855 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-04 14:44:55.854 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-04 19:14:42.963 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-04 19:16:13.199 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server connection failed: Bad Gateway (502)
2024-03-04 19:35:29.813 ERROR (MainThread) [hole] Can not load data from *hole: 192.168.50.105:80
2024-03-04 19:35:29.813 ERROR (MainThread) [homeassistant.components.pi_hole] Error fetching Pi-Hole data: Failed to communicate with API: Can not load data from *hole: 192.168.50.105:80
2024-03-04 23:47:41.245 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-05 02:00:29.382 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-05 02:24:15.854 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-05 02:25:00.854 ERROR (MainThread) [homeassistant.components.tplink.coordinator] Error fetching 192.168.30.35 data: Unable to connect to the device: 192.168.30.35:9999: 
2024-03-05 02:27:28.682 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.682 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.682 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.683 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.683 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.683 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 02:27:28.744 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/site-packages/pyfuelprices/sources/uk/__init__.py:44: RuntimeWarning: coroutine 'FuelLocation.update' was never awaited
  self.location_cache[site_id].update(location)

2024-03-05 03:12:11.699 ERROR (MainThread) [homeassistant.components.androidtv.media_player] Failed to execute an ADB command. ADB connection re-establishing attempt in the next update. Error: Reading from 192.168.30.82:5555 timed out (9.0 seconds)
2024-03-05 03:12:13.699 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.30.82:5555.  TcpTimeoutException: Connecting to 192.168.30.82:5555 timed out (1.0 seconds)
2024-03-05 03:40:34.813 ERROR (MainThread) [hole] Can not load data from *hole: 192.168.50.105:80
2024-03-05 03:40:34.813 ERROR (MainThread) [homeassistant.components.pi_hole] Error fetching Pi-Hole data: Failed to communicate with API: Can not load data from *hole: 192.168.50.105:80
2024-03-05 05:00:04.969 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request exception for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_activity' with - Cannot connect to host hda.home:38069 ssl:False [Connect call failed ('192.168.50.254', 38069)]
2024-03-05 05:00:08.708 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 15s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-05 05:00:11.671 ERROR (MainThread) [homeassistant.components.plex.server] Could not connect to Plex server: LexPlex (HTTPSConnectionPool(host='192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct', port=32400): Max retries exceeded with url: /clients (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fbfbac710>: Failed to establish a new connection: [Errno 111] Connection refused')))
2024-03-05 05:00:23.711 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 30s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-05 05:00:53.715 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 60s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-05 05:01:53.717 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 120s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-05 05:03:53.721 ERROR (MainThread) [plexwebsocket] Websocket connection failed, retrying in 240s: Cannot connect to host 192-168-50-254.2648f3dfbda24e77a5acbd062de3e681.plex.direct:32400 ssl:default [Connect call failed ('192.168.50.254', 32400)]
2024-03-05 05:07:53.724 ERROR (MainThread) [homeassistant.components.plex] Websocket to LexPlex failed, aborting [Error: Too many retries]
2024-03-05 08:09:40.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_activity'
2024-03-05 08:11:18.480 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_users'
2024-03-05 08:14:46.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-05 08:15:32.479 ERROR (MainThread) [homeassistant.components.tautulli] Error fetching tautulli data: Request timeout for 'http://hda.home:38069/tautulli/api/v2?apikey=[REDACTED_API_TOKEN]&cmd=get_home_stats'
2024-03-05 12:00:19.963 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-05 14:00:25.963 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-05 14:57:28.826 ERROR (MainThread) [custom_components.fuel_prices.coordinator] Error fetching 8feff4392483b7ff151107e3b8e959f3 data: Error communicating with API Session is closed
2024-03-05 16:00:34.962 ERROR (MainThread) [homeassistant.components.steam_online] Error fetching steam_online data: Server took too long to respond
2024-03-05 16:30:21.183 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.vicky_travel_home_to_alex is taking over 10 seconds
2024-03-05 17:48:09.959 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.960 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.960 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.960 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.960 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.960 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:09.968 ERROR (MainThread) [custom_components.fuel_prices] Session is closed
2024-03-05 17:48:09.969 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Fuel Prices for fuel_prices
Traceback (most recent call last):
  File "/config/custom_components/fuel_prices/__init__.py", line 67, in async_setup_entry
    await fuel_prices.update()
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 35, in update
    await asyncio.gather(*coros)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 31, in update_src
    await s.update(areas=a)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 129, in update
    response = await self._client_session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 425, in _request
    raise RuntimeError("Session is closed")
RuntimeError: Session is closed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuel_prices/__init__.py", line 73, in async_setup_entry
    raise CannotConnect from err
custom_components.fuel_prices.CannotConnect
2024-03-05 17:48:10.014 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/site-packages/pyfuelprices/sources/uk/__init__.py:44: RuntimeWarning: coroutine 'FuelLocation.update' was never awaited
  self.location_cache[site_id].update(location)

2024-03-05 17:48:56.428 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.428 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.428 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.429 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.429 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.429 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.429 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:48:56.439 ERROR (MainThread) [custom_components.fuel_prices] Session is closed
2024-03-05 17:48:56.439 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Fuel Prices for fuel_prices
Traceback (most recent call last):
  File "/config/custom_components/fuel_prices/__init__.py", line 67, in async_setup_entry
    await fuel_prices.update()
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 35, in update
    await asyncio.gather(*coros)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 31, in update_src
    await s.update(areas=a)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 129, in update
    response = await self._client_session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 425, in _request
    raise RuntimeError("Session is closed")
RuntimeError: Session is closed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuel_prices/__init__.py", line 73, in async_setup_entry
    raise CannotConnect from err
custom_components.fuel_prices.CannotConnect
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.522 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:21.530 ERROR (MainThread) [custom_components.fuel_prices] Session is closed
2024-03-05 17:52:21.530 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Fuel Prices for fuel_prices
Traceback (most recent call last):
  File "/config/custom_components/fuel_prices/__init__.py", line 67, in async_setup_entry
    await fuel_prices.update()
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 35, in update
    await asyncio.gather(*coros)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 31, in update_src
    await s.update(areas=a)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 129, in update
    response = await self._client_session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 425, in _request
    raise RuntimeError("Session is closed")
RuntimeError: Session is closed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuel_prices/__init__.py", line 73, in async_setup_entry
    raise CannotConnect from err
custom_components.fuel_prices.CannotConnect
2024-03-05 17:52:52.517 DEBUG (MainThread) [custom_components.fuel_prices] Got request to setup entry.
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.517 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-03-05 17:52:52.526 ERROR (MainThread) [custom_components.fuel_prices] Session is closed
2024-03-05 17:52:52.526 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Fuel Prices for fuel_prices
Traceback (most recent call last):
  File "/config/custom_components/fuel_prices/__init__.py", line 67, in async_setup_entry
    await fuel_prices.update()
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 35, in update
    await asyncio.gather(*coros)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 31, in update_src
    await s.update(areas=a)
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 129, in update
    response = await self._client_session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 425, in _request
    raise RuntimeError("Session is closed")
RuntimeError: Session is closed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuel_prices/__init__.py", line 73, in async_setup_entry
    raise CannotConnect from err
custom_components.fuel_prices.CannotConnect


### Diagnostics dump

_No response_
pantherale0 commented 5 months ago

Hi,

You appear to have some other network issues preventing this integration from working.

There's a number of other services in the logs you've provided for other integrations with errors.

If there is no internet access, this integration won't work.

Thanks