An automatic transfer switch will automatically detect a loss of main power and switch to generator power, unlike a manual transfer switch. Some regions mandate that all generator use happens via a transfer switch for safety reasons, and while it’s a big investment, it’ll give you peace of mind.