The ESP32 D1 Mini board from AZ-Delivery doesn't boot reliably when powered by an external 5V via Vcc pin.
In this video I'm explaining the reason and how to fix it.
Links:
ESP32 D1 Mini board from AZ-Delivery:
https://www.az-delivery.de/en/products/esp32-d1-mini
Mini D1 ESP32 doesn't boot with power on VCC pin:
https://github.com/esphome/issues/issues/4864
Schematic ESP32 D1 MINI
https://galopago.github.io/assets/pdf/esp32-d1-mini.pdf