Skip to content

Releases: pantherale0/ha-fuelprices

2024.3.0b0

01 Mar 14:34
Compare
Choose a tag to compare
2024.3.0b0 Pre-release
Pre-release

This release contains breaking changes

New

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

09 Feb 23:09
Compare
Choose a tag to compare
2024.2.0b1 Pre-release
Pre-release

This release contains some potentially breaking changes

New

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

02 Feb 20:42
Compare
Choose a tag to compare
2024.2.0b0 Pre-release
Pre-release

This release contains some potentially breaking changes

New:

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

14 Jan 12:51
b53ed84
Compare
Choose a tag to compare

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

10 Jan 16:05
Compare
Choose a tag to compare
2024.1.0b2 Pre-release
Pre-release

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

06 Jan 19:46
Compare
Choose a tag to compare
2024.1.0b1 Pre-release
Pre-release

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

05 Jan 23:34
Compare
Choose a tag to compare
2024.1.0b0 Pre-release
Pre-release

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

20 Dec 15:06
Compare
Choose a tag to compare

Fixed

  • Resolved issues with translations not showing

2023.12.0

20 Dec 14:19
Compare
Choose a tag to compare

First Release!

This is the first release of this integration.