. Found the condensation drain line was clogged.and setting the evaporator coil safety float switch off. When this happens it shuts the power off to the thermostats. This is why you continuously goes to factory setting. Thermostats do not have battery back up. Blew out drain line and clean drain line. Showed customer where to put tablets at to keep drain line clean.