Sarah Harrison, Ofgem's senior partner in charge of enforcement, said:
Ofgem has put in place protections for consumers so they can get a fair warning if their supplier puts up prices and time to shop around for a better deal.
E.On has accepted it failed to meet these protections. Today's announcement that E.On will compensate customers is a positive step by the company to put right their mistakes and is welcome.
More top news
A man accused of stabbing his father to death during a row over food has been arrested by police.
The UK's biggest ambulance service is to become the first in the country to be placed in special measures.
Footage of an armed burglar crawling on the floor of a couple's bedroom while they slept just feet away has been released by police.