Two of my ESPHome devices show very strange behavior. Since I had problems with them, I removed them from Home Assistant and wanted to set them up again. Now the following always happens:
I add the first device. It is added correctly. In my case, it is a device with the IP *.205 and the name “Ulanzi Wohnzimmer”. The device has 8 entities.
I add the second device (IP *.147, name “Ulanzi Schlafzimmer”). Sometimes I get the message that the device has already been added. The device does not appear in the list. However, the first device is given more entities. If you look at the list, you will see a mix of entities from the first and second device.
Here is a video of the situation:
I have already tried in various ways to remove both devices, add them again, change their host names, change API passwords… none of it helped. Does anyone have any ideas?
It first occurred after I came back from a longer vacation where the devices were turned off and I had updated ESPHome and HA to the latest versions
Try this with your file editor go to the esphome folder in your config folder. There you will find a yaml file and a folder with the name of the node. Leave the file alone but rename the folder by adding .old to the name.
For the next part you will need access to your media folder, use the samba share addon if you haven’t set this up. Navigate to where you can see the media folder and you will also see your config folder. Open the config folder and you will see a folder named .storage. You’ll need show hidden/system files enabled in windows.
In that folder you will find files that start with esphome followed by a series of letters and numbers. Open those files with a file editor. You are looking for a file that matches the config file for 2 problem nodes. It will be in a json format and not yaml but you will see the sensors and names from the config file. Rename and add .old to the file name for both.
Thank you very much for your input. I tried the steps you mentioned without success. I now downgraded my ESPHome Addon to 2024.9.2 which instantly solved my problem after recompiling and reinstalling the devices. This clearly is a problem/bug of ESPHome 2024.10.0.