Ubiquiti Unifi mDNS Auto Discover Issue
**If mDNS is unchecked then Home Assistant and ESPHome will not auto discover new devices. Also, if you have different networks that Home Assistant and ESPHome devices are on, then you will need mDNS on both networks and firewall rules between them. (Thank you to the Ubiquiti Discord member Blue!) Below are guides for using your PC and the Unifi Network mobile app to fix this issue.
Quick Guide**
- Settings > Network > Multicast Settings > Select the networks you want mDNS/IGMP Snooping on
(Thank you to the Ubiquiti Discord member MK!)
Steps for PC
1. Log into your Unifi network through your default IP address which is usually 192.168.1.1
2. Select Network
3. Select Settings
4. Select Networks
5. Select the Default Network
6. Check Multicast DNS
7. Now the Home Assistant/ESPHome auto-discover issue should be fixed!
8. If this does not work then you can also try checking IGMP Snooping (checkbox above Multicast DNS) on your IoT networks.
Steps for the Unifi Network Mobile App
1. Open the Unifi Network app
2. Tap Settings/Gear Icon
3. Tap Networks
4. Tap Default Network
5. Tap the Multicast DNS slider
6. Now the Home Assistant/ESPHome auto-discover issue should be fixed!