Customers with energy firms including British Gas, EDF, E.On, OVO and Octopus Energy have been hit with a warning.