The previous configuration used uELKO/esphome_external_components, which no longer compiles because ESPHome 2026.7 removed an API it depended on.
The updated configuration:
- Uses ESPHome's built-in
sen6xcomponent. - Correctly treats PM1, PM2.5, PM4 and PM10 as cumulative values.
- Removes the custom PM10 sum and unreliable custom IAQ calculation.
- Keeps TVOC and CAQI explicitly labelled as estimates.
- Stores API and OTA credentials in
secrets.yaml.
Tested successfully with ESPHome 2026.7.3 on a Seeed XIAO ESP32-C6 and Sensirion SEN66.
The
-4.5 °Ctemperature offset and+12%humidity offset in the configuration are specific to our enclosure and should be recalibrated for another build.