This integration parse the information from TankBillig, that covers fuel prices information from Austria, Spain, Germany, Switzerland and France.
You can use it to track the price of fuel (Diesel, Super95 or CNG) from the closest fuel station to the entered latitude and longitude.
Please before configuring the integration look for the coordinates in format 48.211459, 16.401445 closest to the fuel station you want to track.
The script will take the fuel station with the minimum distance to the enter location.
To activate this extension you can put this in your configuration file "configuration.yml", with the following (required) parameters:
Parameter | Value |
---|---|
latitude | XX.XXXXXX |
longitude | YY.YYYYYY |
fuel | Diesel , Super95 or CNG |
On the configuration.yml :
sensor:
- platform: fuel_tracker
name: Hofer
latitude: !secret latitude_hofer
longitude: !secret longitude_hofer
fuel: "Diesel"
- platform: fuel_tracker
name: Jet
latitude: !secret latitude_jet
longitude: !secret longitude_jet
fuel: "Diesel"
For visualizing such cool graph, use the mini-graph-card custom integration!
- type: custom:mini-graph-card
name: Fuel
icon: mdi:fuel
entities:
- entity: sensor.hofer
- entity: sensor.jet
decimals: 3
show:
labels: true
hours_to_show: 168
color_thresholds:
- value: 1.5
color: "#d35400"
- value: 1.4
color: "#f39c12"
- value: 1.3
color: "#2bc039"