Hi, @logandevore041
Welcome to the forum.
Please read the post at the start of any forum , entitled "How to use this Forum".
This will help with advice on how to present your code and problems.
We need to see your code.
We need to see a link to data/specs of your water sensor.
We need to see a link to data/specs of your solenoid.
We need to see a circuit diagram of your project.
Sorry for all the requirements, but it will help us provide you with the best solution.
Thanks.. Tom...