/fuelwatchwa

This is a custom compontent which can installed on Home-Assistant to provide a sensor for tracking fuel prices in Western Australia.

Primary LanguagePythonMIT LicenseMIT

FuelWatch WA

The FuelWatch WA custom component provides fuel prices for petrol stations in Western Australia as sensors for Home Assistant.

The component uses the FuelWatch API to fetch petrol prices from petrol stations in Western Australia.

Installation

To install the FuelWatch WA custom component, you can install it manually by copying this code into a fuelwatchwa directory into the custom_components directory of your Home Assistant installation.

After installing the component, you will need to configure it by going to the Devices & Services page and adding the integration via the Add Integration button.

Sensors

The component creates sensors for the cheapest petrol station for your configured suburb.

`fuel_station_name`: The brand of the petrol station.
`fuel_station_address`: The address of the petrol station.
`fuel_station_suburb`: The location of the petrol station.
`fuel_cheapest_price`: The price of the fuel at the petrol station.

Credits

FuelWatch API provided by Government of Western Australia. FuelWatcher library by Daniel Michaels