I used to thank automatic doors for opening for me. It was out of politeness.