Water valve on/off control

Need some help! I need to know what to buy. I need to control water flow with an electric water valve to open when the water temp reaches 65 degrees and shut off at 55 degrees. From the valve, thermometer, etc., what do I need to buy and how can I wire it? I know it’s the same concept as a HAVAC thermostat in your home, but I don’t know how to wire it to a relay for the valve.