A device like this one might work in your situation.
I couldn’t wait any longer for Home Depot to release the Hampton Bay Universal Ceiling Fan/Light Premier Remote Control model#99432 that will sell for $49. And the bottom line is I am glad I didn’t, the SmartThing community finally has a working solution for a single combo device that easily fits under the fan cowl for both 4-speed fan control and light dimming control! Kudos to @ranga for his work on the custom device handler to make it possible for SmartThing users.
Ordering
Instead I ended up ordering the repair parts for $72 including shipping for the Home Decorators Collection Gardinier 52" LED Brushed Nickel Ceiling Fan that has a very similar controller that is also Wink enabled which @Ranga has an alpha version of the necessary custom device handler written and available for dow…
But as @anon36505037 said, it would help to understand how your fan/light is wired now. Do you have a wireless receiver module in your fan canopy that gives you independent control of fan and lights with a remote?