A simple solution is to build bat houses. Yes, really. Then they don't need to seek shelter in an awkward place like a human house, and you still receive the benefit of their presence which is their voracious appetite for mosquitos and other flying bugs.