A major crisis had been "averted" because of Tamil Nadu Chief Minister J Jayalalithaa's "prior planning and vision", electricity minister Natham Vishwanathan said, as the government sought to explain the Chennai rains crisis that stirred widespread anger among residents.