In my experience, the plugs do this if they can’t connect to WiFi. Not ideal from a security perspective. I disable this revert to AP function under the wifi section in yaml with:
wifi:
ap:
ap_timeout: 0s
I don’t know why your plug isn’t connecting to wifi, can you move closer to an AP and or reconnect it? I’d also disable wifi power saving, which caused me a ton of pain when I first got a plug.
Power saving can be disabled i yaml underr wifi with:
wifi:
power_save_mode: none
Cheers