This seems to work. I have a loop turning on for 5 mins and off for 2 (to allow water to soak in). This is because when you turn valve on it automatically turns off after 10 minutes so I bounce the valve (turn off and on again) between each loop so this does not happen.
If you want something to run for a long time (more than a couple of minutes) do as @fleskefjes suggested or generate a timer helper and trigger off of that.
Delays can be interrupted and will not come back messing up what you expect. The longer the delay runs, the more likely it will be messed up.
Opposite to that timers can be set-up to survive that. Triggers will happen when the event happens so also good.
Thanks for that, ime trying something and if it does not work will give this a go. I thing on and off works but will only stay on for 10 minutes so ime going to do a loop of 5 minutes (4=20 mins) to see if that works. Will turn off for a few seconds at the ned of each loop. fingers crossed.
Think it that after it turns on it will automatically turns off in 10 minutes so I am planning on bouncing it every 5 min, i may of misunderstood but not sure if a times will help for this.
May you try to change the “Manual default settings” of the SWV directly via z2mqtt. There is the default value for “Irrigation total duration” set to 10min. May this causes your issues?