This comparison will help you make the right choice when planning an ESPHome air quality sensor by taking a look at the supported particulate sensors.

How does the DHT11 hold up against the DHT22 and BME280 for ESPHome projects?