Releases: pantherale0/ha-fuelprices
2024.3.0b0
This release contains breaking changes
New
- GB: Add Moto data source (https://moto-way.com/fuel-price/fuel_prices.json)
- GB: Add JET data source (https://jetlocal.co.uk/fuel_prices_data.json)
- The services for
Find Fuel Locations
andFind Fuels
now return the distance from the original search location (in miles) - Device tracker platform has been replaced for the sensor platform.
- Add icon to entities
- Update translations
Breaking
- Device tracker platform removed, all entities will be available under the sensor platform instead.
- To account for the changes to service calls, their output formats have now changed, for
Find Fuels
the output will be in list format as follows:
fuels: [{
name: Location Name,
cost: Location Cost,
distance: Location Distance
}]
The Find Fuel Locations
service call has not changed significantly, however now includes additional properties under the props
key that was previously hidden.
Fixed
- UK Fuel Sources not updating
- Missing options in options flow
- BP and Tesco returning incorrect price values
Full Changelog: 2024.2.0b1...2024.3.0b0
2024.2.0b1
This release contains some potentially breaking changes
New
- GB: Add Moto data source (https://moto-way.com/fuel-price/fuel_prices.json)
- The services for
Find Fuel Locations
andFind Fuels
now return the distance from the original search location (in miles)
Breaking
- To account for the changes to service calls, their output formats have now changed, for
Find Fuels
the output will be in list format as follows:
fuels: [{
name: Location Name,
cost: Location Cost,
distance: Location Distance
}]
The Find Fuel Locations
service call has not changed significantly, however now includes additional properties under the props
key that was previously hidden.
Fixed
- UK Fuel Sources not updating
- Missing options in options flow
Full Changelog: 2024.1.0...2024.2.0b1
2024.2.0b0
This release contains some potentially breaking changes
New:
- GB: Add Moto data source (https://moto-way.com/fuel-price/fuel_prices.json)
- The services for
Find Fuel Locations
andFind Fuels
now return the distance from the original search location (in miles)
Breaking
- To account for the changes to service calls, their output formats have now changed, for
Find Fuels
the output will be in list format as follows:
fuels: [{
name: Location Name,
cost: Location Cost,
distance: Location Distance
}]
The Find Fuel Locations
service call has not changed significantly, however now includes additional properties under the props
key that was previously hidden.
Full Changelog: 2024.1.0...2024.2.0b0
2024.1.0
Happy new year!
For the first release of the year, I've introduced a number of new data sources and lots of performance improvements.
pyfuelprices 2.1
Firstly though, the underlying module (pyfuelprices) has been increased to version 2.1.5, to summarize the changes:
- Add support for Fuel Watch (Australia)
- Add support for Tanker Koenig (Germany)
- Add support for DirectLease TankerService, without OCR! (Belgium, Netherlands)
- Add support for GasBuddy (USA)
- Add support for Spritpreisrechner (Austria)
- Enable Ascona data source (UK)
- Lookup coordinates via external libraries and sources to identify country / state / postcode. This data is also used to improve performance while executing a query so we don't end up querying data sources not relevant to the coordinates provided.
- A change was made in earlier versions of this library to use KDTree's for fast geospatial searches and sorting, however it seems this isn't supported in Home Assistant so this change has been disabled until such time it can be enabled again.
- Setting recommended update interval is supported (some data sources will override this behaviour to limit the number of requests sent to their APIs. It is recommended to leave this as default (1 day). By design, the minimum update interval is every 2 hours.
- Setting timeout is supported, defaults to 10 seconds, you may need to increase this if you have a slow connection.
The library was also completely rewritten to account for the new fuel location sources as its unlikely providers will hand us all the data in one go (unlike what the CMA does in the UK currently).
ha-fuelprices 2024.1.0
Last, this version of ha-fuelprices simply adds the required dependencies for the above changes, a number of backend methods have been rewritten to account for the changes in pyfuelprices 2.0+. I've also added the ability to reconfigure the integration after it has been configured.
Full Changelog: 2023.12.1...2024.1.0
2024.1.0b2
PRERELEASE
Beta 2
- Finish OptionsFlow implementation
- Add support to set timeout and update interval
- Suppress timeout errors to log warnings to allow the integration to continue to run
Beta 1
- Remove warnings in gasbuddy when a set of coordinates are provided that are not within USA.
- Add support for Spritpreisrechner (Austria)
Happy new year!
For the first release of the year, I've introduced a number of new data sources and lots of performance improvements.
pyfuelprices 2.1
Firstly though, the underlying module (pyfuelprices) has been increased to version 2.1.5, to summarize the changes:
- Add support for Fuel Watch (Australia)
- Add support for Tanker Koenig (Germany)
- Add support for DirectLease TankerService, without OCR! (Belgium, Netherlands)
- Add support for GasBuddy (USA)
- Add support for Spritpreisrechner (Austria)
- Enable Ascona data source (UK)
- Lookup coordinates via external libraries and sources to identify country / state / postcode. This data is also used to improve performance while executing a query so we don't end up querying data sources not relevant to the coordinates provided.
- A change was made in earlier versions of this library to use KDTree's for fast geospatial searches and sorting, however it seems this isn't supported in Home Assistant so this change has been disabled until such time it can be enabled again.
The library was also completely rewritten to account for the new fuel location sources as its unlikely providers will hand us all the data in one go (unlike what the CMA does in the UK currently).
ha-fuelprices 2024.1.0
Last, this version of ha-fuelprices simply adds the required dependencies for the above changes, a number of backend methods have been rewritten to account for the changes in pyfuelprices 2.0+. I've also added the ability to reconfigure the integration after it has been configured.
Full Changelog: 2024.1.0b1...2024.1.0b2
2024.1.0b1
PRERELEASE
Beta 1
- Remove warnings in gasbuddy when a set of coordinates are provided that are not within USA.
- Add support for Spritpreisrechner (Austria)
Happy new year!
For the first release of the year, I've introduced a number of new data sources and lots of performance improvements.
pyfuelprices 2.1
Firstly though, the underlying module (pyfuelprices) has been increased to version 2.1.5, to summarize the changes:
- Add support for Fuel Watch (Australia)
- Add support for Tanker Koenig (Germany)
- Add support for DirectLease TankerService, without OCR! (Belgium, Netherlands)
- Add support for GasBuddy (USA)
- Add support for Spritpreisrechner (Austria)
- Enable Ascona data source (UK)
- Lookup coordinates via external libraries and sources to identify country / state / postcode. This data is also used to improve performance while executing a query so we don't end up querying data sources not relevant to the coordinates provided.
- A change was made in earlier versions of this library to use KDTree's for fast geospatial searches and sorting, however it seems this isn't supported in Home Assistant so this change has been disabled until such time it can be enabled again.
The library was also completely rewritten to account for the new fuel location sources as its unlikely providers will hand us all the data in one go (unlike what the CMA does in the UK currently).
ha-fuelprices 2024.1.0
Last, this version of ha-fuelprices simply adds the required dependencies for the above changes, a number of backend methods have been rewritten to account for the changes in pyfuelprices 2.0+.
Full Changelog: 2024.1.0b0...2024.1.0b2
2024.1.0b0
PRERELEASE
Happy new year!
For the first release of the year, I've introduced a number of new data sources and lots of performance improvements.
pyfuelprices 2.1
Firstly though, the underlying module (pyfuelprices) has been increased to version 2.1.5, to summarize the changes:
- Add support for Fuel Watch (Australia)
- Add support for Tanker Koenig (Germany)
- Add support for DirectLease TankerService, without OCR! (Belgium, Netherlands)
- Add support for GasBuddy (USA)
- Enable Ascona data source (UK)
- Lookup coordinates via external libraries and sources to identify country / state / postcode. This data is also used to improve performance while executing a query so we don't end up querying data sources not relevant to the coordinates provided.
- A change was made in earlier versions of this library to use KDTree's for fast geospatial searches and sorting, however it seems this isn't supported in Home Assistant so this change has been disabled until such time it can be enabled again.
The library was also completely rewritten to account for the new fuel location sources as its unlikely providers will hand us all the data in one go (unlike what the CMA does in the UK currently).
ha-fuelprices 2024.1.0
Last, this version of ha-fuelprices simply adds the required dependencies for the above changes, a number of backend methods have been rewritten to account for the changes in pyfuelprices 2.0+.
Full Changelog: 2024.1.0b0...2024.1.0b2
2023.12.1
Fixed
- Resolved issues with translations not showing
2023.12.0
First Release!
This is the first release of this integration.