Home Assistant stops counting an extra day in multi-day energy totals when the browser and home server use different timezones. A browser ahead of the server could include the day before the selected range; one behind could include the day after it.
Petar Petrov aligns daily and monthly energy requests with the home server’s calendar. A companion correction keeps the chosen dates and times in place in Energy, History and Logbook when the profile uses the server timezone.