As you haven't given any information it is hard to comment, but, a thermostat is just an automatic switch that probably has a probe of some sort to pick up the temp of the soil, the thermostat if it has two connections should be in the live side of the supply to the element, if it has four connections then probably both the live and neutral will go through it.
Hope this is a little bit of help to you
Alan