Aquarium controller with a debounce on the temperature sensor

It usually makes more sense to use hysteresis (a dead zone) with a thermostat, rather than delays.