Hello, I have made a few Conditional Functions for each stage of my irrigation system.
Now, I would like to create another function that runs the full cycle (takes about 45mins), but I would like to be able to stop the cycle when I deactivate this function.
I tried using sleep in a conditional function like so:
this seems to work but will wait for sleep to end before it deactivates.
How can I make it so it instantly breaks the loop and deactivates without waiting for sleep ? Or is there another way ? I’m afraid I don’t know python or what I’m really doing