Having an implanted electrical device in my chest I turn off the mains to even change a bulb.
Thermostats, if mains powered, work on about 230 volts. Not worth the risk TBH
Most of the electrics in this house have a 30 minute time slot during which they don't need resetting if the power goes off. Over 30 mins and it's a major task to reset clocks etc.