Hello, I just got this to work with ESPHome on a ESP32.
Se more here: PWM controlled fan with ESPhome on ESP32