As it's just a float attached to a hinge, the liquid type shouldn't matter. There are loads of liquid level sensors of course (60+ options here at http://uk.mouser.com/Sensors/Liquid-Level-Sensors/_/N-zqig/) but as you suggested doing it as a cheap DIY job, I thought a float+hinge+pot was the most simple answer!