How do I convert my fireplace switch into a thermostat switch?
@JonathanReez if you find out that your fireplace is  millivolt controlled as @ThreePhaseEel says make sure that you purchase a thermostat rated for millivolt service. (it may make a difference).