Do your other devices (phone, …) connect as before?
When you say
do you mean the Sonoff devices, or the others?
Have you tried having a Sonoff connect to the UAP - I have a similar one and it works for everything (I envy your setup I live with one AP but would love to have a bunch everywhere)
I replaced all of my Sonoff lightswitches today with Athom ESPHome switches, which all work fine.
I tried reflashing the Sonoff switches with recompiled ESPhome bins. Watching the logs, they all flash fine but just can’t connect to WiFi. the logs show all networks being detected and they create their own hotspots and I can connect to the hotspot but can’t access the 192.168.4.1 page.
It’s a real mystery.
As far as I can see, there’s no option to turn off WiFi 6 (if that is the problem).
All other devices, wired and wireless connect as normal.
ESP32 and ESP8266 devices that I have made all connect fine. It’s just the Sonoffs and a couple of Shellys.
I have 9 UAP pros and just the one WiFi6 AP.
It all started to go wrong when I tried to add the WiFi 6 AP and couldn’t. I updated the firmware on all Unifi devices and added the WiFi 6 AP. Then all of my Sonoffs (and a couple of Shellys) dropped off the network and won’t reconnect.
The solution was to reduce the TX power in ESPHome (details in the issue above) and this miraculously fixed the issue of not connecting to the WiFi and the same instable captive portal.
This can be the hard part (if this is the same problem as mine). I had this happening first suddenly between two ESPHome versions where the WiFi part was not changed in ESPHome code. I have no idea what caused the change.
In your case, since you upgraded the firmware of the APs there may have been a change in the AP’s power transmission (or anything else) and suddenly ESPHome did not like it anymore. That would be the technical explanation