This a custom component for Home Assistant.
The prix_carburant integration allows you to get information and prices from gouv API.
❗ README complet en français 🇫🇷 ❗
HACS > Integrations > Explore & Download Repositories > Prix Carburant > Download this repository with HACS
Copy the directory prix_carburant in config/custom_components of your Home-Assistant.
Search Prix Carburant in Integration.
sensor:
- platform: prix_carburant
# IDs from https://www.prix-carburants.gouv.fr/
stations:
- 12345678
- 34567890The stations_name.json file contains information about gas stations with their IDs, names, and brands. If you want to contribute by adding or updating station information:
- Fork the repository
- Edit the
custom_components/prix_carburant/stations_name.jsonfile - Create a pull request
A GitHub workflow will automatically validate the JSON structure and format. If the PR only modifies the stations_name.json file and passes validation, it will be automatically approved and merged.
Thanks to https://github.com/max5962/prixCarburant-home-assistant for base code.