Having been having problems with the rain sensor not working as well as it used to, I had a look and traced it back to the fact that the wipers had become worn and were not clearing the screen very well around the sensor.
After spending the princely sum of £38 to get a couple of new wipers...