I made a wiring diagram of an automatic changeover switch with Edrawmax software.
This automatic changeover switch is useful in the time of emergency, as the light is on now and after some time the light turns off, but we need the light very much, at that time this automatic changeover switch turns on the light from the backup supply. Will give, this drawing is called emergency light circuit