In July, the company came to an agreement with the New York State Attorney General to limit its price hikes during storms, in order to comply with a state law passed in 1979 that prohibits price gouging during natural disasters, storms, military actions or other events that disrupt markets.