Floats for actuation of valves or other apparatus