https://github.com/red5d/ha-gasbuddy
Unofficial GasBuddy custom component for Home Assistant
https://github.com/red5d/ha-gasbuddy
Last synced: 9 months ago
JSON representation
Unofficial GasBuddy custom component for Home Assistant
- Host: GitHub
- URL: https://github.com/red5d/ha-gasbuddy
- Owner: Red5d
- Created: 2022-04-07T02:47:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-08T00:13:12.000Z (over 3 years ago)
- Last Synced: 2024-11-13T18:11:53.438Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GasBuddy Component for Home Assistant (Unofficial)
## Installing
To install this HACS Integration add-on, follow these steps:
1. Navigate to HACS, Integrations tab
2. Click on the 3-dots on the top right, and select *Custom repositories*
3. Under *repository*, write ```https://github.com/Red5d/ha-gasbuddy```
4. Underneath, select the *Integration* Category
5. Click *Add*
6. Click on *Explore & Download Repositories* and look for the *GasBuddy* repo.
7. Select the repository and click on *DOWNLOAD*
8. Confirm that you want to download the repo.
9. Done!
Refer to the usage section below on how to use the *GasBuddy* integration.
## Usage
To find the id for the stations you want to check, go to the GasBuddy map here: https://www.gasbuddy.com/gaspricemap
Find a station and click on the price bubble. A "card" about that station with the price, name, address, etc will be displayed at the top of the map. Click on the name of the station to go to its page, and the station id is at the end of the url. (example: https://www.gasbuddy.com/station/1234567)
After installing this component, add stations to your configuration.yaml in the "sensor:" section as shown below:
```
sensor:
- platform: gasbuddy
stationid: 1234567
- platform: gasbuddy
stationid: 2345678
- platform: gasbuddy
stationid: 3456789
```
After restarting Home Assistant to reload the configuration, search for "GasBuddy" in your Entities list, and you should have a sensor item for each available fuel type at each configured station.