sirjojo69 / ioBroker.awattar

get hourly price of aWATTAR.
MIT License
7 stars 3 forks source link

End threshold loading is one hour off #38

Open Ernie4711 opened 1 day ago

Ernie4711 commented 1 day ago

Describe the bug
The last hour of the chosen period for prices ordered is not considered. E.g. when choosing End threshold loading as 7:00, the last hour in the prives ordered is 5:00-6:00 and not 6:00-7:00. Even when choosing 7:01, 6:00-7:00 is not included, so I guess it is one hour wrong.

Versions:

Additional context
Thank you very much for providing this tool!

sirjojo69 commented 20 hours ago

did not try myself, but try with 8:00 as upper threshold if you want to have 7th hour included