i need some help with a time statement. what im trying to do is to set my solenoid vavle to turn on after my autofeeder turns off. so defer 1 min and then i want it to be on for 10 sec flush my lines with fresh water then to turn off.

autofeeder
turns on at 13:00 to 13:10

valve
if outlet autofeed on then on
defer 001:00
how do i make it turn off after 10 sec with this codeing?

or
if time 13:10 to 13:11 then on
defer 000:10 then off