Analogread causing servo to misbehave

What kind of device is connected to the door bell pin? Switches are almost always digital devices. They are pressed or not.