More than 1,200 homes were evacuated while emergency services assessed the device and determined the best course of action.