Around 400 properties in the Dunbar area were left without power after a fire at electricity substation on Saturday.
Firefighters from Dunbar and East Linton were alerted to the incident about 10.30am and requested that the high voltage team from Scottish Power attend.
The substation is located at Kellie Road, in an open area next to trees at the roundabout near the Asda supermarket.
A spokeswoman for Lothian and Borders Fire and Rescue Service said the fire put itself out and the fire crews stayed until the arrival of Scottish Power representatives.
A Scottish Power spokesperson explained that 400 customers were off supply from 11.20am and power was restored in various stages, with the last few properties coming on stream at 1pm.
She said: “The fire service alerted us to smoke coming from our substation at Kellie Road. The smoke was due to blown fuses at the cable end box feeding into the substation. Unfortunately, this resulted in some customers going off supply for a period of time. We apologise for any inconvenience this matter caused.”
A spokesman for Asda commented: “We were affected but there was very little disruption to us.”