We went for something a bit more abstracted for Enviro Grow (setting a moisture percentage and getting the pulses of water to scale for how much water is required) as wrangling wet points / dry points was something of an unnecessarily complicated, recurring bug bear.
If you wanted to adjust the code to be more like how the Grow Python library works there’s no reason you couldn’t do that though - the code that triggers the pumps is here: