Aquarium controller with a debounce on the temperature sensor

JayMan:
Yes thanks everyone, I didn't understand it at first but I do now. It is definitely the way to go for the temp sensor.

How do I handle the float? Is what I have posted for timing the checking of the float state appropriate or is there another way to handle the float?

It depends on what your aim is. How do you want the pump to behave, exactly?