What’s the Purpose of That Little White Device on the Traffic Light Pole?

What’s the Purpose of That Little White Device on the Traffic Light Pole?