Both Home Assistant and the ESPHome dashboard use mDNS to identify the IP address of all ESPHome nodes on the network. If mDNS is disabled, they will no longer be able to automatically find your devices. It may be necessary to use a static IP for all nodes and to enable the ping option in the Home Assistant add-on.
————————————————————————————————
dashboard是通过mdns像局域网发请求的,mdns一般只能在同一个局域网里工作,你看看是不在在一个子网里