Cannot adopt device or add new configuration

Unfortunately there seem to be no log entries for this. No errors at least, and I used the following in the logger: homeassistant.components.esphome: debug.


The button in the image above remains grey and I can’t add it.

image
When I try to create a new configuration it simply hangs on this screen.

Version is the newest stable release v2022.2.6, issue is at least a few weeks old. Any ideas?

core-2022.3.3
Home Assistant OS 7.4

4 Likes

Okay, I was silly. The problem was simple to fix and I caused it myself.

  1. ESPhome is an integration AND and addon. I forgot about that last part. So the logs were easy to find on the addon config page.
  2. There was a duplicate entry under wifi_passwords in the ESPhome secrets.yaml. Removing the second entry solved it immediately.

To be fair, if checks are built in to grey out the ‘adopt’ button, it would be easy to add the reason why it’s greyed out and it would improve UX. Will create an issue on GitHub when I find the time.

4 Likes

thanks for this…

Thanks, it worked

I was hours fighting this problem - Thanks for posting the solution :smiley: