Aquarium controller with a debounce on the temperature sensor