Devices suddenly show offline, but they are online

Anyone know what might cause this? Devices are definitely online, I can visit the web interface of each one. ESPHome thinks they are offline for some reason. I didn’t change any configs. All my devices use the .lan suffix for local name resolution.

So far I’ve tried restarting ESPHome but it didn’t resolve the issue.

I tried “Ping for status” set to on, then set to off. The devices became visible for about 30 seconds and then showed offline again with ping status off. Very puzzling. This was working fine for several months prior to today.

Use ping status on.

I kept ping status on (this is what it was before). My VM needed a reboot for some reason, I suppose the mDNS bits got stuck somehow. All’s well again.