How do I connect the XIAO ESP32-C6 to the Adafruit SCD41? (I²C not detected) (For Home Assistant)

#include <Wire.h>

void setup() {

  Serial.begin(115200);
  while(!Serial);
  Serial.println("I2C Scanner initialization");
  Wire.begin();
  Wire.setClock(100000UL);
  Serial.println("I2C Scanner");
}


void loop() {
  byte error, address;
  int nDevices;
  nDevices = 0;

 
  Serial.println("I2C1 Scanning..."); 
  for(address = 1; address < 127; address++) {
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
    
    if (error == 0) {
      Serial.print("I2C1 device found at address 0x");
      if (address < 16) 
        Serial.print("0");
      Serial.println(address, HEX);

      nDevices++;
    }
    else if (error == 4) {
      Serial.print("Unknown error at address 0x");
      if (address < 16) 
        Serial.print("0");
      Serial.println(address, HEX);
    }    
  }
  if (nDevices == 0)
    Serial.println("No I2C1 devices found");
  else
    Serial.println("I2C1 done");
    Serial.println("");
    delay(1000);  
}

Try this sketch.