ESP32 Nextion - Reconnect to HA after power loss

Hello all,

I’ve set up a nextion panel with a esp32 that communicates with home assistant very well apart from the fact that after power loss; the panel loses connectivity with home assistant and i have to run back on to VScode to push the yaml config back over to the the esp32.

Was hoping someone out there would know how to help.

Thanks and be well.

Are you saying you have to recompile after a power cut?

Yes I do,
thanks.