Actually, at least, some of the lighthouses remained operational during the war. I'm not sure if they did go off at certain times like with the approach of an air raid. The lighthouses were of more use to British shipping than Kriegsmarine units. Elcos and Schnellboats used bouys and other aids to navigation as ambush points against each other.