An automatic changeover switch has the ability to detect when a fault or restore occurs on the primary source and automatically switch between the two sources as needed. Transfer switch detects a power failure and automatically commands the generator to turn on.