Most of them work just like a toilet tank float. It lifts till it cuts off the water, If it won't cut off when you move it manually, it's time for a new one.

Carl