Entity is currently unavailable after changing router

I just migrated my home network from the Unifi security gateway to the Dream machine Pro. All ESPhome devices stopped working.

They are showing green status but not getting any data.


If I delete the integration and add it again, will work for a few hours then to “Entity is currently unavailable” state.

Main LAN
IoT Network :

Added firewall rules to allow IoT Network to talk to without restriction.

What happens when you click on the LOGS link for your EspHome nodes? What do you get?

I can click and view logs without any problem . Even after a lot of troubleshooting, I wasn’t able to fix it. I switched to MQTT protocol and everything is working now.
Might problem with UDM Pro mdns.