You might want to grab a capacitive soil moisture sensor btw because those two pin ones almost always corrode after some time, especially with more power going through them
Thank you for the suggestions. I have noticed some corrosion. I will look into getting the capacitive moisture sensor .
Indeed they are not meant to be powered all the time - only for brief moments when taking a reading. Unless your purpose is to electrolyze your garden.