Control ESP32 /Tasmota/ using PWM

I want to use my ESP32, in which I have a Tasmota FW, to control the fan, the LED strip (monochromatic) and the heater using a PWM signal. I assigned GPIO pins to individual devices and manual control from HA works correctly. But I really don’t know the action by which I will dim or light up the LED strip for 20 minutes from a value in the interval of 20% - 100% power. Can you please help me with this? Well thank you.