The optic was replaced again in 1987 when the light was automated and its colour changed from red to white, emitting one white flash every ten seconds; it had an intensity of 340,000 candela and a range of 24 nautical miles .