Statistics / History Stats - Setting specific rollover time

Australia’s weather data from the bureau of meterology runs 9am to 9am - is it possible to set the statistics or history statistics sensors to rollover on a daily basis at 9am?

Checkout the custom average component… that works really well for that kind of thing.

1 Like

interesting, thanks!

If you did want to use a history stats sensor for this (though I can’t think of how), simply set the period to this:

end: "{{ now().replace(hour=9).replace(minute=0).replace(second=0) }}"
duration:
  hours: 24

The duration for this would be from 9am yesterday to 9am today.