NSW Fuel Station alternative to find station ID (#15430)

This commit is contained in:
Fredrik Baberg 2020-11-07 12:11:43 +01:00 committed by GitHub
parent b5fb8283a4
commit 2cee84a024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,12 @@ To get the station ID for any NSW fuel station you will need to:
- In the Fuel Check App, search for your postcode or click "Fuel Near Me".
- In the developer console, you should see a request to `/FuelCheckApp/v1/fuel/prices/bylocation`. Open this request and preview the response. Find the station you wish to add, and copy down the `ServiceStationID` field.
Alternatively:
- Select a station you wish to find the ID for.
- Select "Report this Station".
- In the URL of the new page opened, locate `serviceStationId`.
## Configuration
To add the NSW fuel station price sensor to your installation, add the following to your `configuration.yaml` file: