Unless your smart thermostat has a battery backup, it will stop working if your power goes out. However, it stores all the pertinent information — such as your heating and cooling preferences and your Wi-Fi — so that you don't have to reset everything when your power comes back on.