Giter Site home page Giter Site logo

pantherale0 / ha-fuelprices Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 2.0 55 KB

A generic and extensible integration with pyfuelprices to retrieve local (or remote) fuel price data.

License: MIT License

Shell 2.03% Python 97.97%
b7 diesel e10 e5 fuel fuel-prices gas gas-prices home-assistant home-automation petrol super95

ha-fuelprices's Introduction

Fuel Prices

GitHub Release GitHub Activity License

Project Maintenance BuyMeCoffee

Discord Community Forum

Integration to integrate with pyfuelprices.

This integration will set up the following platforms.

Platform Description
sensor Optional entities for fuel stations, attributes will contain fuel price data

Installation

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called fuel_prices.
  4. Download all the files from the custom_components/fuel_prices/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant
  7. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Fuel Prices"

Privacy notice

This integration relies entirely on cloud services, alongside this a few libraries are used to geocode provided coordinates into location data for certain providers such as GasBuddy or TankerKoenig.

For reverse geocoding a mix of Nominatim (https://nominatim.org/) and these-united-states (https://pypi.org/project/these-united-states/). This is done to improve performance, for example, looking up provided coordinates with Nominatim will allow us to restrict the fuel station search to data providers available in only that country.

Similar to this, this integration will use these-united-states to retrieve the state of given coordinates, and finally Nominatim is also used to retrieve the nearest postcode for the TankerKoenig data source.

Configuration

A new configuration parameter was introduced in 2024.6.0 that allows you to specify what state to display within Home Assistant. By default this is name, however it can be changed to a value of your liking after setup by clicking Configure followed by Configure data collection sources. This parameter is called State to show on the created sensors.

This value must be set to a fuel price key (available under Available Fuels for the produced sensor entities). In the UK this can be reliably set to E5 or B7, however if you set to SDV, a large number of fuel stations either do not stock this or do not provide this data. In this case the integration will default back to the fuel station name but this may create warnings / errors in your logs. Currently this cannot be configured by area.

Configuration is done in the UI

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines


ha-fuelprices's People

Contributors

pantherale0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

si458 bluhb

ha-fuelprices's Issues

Include area as sensor attribute.

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Currently it is impossible to filter the sensors created by the area that was defined that included them.

Describe the solution you'd like

Include the area as an attribute of the created sensor.

Describe alternatives you've considered

allow multiple services to be created for different areas

Additional context

Realise that the attribute solution may have problems when sensors are created from overlapping areas.

Can't delete an area

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.8.2-arch2-1
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 5000
Installed Version 1.34.0
Stage running
Available Repositories 1404
Downloaded Repositories 26
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 10
resources 42
views 17
mode storage
Recorder
oldest_recorder_run 16 April 2024 at 07:52
current_recorder_run 24 April 2024 at 10:07
estimated_db_size 1008.89 MiB
database_engine sqlite
database_version 3.44.2
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

I cannot delete an area or fuel prices in an area

Reproduction steps

  1. Create an area and wait for the entities to be created / populated
  2. Attempt to delete the area using the "configure wizard"
  3. The entities for that area remain
  4. After restarting homeassistant, the area re-appears

Debug logs

2024-04-24 10:15:22.371 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-04-24 10:15:23.736 DEBUG (MainThread) [custom_components.fuel_prices] Got request to setup entry.
2024-04-24 10:15:26.284 DEBUG (MainThread) [custom_components.fuel_prices.sensor] Registering entities for area Home
2024-04-24 10:15:27.031 DEBUG (MainThread) [custom_components.fuel_prices.sensor] Registering entities for area Belfast
2024-04-24 10:15:27.600 DEBUG (MainThread) [custom_components.fuel_prices.coordinator] Finished fetching 3633341f408fe1205ac173ebce0b263b data in 0.053 seconds (success: True)


Diagnostics dump

No response

TypeError: '<' not supported between instances of 'str' and 'int'

System Health details

System Information

version core-2024.7.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.33-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 4963
Installed Version 1.34.0
Stage running
Available Repositories 1459
Downloaded Repositories 50
AccuWeather
can_reach_server ok
remaining_requests 7
Home Assistant Cloud
logged_in true
subscription_expiration 18 August 2024 at 01:00
relayer_connected true
relayer_region eu-central-1
remote_enabled false
remote_connected false
alexa_enabled true
google_enabled true
remote_server eu-central-1-9.ui.nabu.casa
certificate_status ready
instance_id e6a004e587074017969916cabb52264f
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.4
update_channel stable
supervisor_version supervisor-2024.06.2
agent_version 1.6.0
docker_version 26.1.4
disk_total 30.8 GB
disk_used 17.2 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons ESPHome (2024.7.2), Crowdsec (1.6.2), Crowdsec Firewall Bouncer (v0.0.28), Advanced SSH & Web Terminal (18.0.0), File editor (5.8.0), Simple Scheduler (2.5), Mosquitto broker (6.4.1), Cloudflared (5.1.15), Zigbee2MQTT (1.39.0-1), openWakeWord (1.10.0)
Dashboards
dashboards 4
resources 29
views 7
mode storage
Recorder
oldest_recorder_run 20 July 2024 at 00:00
current_recorder_run 29 July 2024 at 16:59
estimated_db_size 853.60 MiB
database_engine sqlite
database_version 3.45.3
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Latest update (2024.7.1), not getting any entities.

Reproduction steps

  1. Update to latest version
  2. Error

Debug logs

2024-07-30 01:39:04.179 DEBUG (MainThread) [custom_components.fuel_prices] Unloading config entry 01J40H287THSSSZ4B5C2BCMCD3
2024-07-30 01:39:04.352 DEBUG (MainThread) [custom_components.fuel_prices.coordinator] Finished fetching 01J40H287THSSSZ4B5C2BCMCD3 data in 0.173 seconds (success: True)
2024-07-30 01:39:04.353 DEBUG (MainThread) [custom_components.fuel_prices.sensor] Registering entities for area Home
2024-07-30 01:39:04.613 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up fuel_prices platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/fuel_prices/sensor.py", line 37, in async_setup_entry
    for station in await entry.runtime_data.coordinator.api.find_fuel_locations_from_point(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/__init__.py", line 66, in find_fuel_locations_from_point
    locations.extend(await self.configured_sources[src].search_sites(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pyfuelprices/sources/__init__.py", line 79, in search_sites
    if site.lat < 90:
       ^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'int'

Diagnostics dump

No response

Australia WA Fuel Watch - Tomorrow Price

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

It is not a problem.

Describe the solution you'd like

Daily at around 2:30pm WA local time, fuelwatch WA will update tomorrow fuel price. Would be nice if can retrieve the price feed too.

Describe alternatives you've considered

Unable to think of anything

Additional context

nil

Set a price as entity state

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The home assistant map card allows for map marker text to display an entities state rather than an entities name. Currently, a map simply shows an abbreviation of a fuel station's name, which is not hugely helpful:

image

It would be much more helpful do display a fuel price, as demo'd here: https://www.home-assistant.io/blog/2023/10/04/release-202310/#map-entity-marker-options

Describe the solution you'd like

I would like the ability to set an entity's state to be the fuel price.

Describe alternatives you've considered

Could probably do it with template sensors, although that would mean having 2 entities for each fuel station - something I'd prefer to avoid.

Additional context

I suspect this would take the form of a selection during setup whereby a user selects the sort of fuel they would like to display as the entity's state. E10 or B7 for instance

X lowest prices for specific type of gas around a location

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

Not related to a problem

Describe the solution you'd like

Create sensors. Imagine you want 5 lowest prices

sensor.lowest_price_1_home
sensor.lowest_price_2_home
sensor.lowest_price_3_home
sensor.lowest_price_4_home
sensor.lowest_price_5_home

sensor.lowest_price_1_work
sensor.lowest_price_2_work
sensor.lowest_price_3_work
sensor.lowest_price_4_work
sensor.lowest_price_5_work

Compare the data and put lowest station in 1, then the next one in 2 etc.

This make it possible to add them in a map

  - type: map
    entities:
      - entity: sensor.gas_station_euro95_home_lowest_price_1
        name: LP 1
      - entity: sensor.gas_station_euro95_home_lowest_price_2
        name: LP 2
      - entity: sensor.gas_station_euro95_home_lowest_price_3
        name: LP 3
      - entity: sensor.gas_station_euro95_home_lowest_price_4
        name: LP 4
      - entity: sensor.gas_station_euro95_home_lowest_price_5
        name: LP 5
    geo_location_sources: []
    auto_fit: true

Describe alternatives you've considered

none

Additional context

none

Support for government fuel price API in Queensland,Australia

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The canonical source of fuel prices in Queensland, Australia is the API described at https://www.fuelpricesqld.com.au/ and this will always provide the most accurate and current prices available.

Describe the solution you'd like

Support for the https://www.fuelpricesqld.com.au/ API.

Describe alternatives you've considered

This problem does not lend itself to an alternative. I currently use an IOS app called Petty which accesses this information.

Additional context

Scraped data from the listed apps lags behind the API considerably and I would like to create automations which notify me of good prices close to where I am or to monitor particular petrol stations and send me notifications when the prices drop.

2024.1.0b0 - unclosed client session error during setup

System Health details

N/A

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The error below is seen in home assistant during integration setup in 2024.1.0b0

Probably relates to the geocoders

Reproduction steps

  1. Start up integration

Debug logs

Logger: homeassistant
Source: runner.py:145
First occurred: 5 January 2024 at 23:26:55 (4 occurrences)
Last logged: 5 January 2024 at 23:26:55

Error doing job: Unclosed client session

Diagnostics dump

No response

Instalation question

System Health details

System Information

version core-2024.1.6
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.2.16-3-pve
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 1391
Downloaded Repositories 5
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 6
resources 2
views 6
mode storage
Recorder
oldest_recorder_run 4 February 2024 at 21:31
current_recorder_run 10 February 2024 at 20:32
estimated_db_size 313.98 MiB
database_engine sqlite
database_version 3.41.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

I may have misunderstood something but after setting up the location I get 8 sensors of stations near me. when I add them to a card all I get is a list of the post codes and station names on the left column and just the post code on the right side of the card, no prices.
Have I missed a step in configuration please?

Reproduction steps

  1. Set up a location
  2. Finish setup
  3. Add sensors to a new card
    ...

Debug logs

2024-02-10 20:50:24.010 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:51:54.034 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:51:54.174 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:52:41.028 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.028 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.143 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.11/site-packages/pyfuelprices/sources/uk/__init__.py:44: RuntimeWarning: coroutine 'FuelLocation.update' was never awaited
  self.location_cache[site_id].update(location)

2024-02-10 20:53:14.563 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:53:24.592 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:54:34.986 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:54:45.120 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:55:55.234 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:06.338 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:56:19.293 ERROR (MainThread) [plexwebsocket] AIOHTTP websocket error
2024-02-10 20:57:15.376 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:57:26.806 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:58:35.594 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:58:57.312 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:59:55.756 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:00:27.806 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:01:16.083 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:01:48.098 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:02:36.200 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:03:08.446 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:03:56.333 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:04:28.672 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:05:16.827 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:05:58.912 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:06:37.180 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:07:29.155 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:07:57.651 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:08:49.408 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:09:17.867 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:10:19.860 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:11:50.375 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:13:20.891 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:14:51.363 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:16:21.921 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:17:52.552 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:19:12.868 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:20:32.962 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:21:53.318 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:23:13.655 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:24:34.086 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:25:54.247 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:27:14.336 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:28:44.718 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:30:05.326 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:31:25.642 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:32:56.106 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:34:16.308 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:35:46.657 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:37:06.842 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer

Diagnostics dump

No response

Error setting up entry Fuel Prices for fuel_prices

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

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

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_

Add OptionsFlow to reconfigure areas and other options

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

There is no OptionsFlow currently to change the settings of a config entry. To redefine areas, you have to remove the integration and create it again.

Describe the solution you'd like

OptionsFlow handler to reconfigure the config entry

Describe alternatives you've considered

N/A

Additional context

N/A

2024.1.0b0 - warnings in logs for gasbuddy

System Health details

N/A

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Gasbuddy logs warnings during update hook when an area is not within USA

Reproduction steps

  1. Setup integration
  2. Wait for updater to execute

Debug logs

Logger: pyfuelprices.sources.usa.gasbuddy
Source: runner.py:188
First occurred: 5 January 2024 at 23:26:55 (72 occurrences)
Last logged: 10:27:23

Ignoring area {'radius': 5.0, 'lat': 53.068464, 'long': 12.532709} as it is not found in USA.
Ignoring area {'radius': 5.0, 'lat': -31.994327, 'long': 115.930681} as it is not found in USA.
Ignoring area {'radius': 5.0, 'lat': 52.23817, 'long': 6.58763} as it is not found in USA.

Diagnostics dump

No response

UK Fuel Prices have an incorrect unit

Fuel prices for UK data sources currently show an incorrect unit of GBP when the value is actually in pence.

Example of GasBuddy with correct unit:

image

Example of a UK Fuel station:

image

All fuel stations appear to be in Sheernes

System Health details

System Information

version core-2023.12.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.58-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4810
Installed Version 1.33.0
Stage running
Available Repositories 1428
Downloaded Repositories 14
Home Assistant Cloud
logged_in true
subscription_expiration 1 January 2018 at 00:00
relayer_connected false
relayer_region null
remote_enabled true
remote_connected false
alexa_enabled false
google_enabled false
remote_server null
certificate_status null
instance_id 638891f9feea4f36861542b1876d4d4d
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.2
update_channel stable
supervisor_version supervisor-2023.12.0
agent_version 1.6.0
docker_version 24.0.7
disk_total 458.4 GB
disk_used 9.1 GB
healthy true
supported true
board yellow
supervisor_api ok
version_api ok
installed_addons File editor (5.7.0), Terminal & SSH (9.8.1), Silicon Labs Multiprotocol (2.3.2), Samba share (12.2.0), FTP (4.7.3), Mosquitto broker (6.4.0), Node-RED (16.0.2), MariaDB (2.6.1)
Dashboards
dashboards 7
resources 5
views 25
mode storage
Recorder
oldest_recorder_run 3 December 2023 at 21:51
current_recorder_run 27 December 2023 at 22:14
estimated_db_size 267.56 MiB
database_engine mysql
database_version 10.6.12

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

It doesn't matter what latitude or longitude I use I always get a fuel station in Sheernes. Rather than in 5 miles of my co-ordinates.

Reproduction steps

  1. Create a new location
  2. Select a source of tesco, Shell or Morissons

...

Debug logs

I couldn't work this out.

Diagnostics dump

And this too.

Manually update prices

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The prices are only updated once a day.
Since a price change one time per day is intended by law in a lot of countries, in Germany a gas station can change its prices whenever they want. So at least in Germany the prices are changing significantly over the day for every gas station. It's a short-term market.
Also for once-a-day-countries the update time is important. Actually the update time is the time when the integration was configured. Not the time when the price can be changed by law. So, also for these countries at least an update time per day configuration would be great.

Describe the solution you'd like

Please integrate the possibility to update the prices manually.
Either by giving the opportunity to update an entity with the service "homeassistant.update_entity" or with some other kind of input_button or service or so to trigger a complete update.

Describe alternatives you've considered

Additionally or as replacement you could give the option of amount of hours between updates and the "initial" time of update.

Additional context

None additional context.

reverse-geocode wont install on pi 4

System Health details

System Information

version core-2024.3.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4858
Installed Version 1.34.0
Stage running
Available Repositories 1405
Downloaded Repositories 19
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.1
update_channel stable
supervisor_version supervisor-2024.03.0
agent_version 1.6.0
docker_version 24.0.7
disk_total 57.3 GB
disk_used 23.1 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.16.0), Mosquitto broker (6.4.0), WireGuard (0.10.2), Advanced SSH & Web Terminal (17.2.0), File editor (5.8.0), ESPHome (2024.3.0), Speedtest (1.5.0), Log Viewer (0.17.0), Zigbee2MQTT (1.36.0-1), Whisper (2.0.0), Piper (1.5.0), Portainer (2.20.0), Neolink (Dev) (0.0.1), HassOS I2C Configurator (0.13a), I2C OLED Display (1.0.5), pigpio (1.5.2), Epic Games Free (debian-2024-03-17)
Dashboards
dashboards 4
resources 8
views 18
mode storage
Recorder
oldest_recorder_run 21 March 2024 at 21:27
current_recorder_run 25 March 2024 at 12:53
estimated_db_size 392.09 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

unable to setup/add integration

Reproduction steps

  1. install fuel_prices via hacs
  2. try adding via intergrations

Debug logs

2024-03-25 12:56:46.061 ERROR (SyncWorker_26) [homeassistant.util.package] Unable to install package reverse-geocode==1.4.1: error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      Traceback (most recent call last):
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in 
          main()
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/__init__.py", line 985, in wrapper
          return func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/__init__.py", line 1038, in build_wheel
          with _project(config_settings) as project:
        File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__
          return next(self.gen)
                 ^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/__init__.py", line 912, in _project
          yield Project(source_dir, build_dir, meson_args, editable_verbose)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/__init__.py", line 635, in __init__
          self._meson = _get_meson_command(pyproject_config.get('meson'))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/__init__.py", line 947, in _get_meson_command
          meson_version = subprocess.run(cmd + ['--version'], check=False, text=True, capture_output=True).stdout
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/subprocess.py", line 548, in run
          with Popen(*popenargs, **kwargs) as process:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/local/lib/python3.12/subprocess.py", line 1953, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      PermissionError: [Errno 13] Permission denied: 'meson'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
2024-03-25 12:56:46.061 INFO (SyncWorker_26) [homeassistant.util.package] Attempting install of reverse-geocode==1.4.1

Diagnostics dump

2024-03-25 12:56:46.061 ERROR (SyncWorker_26) [homeassistant.util.package] Unable to install package reverse-geocode==1.4.1: error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/init.py", line 985, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/init.py", line 1038, in build_wheel
with _project(config_settings) as project:
File "/usr/local/lib/python3.12/contextlib.py", line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/init.py", line 912, in _project
yield Project(source_dir, build_dir, meson_args, editable_verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/init.py", line 635, in init
self._meson = _get_meson_command(pyproject_config.get('meson'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-vuqvwde1/overlay/lib/python3.12/site-packages/mesonpy/init.py", line 947, in _get_meson_command
meson_version = subprocess.run(cmd + ['--version'], check=False, text=True, capture_output=True).stdout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1953, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'meson'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
2024-03-25 12:56:46.061 INFO (SyncWorker_26) [homeassistant.util.package] Attempting install of reverse-geocode==1.4.1

Home Assistant Yellow not supported

System Health details

System Information

version core-2024.6.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4949
Installed Version 1.34.0
Stage running
Available Repositories 1465
Downloaded Repositories 41
HACS Data ok
Home Assistant Cloud
logged_in true
subscription_expiration 23. November 2024 um 01:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled false
remote_server eu-central-1-13.ui.nabu.casa
certificate_status ready
instance_id 8f8d5984e65b48db9d5e159d1af807a5
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Easee EV Charger
component_version 0.9.59
reach_easee_cloud ok
connected2stream true
Home Assistant Supervisor
host_os Home Assistant OS 12.4
update_channel stable
supervisor_version supervisor-2024.06.0
agent_version 1.6.0
docker_version 26.1.4
disk_total 916.9 GB
disk_used 14.4 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board yellow
supervisor_api ok
version_api ok
installed_addons Advanced SSH & Web Terminal (18.0.0), Mosquitto broker (6.4.1), Samba share (12.3.1), evcc (0.127.2), FiatChamp (3.0.8), MQTT Explorer (browser-1.0.3), Matter Server (6.1.2), openWakeWord (1.10.0), RaspberryMatic CCU (3.75.7.20240601), File editor (5.8.0), Music Assistant BETA (2.1.0b7), Studio Code Server (5.15.0), Firefox (1.2.0), Music Assistant (2.0.7)
Dashboards
dashboards 6
resources 13
views 15
mode storage
Recorder
oldest_recorder_run 21. April 2024 um 07:19
current_recorder_run 21. Juni 2024 um 10:44
estimated_db_size 3373.81 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

please wait, configuration assistant for fuel_prices is starting
after some time:
Error
Configurationflow could not be started: unkown error.
HA is rebooting automatically

Reproduction steps

  1. add/download repo
  2. reboot HA
  3. add integration
    ...

Debug logs

2024-06-21 11:01:20.706 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: float got invalid input '' when rendering template '{{ (value | float / 1000) | round(4) }}' but no default was specified rendering template for entity 'sensor.evcc_charged_energy_kwh', template: '{{ (value | float / 1000) | round(4) }}', default value: default and payload: 
2024-06-21 11:01:20.724 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: round got invalid input '' when rendering template '{{ value | round(0) }}' but no default was specified rendering template for entity 'sensor.evcc_charge_duration_s', template: '{{ value | round(0) }}', default value: default and payload: 
2024-06-21 11:01:21.160 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: round got invalid input '' when rendering template '{{ value | round(1) }}' but no default was specified rendering template for entity 'sensor.evcc_pv_power_w', template: '{{ value | round(1) }}', default value: default and payload: 
2024-06-21 11:01:21.181 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: round got invalid input '' when rendering template '{{ value | round(1) }}' but no default was specified rendering template for entity 'sensor.evcc_battery_power_w', template: '{{ value | round(1) }}', default value: default and payload: 
2024-06-21 11:01:21.210 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: round got invalid input '' when rendering template '{{ value | round(1) }}' but no default was specified rendering template for entity 'sensor.evcc_grid_power_w', template: '{{ value | round(1) }}', default value: default and payload: 
2024-06-21 11:01:21.213 WARNING (MainThread) [homeassistant.components.mqtt.mixins] ValueError: Template error: round got invalid input '' when rendering template '{{ value | round(1) }}' but no default was specified rendering template for entity 'sensor.evcc_home_power_w', template: '{{ value | round(1) }}', default value: default and payload: 
2024-06-21 11:01:22.137 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.evcc_max_current: 32 (range 6.0 - 16.0)
2024-06-21 11:01:22.228 ERROR (MainThread) [homeassistant.components.mqtt.number] Invalid value for number.evcc_max_current: 32 (range 6.0 - 16.0)
2024-06-21 11:02:07.875 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.1og_monat (kWh) cannot be converted to the unit of previously compiled statistics (W). Generation of long term statistics will be suppressed unless the unit changes back to W or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-06-21 11:02:08.185 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.werkstattzahler_energy from integration powercalc has state class total_increasing, but its state is negative. Triggered by state -227.4444 with last_updated set to 2024-06-21T08:49:59.999999+00:00. Please create a bug report at https://github.com/bramstroker/homeassistant-powercalc/issues
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A2024-06-21 11:04:30.745 WARNING (MainThread) [hahomematic.caches.dynamic] Pending PONG mismatch: There is a mismatch between send ping events and received pong events for HA instance CCU3-HmIP-RF. Possible reason 1: You are running multiple instances of HA with the same instance name configured for this integration. Re-add one instance! Otherwise this HA instance will not receive update events from your CCU. Possible reason 2: Something is stuck on the CCU or hasn't been cleaned up. Therefore, try a CCU restart.Possible reason 3: Your setup is misconfigured and HA is not able to receive events from the CCU.
2024-06-21 11:05:38.547 WARNING (SyncWorker_22) [custom_components.localtuya.climate] [bf8...qna] Entity climate.infrarotheizung_2 is requesting unset index for option hvac_action_dp
2024-06-21 11:05:38.548 WARNING (SyncWorker_22) [custom_components.localtuya.climate] [bf8...qna] Entity climate.infrarotheizung_2 is requesting unknown DPS index None
2024-06-21 11:05:38.548 WARNING (SyncWorker_22) [custom_components.localtuya.climate] [bf8...qna] Entity climate.infrarotheizung_2 is requesting unset index for option hvac_action_dp
2024-06-21 11:05:38.548 WARNING (SyncWorker_22) [custom_components.localtuya.climate] [bf8...qna] Entity climate.infrarotheizung_2 is requesting unknown DPS index None

Diagnostics dump

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.