Ah, I see. That is the usual suspect of ESP32 dev board.
Now I (hopefully) get what you’re doing. Your problem is rather simple, these types of ESP boards don’t need any kind of flashing dongle, they just run of the micro USB that is attached to them. Your CP2104 would be needed if you want to flash a standalone chip (without the dev board).
I would advise the way described below, if you want to flash any ESPxx dev board. If you have a standalone chip, other ways would be better, but that’s not the point here.
In your picture, choose the last possibility to manually download the *.bin to your computer. I assume that is some kind of pc/laptop, just not the Pi you are running your HA instance on.
Let ESPHome compile and in the end, it will offer you to download to your PC/laptop. Do so and safe the *.bin file somewhere. Go to Releases · esphome/esphome-flasher · GitHub and download the release for your platform (the PC/laptop, not the rPi!).
Now comes the hard part, as you might need a third hand Plug a USB cable into your dev board, open the ESPHome-flasher, wait a few seconds, choose the downloaded *.bin file, and now comes the magic…push and hold the “boot” button on your dev board while you plug in the USB cable to your PC/laptop. While still holding your “boot” button, refresh the com port in ESPHome-flasher and choose the one provided. Click “flash ESP” and watch the log that comes up. If the ESP get’s connected (takes normally one or two seconds), this is the time, when you can let the button go.
After a few seconds you will see the log expanding and then go back and deleting the lines from down to up. If all went well, ESPHome-flasher will tell you that everything is good to go. Unplug your ESP and plug it in with your normal power source.
The next time the ESP should be reachable by OTA (Over-the-air), so this is only a first run procedure with every dev board.
Why I advise this way? Normally the HA instance on the rPi is not very comfortable to use while you have to plug things in and need to hold the boot button. It is just a way to easily use your PC/laptop on a table or wherever.
Just to note: if you would want to flash the ESP dev board from the HA rPi, the same applies. The dev boards don’t need a dongle. You’d need to find out, which USB port is used for your USB cable and then push the button until everything starts.
Long text, let us know, how it turns out!