Aquarium controller with a debounce on the temperature sensor

Yes that looks like a better way to write it. Thanks