Valve opener timer?

I am totally new to SmartThings and automation, I recently installed the Dome Valve opener to be able to fill my swimming pool.
Instead of forgetting I turned the valve on and wasting water, how can I set this as like a count down timer or set to be open then close for a certain amount of time??