A method for controlling an electric device includes monitoring a usage of an electric supply of an electric network and determining that an excess capacity of the electric supply is less than a required power of the electric device. Monitoring the use of the electric supply where the monitoring of the electric supply includes filtering expected electric supply oscillations of the electric supply. Determining that the excess capacity has become greater than the required power. Waiting, in response to determining that the excess capacity has become greater than the required power, a delay time based on a usage profile of the electric supply and enabling the power of the electric device.