Once you have removed the sensor, gently rub the metal rod with a very light grit sandpaper. You aren't sanding down an auto body here, just ridding the sensor of any build up. Dust left behind by the sanding can be wiped off with a clean paper towel.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.