Thermostat wire for gas fireplace
My gas fireplace has a switch on the side of it to turn it on and off. What I want to do is run a wire from it to a programmable thermostat. I have 2 questions for this: What type (size) of wire do I need, and how do I connect it to the fireplace to replace the switch? Do I just connect it to the 2 wires that the current switch is attached to, or does it come off the burner unit itself?