Electric grid attack leaves thousands in the dark