the pigpio HACS add on works just fine, I just replaced my dumb RPI fan for a PWM fan and it works fine. The only thing I don’t like is you have to set it up as a light. I’m pretty sure you can set up a template fan in HA that controls it and then it would appear as a fan.