If you don't need dimming or fan speed control, I'd just get a Shelly 2. 5 and use it control both. If you want dimming, then you'll need a Shelly Dimmer for the lights and a Shelly 1 for the fan. AFAIK, they don't make a product that can control the fan speed. Maybe the dimmer can, but I'd check. Shelly has a very active group on FB, and the company owners and some of the developers are quite reachable through it.