ESPHome Multiple Devices

I periodically have to remove my integerations as they seem to “double up”
image

The 2 devices in question linked to the same integration

image

I have had it link up to 7 devices to a single integration.

Have you loaded the sketch to multiple esps? For example during testing. Home assistant remembers nodes even after they are deleted. In the .storage folder you will find multiple esp text files.

Look for duplicates and delete them. You will have to open the files to find out if it’s contents are a copy, not file name matches. Back up all the text of your sketches first. Go to esphome web ui, for each entry, copy all text to a new text file on your computer and save. The files in use will be the files that were most recently modified.

Digging up an old thread here.

I’m having the same issue here, I’ve been in my .storage folder and deleted all the esphome. files then restarted HA.

However the problem persists. Any help would be appreciated, thanks.

It’s been a while and I’m not sure if you figured this out or not, but you need to go to “/config/.storage/core.device_registry” and remove the entry for the duplicate device. I just ran into this issue myself after frying a board and then reloading the same config onto a new board.

1 Like