JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

Add configuration option for calculation method #71

Closed sfstar closed 1 year ago

sfstar commented 1 year ago

Currently being tested. #59 implementation

sfstar commented 1 year ago

This is now complete and tested. I added 3 integration instances for the netherlands with each of the calculation modes selected. After which I validated that the current dataset for calculating the min/max/etc was as expected for each of the modes. Publish calculates over the data available when new data is published. Rotation updates at midnight Sliding is updated hourly (or at least checked if an update is needed hourly in case min/max hasn't been past yet.

JaccoR commented 1 year ago

Nice work! I will look into this and test this myself for a moment, then merge asap. Thanks!

sfstar commented 1 year ago

Thank you for merging :)