You’ll have to use a DTH specifically designed for that device.
First rule of Home automation: “The model number matters.”
For the fan switch, see the following thread. Look near the end for the newest updates.
[BETA] GE 14287 Z-Wave Plus 3-Speed Fan Control With Double Tap