Yes, the last settings are saved in the case of a power outage or the turning off via a switch.