Create Water Year Rainfall Sensor from Total Rainfall

I have a Vevor Weather Station that provides total cumulative rainfall. I used a Utility Meter helper to create daily and monthly rainfall sensors. The water year at my location is October - May. I don't believe I can use the Yearly reset cycle with the Utility Meter helper. Any ideas on how I could create a sensor that tracks rainfall total from October - May?

Just use a non cycle utility meter and run an automation to reset using utility_meter.calibrate with reset velue as 0. I use this for rainfall to reset at 9am which matches what Australian BOM reports.

The utility meter can take a cron expression:

cron string Required

This option is mutually exclusive of cycle and offset. It provides an advanced method of defining when should the counter be reset. It follows common crontab syntax but extended to support more advanced scheduling. See the croniter library.

Daily:

0 0 * 10-12,1-5 *

Monthly:

0 0 1 10-12,1-5 *