another handy tip:
After knocking my Tunze wave controller into a half-filled bucked while still plugged in, it started to freak out (leds flickering, not remaining on etc)
I took out all the screws, shook out all the water I could and still the problems persisted.
repeated and placed it in a ziplock bag with dry rice and sealed it up. Left it overnight and works perfectly this morning! (the rice absorbs the moisture in the bag)
Generally I would recommend 24-72 hours just to be sure