Float controlled weir or valve