Skip to content

v0.2.0

Compare
Choose a tag to compare
@JaccoR JaccoR released this 14 Nov 17:35
· 107 commits to main since this release
8b5bac2

This update includes some bug fixes and an important update for advanced users:
This changes the calculated (min,max,avg values) entities behaviour to one of:

  • Sliding The min/max/etc entities will get updated every hour with only upcoming data. This means that the min price returned at 13:00 will be the lowest price in the future (as available from that point in time). Regardless of past hours that might have had a lower price (this is most useful if you want to be able to schedule loads as soon and cheap as possible)

  • Default (on publish) The min/max/etc entities will get updated once new data becomes available. This means that the min price will update once the next days pricing becomes available (usually between 12:00 and 15:00) It also means that until the next days pricing becomes available the latest 48h of available data will be used to calculate a min price

  • Rotation The min/max/etc entities will get updated at midnight. This means that the min price returned at 23:59 will be based on the day x price while at 00:00 the day x+1 price will be the only one used in the calculations) day x in this case is a random date like 2022-10-10 and day x+1 2022-10-11

What's Changed

  • Add configuration option for calculation method by @sfstar in #71

Full Changelog: v0.1.3...v0.2.0