Aohzan / hass-prixcarburant

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

Cannot calculate days between last update #21

Closed aqwserf closed 11 months ago

aqwserf commented 11 months ago

Describe the bug Since a couple of days, I get a lot Cannot calculate days between last update, every 30s. I also have an automation to reload the prices every hour. I don't think it's related but here it is:

trigger:
  - platform: time_pattern
    hours: "*"
condition: []
action:
  - service: button.press
    data: {}
    target:
      entity_id: button.prix_carburant_refresh_prices
mode: single

Configuration

- platform: prix_carburant
  stations:
    - 33610005
    - 33600006 
    - 33600009
    - 33600001
    - 33700024
    - 33700001
    - 33600011
    - 33260011
    - 33470001
    - 33470003
    - 33380004

Expected behavior Not getting spammed by these warnings

Screenshots If applicable, add screenshots to help explain your problem.

Debug logs

2023-11-24 10:09:02.762 DEBUG (MainThread) [custom_components.prix_carburant.tools] Load stations names from local file stations_name.json
2023-11-24 10:09:02.794 INFO (MainThread) [custom_components.prix_carburant] Init stations data from yaml list
2023-11-24 10:09:02.794 DEBUG (MainThread) [custom_components.prix_carburant.tools] Call https://data.economie.gouv.fr/api/explore/v2.1/catalog/datasets/prix-des-carburants-en-france-flux-instantane-v2/records API to retrieve station data
2023-11-24 10:09:02.795 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33610005
2023-11-24 10:09:02.815 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33600006
2023-11-24 10:09:02.835 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33600009
2023-11-24 10:09:02.855 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33600001
2023-11-24 10:09:02.876 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33700024
2023-11-24 10:09:02.899 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33700001
2023-11-24 10:09:02.923 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33600011
2023-11-24 10:09:02.953 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33260011
2023-11-24 10:09:02.973 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33470001
2023-11-24 10:09:02.998 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33470003
2023-11-24 10:09:03.032 DEBUG (MainThread) [custom_components.prix_carburant.tools] Search station ID 33380004
2023-11-24 10:09:03.050 DEBUG (MainThread) [custom_components.prix_carburant.tools] Call https://data.economie.gouv.fr/api/explore/v2.1/catalog/datasets/prix-des-carburants-en-france-flux-instantane-v2/records API to retrieve fuel prices
2023-11-24 10:09:03.050 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33610005: Intermarché Cestas
2023-11-24 10:09:03.072 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33600006: Esso Alouette
2023-11-24 10:09:03.089 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33600009: Relais Haut Leveque
2023-11-24 10:09:03.107 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33600001: Geant Casino
2023-11-24 10:09:03.126 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33700024: Relais Merignac Somme
2023-11-24 10:09:03.147 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33700001: Carrefour Merignac
2023-11-24 10:09:03.164 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33600011: Relais Cap De Bos
2023-11-24 10:09:03.185 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33260011: E.Leclerc La Teste De Buch
2023-11-24 10:09:03.210 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33470001: undefined
2023-11-24 10:09:03.232 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33470003: Super U
2023-11-24 10:09:03.253 DEBUG (MainThread) [custom_components.prix_carburant.tools] Update fuel prices for station id 33380004: Leclerc Mios
2023-11-24 10:09:03.275 DEBUG (MainThread) [custom_components.prix_carburant] Finished fetching prix_carburant data in 0.225 seconds (success: True)
2023-11-24 10:09:03.277 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.277 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.278 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.278 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.279 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.279 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.280 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.280 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.281 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.281 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.282 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.283 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.284 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.284 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.285 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.285 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.285 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.286 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.286 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.287 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.287 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.287 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.288 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.288 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.290 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.290 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.291 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.291 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.291 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.292 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.292 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.292 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.293 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.293 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.294 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.296 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:03.296 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.317 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.317 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.317 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.318 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.319 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.320 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.321 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.322 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.323 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
2023-11-24 10:09:33.323 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days between last update
Aohzan commented 11 months ago

Il faut que j'ajoute le nom de la station et le carburant dans les logs sur lequel ça échoue

Aohzan commented 11 months ago

tu peux modifier les lignes 168 et 169 de sensor.py comme ceci et redémarrer :

            except ValueError as err:
                _LOGGER.warning(f"Cannot calculate days for {self._attr_name} since last update: {err}")
aqwserf commented 11 months ago

Voila le retour:

2023-11-24 14:13:14.557 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Intermarché Cestas E10 between last update: time data '2023-11-22T09:30:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.558 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Intermarché Cestas SP95 between last update: time data '2023-11-22T09:30:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.559 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Intermarché Cestas SP98 between last update: time data '2023-11-22T09:30:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.559 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Intermarché Cestas Gazole between last update: time data '2023-11-22T09:30:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.559 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Esso Alouette E10 between last update: time data '2023-11-24T00:02:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.560 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Esso Alouette SP98 between last update: time data '2023-11-24T00:02:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.560 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Esso Alouette Gazole between last update: time data '2023-11-24T00:02:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.560 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Haut Leveque E10 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.561 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Haut Leveque SP98 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.561 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Haut Leveque Gazole between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.561 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Geant Casino E10 between last update: time data '2023-11-23T08:43:41+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.561 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Geant Casino SP98 between last update: time data '2023-11-23T08:43:41+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.562 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Geant Casino Gazole between last update: time data '2023-11-23T08:43:40+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.562 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Merignac Somme E10 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.563 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Merignac Somme SP98 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.563 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Merignac Somme Gazole between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.564 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Carrefour Merignac E10 between last update: time data '2023-11-23T12:59:59+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.564 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Carrefour Merignac SP95 between last update: time data '2023-11-23T12:59:59+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.564 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Carrefour Merignac SP98 between last update: time data '2023-11-23T12:59:59+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.565 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Carrefour Merignac Gazole between last update: time data '2023-11-23T12:59:58+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.565 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Cap De Bos E10 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.565 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Cap De Bos SP98 between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.565 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Relais Cap De Bos Gazole between last update: time data '2023-11-24T01:01:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.566 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station E.Leclerc La Teste De Buch E10 between last update: time data '2023-11-22T09:10:57+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.566 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station E.Leclerc La Teste De Buch SP95 between last update: time data '2023-11-21T11:08:44+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.567 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station E.Leclerc La Teste De Buch SP98 between last update: time data '2023-11-21T11:08:44+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.567 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station E.Leclerc La Teste De Buch Gazole between last update: time data '2023-11-22T09:10:57+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.567 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station 33470001 E10 between last update: time data '2023-11-22T09:54:33+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.568 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station 33470001 SP98 between last update: time data '2023-11-22T09:54:33+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.568 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station 33470001 Gazole between last update: time data '2023-11-22T09:54:33+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.568 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Super U SP95 between last update: time data '2023-11-16T10:02:46+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.568 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Super U SP98 between last update: time data '2023-11-16T10:02:46+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.569 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Super U Gazole between last update: time data '2023-11-16T10:02:45+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.569 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Leclerc Mios E10 between last update: time data '2023-11-24T02:18:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.569 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Leclerc Mios SP95 between last update: time data '2023-11-24T02:18:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.569 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Leclerc Mios SP98 between last update: time data '2023-11-24T02:18:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'
2023-11-24 14:13:14.570 WARNING (MainThread) [custom_components.prix_carburant.sensor] Cannot calculate days for Station Leclerc Mios Gazole between last update: time data '2023-11-24T02:18:00+01:00' does not match format '%Y-%m-%d %H:%M:%S'

je penche pour cette foutue conversion ISO pour les timestamp. J'ai d'ailleurs trouvé ça hyper relou dans les templates ces histoires de conversion de temps...

Aohzan commented 11 months ago

Je viens de voir que j'ai la même erreur, j'ai l'impression que le format a changé, je vais fixer ça

Aohzan commented 11 months ago

fixé en 3.1.1