The float switch is a control, not a disconnecting means. This is a common configuration and should present no problems.