Swimming Pool Water Level Sensor

The $1.50 float switches you see on Ebay work great. Just put them in a (leaky) box so they don't get destroyed by the UV in sunlight.