Issue with zeroconf setup, now sonoff devices are unavailable

I noticed my sonoff devices are unavailable, AD2PI is not working either. and also alexa notifications stopped. The sonoff devices are all working with the ewelink app. I did not do anything to cause this myself, It was working fine , then a few days later it is not. I tried to go back to a previous snapshot when I know everything was working, but that did not fix it. I then upgraded to the version of 2021.1.4 , nothing changed . I assume it is because of zeroconf not working. I added a seperate line in conifguration yamp to add it. No change.

This is the messages I received.

Setup failed for sonoff: Could not set up all dependencies.

1:10:02 PM – setup.py (ERROR) - message first occurred at 1:09:20 PM and shows up 2 times

Unable to set up dependencies of sonoff. Setup failed for dependencies: zeroconf

1:10:02 PM – setup.py (ERROR) - message first occurred at 1:09:20 PM and shows up 2 times

Error during setup of component zeroconf

1:09:52 PM – components/zeroconf/init.py (ERROR) - message first occurred at 1:09:20 PM and shows up 2 times

I was able to fix this by adding a line to the configuration.yaml file. I had already added the zeroconf but that did not fix it. Only after I added the second part of default_interface: true did it work again.

zeroconf:
  default_interface: true
1 Like