The deal was reached at 2 a.m. Wednesday after talks with energy company Entergy were put on hold over the weekend.