I got 4x LB smart plugs with ESP Home installed on them.
I have them connected to my wifi and HomeAssistant is controlling them. However if the plug loses power, for instance if I move it to another socket, the wifi does not reconnect and it reverts back to its own factory default wifi, so I have to connect to it again and make it rejoin my own wifi. Any ideas? Is there a way to store the wifi credentials on the plug permanently?