Gallagher's Automatic Transfer Switch provides an error-free switch from mains voltage to battery/inverter voltage in an i-Series configuration.
Gallagher i Series Automatic Transfer Switch