Entity IDs keep resetting

I’m using a few Xiaomi temp/humidity sensors. I bring them into HA via the Tasmota integration; Tasmota 9.2.0.4 running on ESP32. So the ESP32 becomes the BLE gateway.

All works initially. I change the entity IDs in Configuration | Entities according to my naming model and add them to lovelace. Recently I had to restart the ESP32 and noticed that the Entity IDs have reset to the value they were when they first were added to HA. I change the entity IDs and try the same. Sometimes they reset, sometimes it’s ok.

One aspect that may come into the picture here is I have 3 ESP32s around the home to create full BLE coverage around the home as I have the Xiaomis around the house. There are overlaps in coverage and so the same sensor may be picked up by more than one ESP32s.

Any idea why these entity IDs keep resetting?

Did it happen to all or just a couple? Could it be that the sensor was picked up by the other ESP? No experience with Tasmota BT, but can’t you disable pairing once it’s all setup?

Just a couple and related to BLE devices. For BLE there’s no pairing involved. With the right configuration the ESP32 listens for messages from Bluetooth devices in range which then can be picked up in Home Assistant as entities in the sensor domain (using the Tasmota integration). Quite elegant.

Here’s the reference on Tasmota (Bluetooth - Tasmota)

I would say that’s quite the opposite as you now have no control over which ESP creates the entity in HA…