Termo relay on arduino i need help

Yes, in my haste to give you code, as @EmilyJane pointed out I forgot to comment out the test code. Make the changes and it should work.