@saulfeldman,
I am not exactly sure what you are trying to do, but I assume you are trying to find a way to use a Z-wave switch control a ceiling fan in a circuit that previously had a standard incandescent dimmer switch. Also, I am not sure whether you are using a 3-way circuit. If you are, the solution will be a bit more complex, but it will still use the same main switches.
I was able to get the lighting in a ceiling fan to work by using a Leviton VRI06 switch. I set the parameters of the switch to always be all on or all off.
If the light in your lamp is incandescent, you should be in good shape because this will effectively eliminate dimming.
Another option, that should work, but which I have not tried with a ceiling fan, would be to use a Leviton VRS05. It is a non-dimming, Z-wave, incandescent, two-wire, relay switch. When used with an incandescent bulb, you should be good to go. If I had to start over, knowing what I know now, I would use Leviton VRS05 switch. However, I had a VRI06 switch available, so that is what I used.
If you want to use a CFL or a LED lamp in your ceiling fan after installing the new Z-wave switch, then the fun begins. I was never able to find a CFL bulb that consistently worked with either a VRI06 or a VRS05 switch. However, after an 18 month search, I discovered that an EarthLED ThetaLux Pro - 9 watt Dimmable LED Light Bulb supplied sufficient leakage current for a Leviton VRI06 switch to function. This solution should also work for a VRS05 switch.
Threre is one caveat if you use the ThetaLux Pro bulb. You may find that unless you run the fan at full speed, the LED light may flicker. This happens because the fan speed is slowed, not by lowering the voltage to the fan motor, but by modifying the wave form supplied to the motor. The motor is happy, but the LED lamp will flicker in protest. Of course, if you use an incandescent lamp as the fan light, this will not be a problem. You will also be using a lot more energy.
I hope this information is helpful. Good luck in your quest.