Deemar,
Brian brings up good point which made one of my remaining neurons fire.
Turning off master breaker for house and checking fireplace operation *should* tell you if fireplace is getting 120V from somewhere.
Also if you pull the plate off the switch and carefully slip the switch out of the wall box, if it is low voltage from fireplace like a UM506 can control, I would expect to see very small gauge wires like you would find on your HVAC thermostat or like telephone wiring in the walls. 24 gauge
IF however you find large gauge wire like normal power wires (14 or 12 gauge), then the switch may be controlling 120V and you do not want to use a UM506 for that!