Aohzan / hass-prixcarburant

Récupération des prix des stations en France
Apache License 2.0
30 stars 21 forks source link

Configuration fails after the last update (3.5.3) with HACS #45

Closed Idaho947 closed 5 months ago

Idaho947 commented 5 months ago

Describe the bug All my sensor are "indisponible" since the last update. The configuration fail.

Configuration From UI

Expected behavior The integration share the price

Screenshots image

image

Debug logs image


Paste debug logs here

Enregistreur: homeassistant.config_entries
Source: config_entries.py:551
S'est produit pour la première fois: 13:55:13 (3 occurrences)
Dernier enregistrement: 13:56:11

Error setting up entry Prix Carburant for prix_carburant
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/prix_carburant/__init__.py", line 58, in async_setup_entry
    await tool.init_stations_from_location(
  File "/config/custom_components/prix_carburant/tools.py", line 145, in init_stations_from_location
    response_count = await self._request_api(
                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/prix_carburant/tools.py", line 89, in _request_api
    raise PrixCarburantToolRequestError(
custom_components.prix_carburant.tools.PrixCarburantToolRequestError: API request error 404: {'error_code': 'NotFoundResource', 'message': 'The requested dataset prix-carburants-flux-instantane-v2 does not exist.'}
Aohzan commented 5 months ago

ils ont l'air d'avoir rebasculé sur l'ancienne URL :sob: (cf https://github.com/Aohzan/hass-prixcarburant/issues/41)

Idaho947 commented 5 months ago

C'est des champions...

Aohzan commented 5 months ago

fixed in https://github.com/Aohzan/hass-prixcarburant/releases/tag/3.5.4