Automatic doors were fixed to a campus underground car park where swallows nested, within days the birds had figured out how to activate the motion sensors to open the doors to let them in and out!
We had swallows in our garage in spain and we had a covered stored car that rarely moved. When we took it out to clean and service the birds became confused and sat in the trees waiting until the car was replaced.
Every year when they swallows arrived back from Africa they would fly under the roof of the balcony where we would sit and have our evening glass of wine and out the other side to tell us they were back. When they left again before the winter, they would do the same to say goodbye.