Federal deregulation allows retailers to buy gas and electricity from public utilities for resale to homeowners.