Thanks for all the replies so far. The problem seems to have gone away by itself, which is strange given the fact that darkness, rain and lack of time have prevented me from properly doing anything about it. Since last Thursday the light has behaved itself and only turns on when I want it to. Obviously I'm expecting it to rear its ugly head again at some point as these things always happen for a reason!