Low voltage 3 wire fireplace need to hook up to zwave switch

You need to use a “custom device type” the code is in one of the posts above.

Here is a good FAQ on how to actually do it.

With any automations for a fireplace, please make sure you are still in compliance with your local fire / building code. (Or you decide not to)