I've been using a SONOFF Zigbee hose timer for one season. It has worked great so far.
I'm using it with this driver: [RELEASE] Tuya Zigbee Valve driver (w/ healthStatus)
I'm using this app to control when I run the spinkler: [Release] Sprinkler Schedule Manager App
The timer hardware has a built-in 'auto-off' that the above driver lets you set. Or you can juse use the app.
I have another one that I've set up for use later this year, but not yet used. E.g., I've paired it, set up the app, but I've not had it outside in use yet. It has 2 independent valves. It seems about equivalent to the SONOFF in build quality. US$46 Amazon.com: Haozee Zigbee Sprinkler Timer 2 Zone,Smart Water Timer for Garden Hose, Requires Zigbee 3.0 Hub,Support Home Assistant Zigbee2mqtt, Rain Delay and Manual Watering, Leakproof for Yard Lawn Watering : Patio, Lawn & Garden