Name conflict same YAML/BIN on multiple devices

Hi,

It seems that a recent update has quite some Impact on the way devices are added to HA. I had one YAML file and just created a BIN file and flash my new device quickly using the online flasher. But nowadays, this is no longer accepted by HA.

Getting the following message: "Name conflict The name xxx is already being used by another device: xxx (MAC address: xxx)

To continue, please choose one of the following options:

Migrate configuration to new device: If this is a replacement, migrate the existing settings to the new device (xxx). Overwrite the existing configuration: If this is not a replacement, delete the old configuration for xxx and use the new device instead."

Anyone having the same issue or a way to fix this with keeping one YAML? Why this change when it worked perfect. Never had an issue with filtering based on MAC.

Thanks.

1 Like

Hello,

yes, i have the same issue. I wanted to integrate my new ultimatesensors mini, but i get the same “error” message like you if one is already connected…

That’s rly annoying, because now i cant do anything with them - well except with one…yay…

1 Like

Someone gave me the solution for this issue. Here it is:

Add name_add_mac_suffix: true to your yaml under esphome:

ESPHome Core Configuration — ESPHome

I tested it and works great again. Case closed.

See my other reply. You can keep using the same BIN file with multiple devices. It just adds part of the MAC to the device name during flashing.