Flash esphome directly onto your indicator's RP2040 instead of using this. See https://devices.esphome.io/devices/seeed-sensecap/#using-co2-and-tvoc-sensors-d1s-d1pro-only
This firmware for the RP2040 of the SenseCap Indicator D1s was taken from https://github.com/Seeed-Solution/SenseCAP_Indicator_RP2040/tree/main, but extended to also provide temperature and humidity readings of the built-in SCD41 sensor and to allow configuring the altitude adjustments of the SCD41.