Statistic graph wiith History stats

Hello
I have got helper history stats, that counts how long my PC is turned ON.
Condition for start is:

{{ now().replace(hour=0, minute=0, second=0) }}

Condition for end:

{{ now() }}

here is a plot form this:

I have added automatization, that everyday at 00:00:00 this history stat should be updated, thats the reason why there is a point today at 00:00:00, but for some reason i see that at 00:00:00 is also previous value when i chose current day to show.

My problem is when i want to use statictic graph with max values to plot how long each day PC was trun on it shows wrong data.
Today My PC was not trun on for 5mins form 8:00 to 8:05, but statistic graph shows 12hrs (its max value from day before), how to fix it?

Similar topic is here:
but it looks like issue was not solved.
https://community.home-assistant.io/t/history-statistic-sensor-max-value-is-same-as-previous-day-if-today-is-lower-than-yesterday/