Fixed price display for 25hr days

This commit is contained in:
Gunnar Skjold
2023-10-29 09:47:58 +01:00
parent a6d8857655
commit 206c90ca46
4 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ float EntsoeApi::getValueForHour(time_t ts, int8_t hour) {
breakTime(tz->toLocal(ts), tm);
hoursToday++;
}
if(pos >= 48)
if(pos > 49)
return ENTSOE_NO_VALUE;
float value = ENTSOE_NO_VALUE;