One appliance and crew from Amersham, one from Beaconsfield and one from High Wycombe attended, along with an officer.
A fire in the roof of an electricity substation, affecting a large shop, was out when they arrived.
The shop was evacuated, and the firefighters used a thermal imaging camera to check for signs of fire or heat.
The UK Power network was notified.