Error while try to program ESP32-C3 Supermini -> ESPHome Builder

When i try to install a code on ESP32-C3 Supermini via ESPHome Builder i newly get an error message

Before i used Web ESPHome to prepare the ESP for the first use.

Result

and

Any ideas?

Use USB cable to flash.

First use is always USB.

The ESP is connected via USB… i think there is a problem with compiling → see yellow error message at the first picture.
Two days ago i was able to program that ESP

Can you show your yaml?

esphome:
  name: pv-batterieuberwachung
  friendly_name: PV BatterieĂĽberwachung

esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "7hTywEVPDHwmlssu7jYVIcO/7pS5B9Pf+2i4Je8uKPM="

ota:
  - platform: esphome
    password: "0235dbe8c36019cec455e3f539957e87"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Pv-Batterieuberwachung"
    password: "PNl8pTc4TMGv"

captive_portal:

You have wrong board.
Try with:
board: esp32-c3-devkitm-1

1 Like

Now everything is working again. I reinstalled HA and restored the previously created backup. Didn’t work at first either.
Saw something about “platformio” in a log. Then I remembered that I had installed VSCode with the platformio extension. After I deleted the program and the extension, everything was ok again.

With this?