Aquarium controller with a debounce on the temperature sensor

I would rather not go the count route on this one. How do I write the code so it works as you have described for the float vaj?

Do I put the currentmillis - previousmillis withing the waterlevel == high if statement?