Last status after reconnection of the basic sonoff

Hello,
how can I set up my Sonoff Basic with Tasmota firmware to let him resume the last state in case of disconnection from the wifi?