I saw this on the news the other day. Barn swallows figure out how to trigger the motion sensor allowing them access to the University of Victoria.
Smarter than your average bird. Actually, it's of no surprise to me, everything has the ability to learn. The door clicked open for them once
probably and they went 'ah' that was easy.