Sump pump with internal float switch