erlendsellie / priceanalyzer

Priceanalyzer for Home Assistant, based on Nordpool Prices.
64 stars 5 forks source link

Two cheapest hours #31

Open paalkr opened 1 year ago

paalkr commented 1 year ago

Is your feature request related to a problem? Please describe. Sometime 5 cheapest hours is a too long periode.

Describe the solution you'd like Two cheapest hours, in addition to the existing 5 and 10 cheapest hours.

erlendsellie commented 1 year ago

Hi! Could you describe this issue? Can you provide a screenshot of a graph when this occurs, or the attributes of the senor?

This can happen in theory when mulitple hours have the exact same price. Eg, the price from 00-16 is 1 NOK, and the rest of the day is 0.3 NOK, every hour from 16-24 would be considered the "5 cheapest".

The integration picks out the 5 cheapest prices, and then checks if price is in the same or under any of those prices.

I'll try to come up with a solution for this, but i'm pretty busy at the moment, so it may take some time.

erlendsellie commented 1 year ago

Oh, i see now. Nevermind my last comment. I'll se what i can do when i get the time. :-)

paalkr commented 1 year ago

Thx