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

Prices are offset #110

Closed Zakarumit closed 1 year ago

Zakarumit commented 1 year ago

Hello,

I have just started using this integration and when I got familiar with it, I have realized that the reported prices are offset by one hour (wrong). I am living in Czech Republic and right now the correct price should be for example 164,93 Euro/MWh, see here: https://www.ote-cr.cz/cs/kratkodobe-trhy/elektrina/denni-trh?date=2023-01-28 (That is our national grid operator website - please note that right now the correct price is in the bar named "18", because it is right now 18th hour of the day, which starts at 17:00 and ends at 18:00) The integration is now reporting current_electricity_market_price of 154,27 Euro/MWh, which is price assigned to previous hour, i.e. 16:00-17:00. Is it possible to fix this?

Zakarumit commented 1 year ago

Looks like this behaviour might have something to do with summertime/wintertime in some countries. User mekanics was trying to solve it in node red here: https://community.home-assistant.io/t/electricity-day-ahead-prices-for-home-assistant-using-node-red-and-entso-e-api/394484/41

Zakarumit commented 1 year ago

Looks like everything is fine now - I have no idea what happened, but closing the issue.