Platform xiaomi_aqara does not generate unique IDs. ID Battery

I am getting those errors for aqara motion sensors, only for battery sensor for each device. I’ve got only one xiaomi gateway (I found topics with similar error but 2 gateways). Why is that happening and how can I solve this?

* Platform xiaomi_aqara does not generate unique IDs. ID Battery158d0009a2453e already exists - ignoring sensor.battery_sensor_to
* Platform xiaomi_aqara does not generate unique IDs. ID Battery158d00064c9f52 already exists - ignoring sensor.battery_sensor_en
* Platform xiaomi_aqara does not generate unique IDs. ID Battery158d0007f1d53d already exists - ignoring sensor.battery_sensor_ki
* Platform xiaomi_aqara does not generate unique IDs. ID Battery158d00082jzd31 already exists - ignoring sensor.battery_sensor_ha

Hi,
i have the same problem…

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d000224fcda already exists - ignoring sensor.battery_158d000224fcda

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d0002abb318 already exists - ignoring sensor.battery_158d0002abb318

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d000237aa7e already exists - ignoring sensor.battery_158d000237aa7e

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d00023759fc already exists - ignoring sensor.battery_158d00023759fc

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d0002753e8b already exists - ignoring sensor.battery_158d0002753e8b

2020-08-18 01:29:26 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d000224fc4f already exists - ignoring sensor.battery_158d000224fc4f

Hi,
me too…

2020-08-18 00:34:55 ERROR (MainThread) [homeassistant.components.sensor] Platform xiaomi_aqara does not generate unique IDs. ID Battery158d00044d155d already exists - ignoring sensor.battery_aqara_ms.

only one xiaomi gateway
i got this error since 0.114

Hmm then it must be a bug …

Same here.
“Platform xiaomi_aqara does not generate unique IDs.”

1 Like

Same for me.

Platform xiaomi_aqara does not generate unique IDs. ID Battery158d00016dab6a already exists - ignoring

It’s weird because I’ve got three sensors on the gateway and the problem is reported on only one.

I’m seeing the same issue. I’m on 0.114.2

0.114.3 the problem is always the same

I wonder if this is because the Xiaomi battery sensors are automatically generated now? They didn’t used to be auto generated and the user had to create template sensors.

Same error after update from “0.111.4” to “0.114.3”

I don’t have created template sensors and still having this error. So I think it’s something else.

Few weeks passed, still have the error, any not official solution yet?

If you gave more then one gateway, this means this device was once paired with one gateway and then with the other. Even in in MiHome device is not listed in GW1, and only with GW2, there the GW1 still remembers it.

1 Like

thanks, I think this make senses, my xiaomi device has been paired with different gareways.