Problem with gpio switches in esphome

Hi guys,
I need some advice please. I have a problem with esp32. when I disconnect it from the source and plug it in again (simulating a power outage), the GPIO switches stop switching the relay. switches are shown as available, they can be switched, but the ssr does not turn on. I have to reinstall yaml via esphome and then everything works as it should. I have the power source in good shape. I don’t know what to do with it.

Which GPIO? Could you paste your yaml with code tags?

Hi,

gpio 13,14,15, 26 and 33

but I already found solution.
in yaml code I changed this:

esp32:
board: wemos_d1_mini32
framework:
type: arduino

before it was type: esp-idf