A 37-year-old man has been arrested and charged after a gun was fired at the property on Glasgow Road, Ratho Station, on September 20.
He is due to appear at Edinburgh Sheriff Court today.
Detective inspector Alan O’Brien, of Gayfield CID, said: “Following a protracted investigation a man has now been charged in connection with this incident.
“Enquiries are still ongoing to identify a second man involved in the incident, and to trace the whereabouts of the firearm used.
“I would urge anyone with information to contact Police Scotland on 101 or by reporting anonymously to Crimestoppers on 0800 555 111.”
John graduated from Telford College in 2010 with an HNC in Practical Journalism and since then he worked for the North Edinburgh News, The Southern Reporter, the Irish News Review and The Edinburgh Reporter. In addition he has been published in the Edinburgh Evening News and the Hibernian FC Programme.