A peacock has been keeping residents in a West Yorkshire village awake at night with constant squawking.