STORM conditions led to the closure of a Midlothian school and power cuts to homes this week.
High winds and driving rain between Monday night and Tuesday morning led to 162 homes in Gorebridge being left without power.
The loss of electricity supplies struck at St Andrew’s Primary School in Gowkshill on Tuesday morning, prompting Midlothian Council to announce that it was being shut to pupils.
Staff were advised to attend the school to be allocated to other schools for the day.
The school re-opened on Wednesday.
A ScottishPower spokeswoman confirmed that the company had received calls about loss of power between 2-3am on Tuesday morning.
She said: ”The high winds caused damage to our overhead network and it appears that a fallen branch has knocked off one of the line breakers.
“This affected just over 100 customers, although engineers were able to reconnect most of them fairly quickly.
“ScottishPower would like to apologies to customers for any inconvenience caused by the break in supply.”
The company hoped to restore all electricity supplies by 4pm on Tuesday.
The wind and rain caused problems for commuters.
Residents and drivers were asked to take special care when travelling after the Met Office issued a yellow warning for heavy rain.
The A766 was closed in both directions between the A702 and the Silverburn junction because of subsidence, with traffic being diverted along Hopelands Road.
Gusts of up to 43mph were expected in the early afternoon, with winds dying down later in the day.
A Midlothian Council spokeswoman said: “Our teams are out clearing roads of branches and some debris.
“Two trees were blown down overnight at Vogrie Road.
“The road remains open.
“Our leisure centres and Midlothian Snowsports Centre remain open.”
Lothian and Borders Police confirmed the closure of some minor roads and localised flooding, but no major incidents.
The Scottish Environment Protection Agency issued an updated flood alert for Edinburgh and the Lothians for a 24-hour period until late Tuesday afternoon.
The agency warned of heavy, persistent rain leading to a risk of flooding from rivers, small watercourses and surface water.
Although East Lothian was identified as being most at risk, SEPA confirmed that impacts were likely to occur in the wider area throughout Tuesday.
Have you been affected by this week’s storms? Send your stories and photos to email@example.com