Once you figure out what type you need, remove the thermostat from the wall and find the battery compartment, replace the old ones with new ones, and return the battery compartment to the thermostat.
“It’s best not to try to replace your thermostat during a time ... “And hold on to the old thermostat. If you mess things up or can’t get the new thermostat to work, you can always reconne ...