AqaraGateway icon indicating copy to clipboard operation
AqaraGateway copied to clipboard

Entity ID Conflict of two gateway

Open Lunmingpei opened this issue 1 year ago • 2 comments

  • I use Aqara M2 2022 and Aqara AC Controller P3 at the same time. Both of them use the latest firmware. But when I add them to this intergration, they share the same ID :

  • aqara_gateway.0x54ef441000xxxxxx_alarm and alarm_control_panel.0x54ef441000xxxxxx_alarm image

  • remote.0x54ef44100079707a_pair and nothing image

  • Strangely, I cannot see anything about AC Controller P3 in this page. image

  • M2 works normally. image

  • This is the system log about conflict problem. image image

Lunmingpei avatar Sep 22 '24 17:09 Lunmingpei

I tried to remove the database, even reinstall HAOS from the latest official image to cleanup every possible traces , but the problem still exists.

Lunmingpei avatar Sep 22 '24 17:09 Lunmingpei

I had one of these. Deleted it via this method: https://community.home-assistant.io/t/how-to-remove-entities-without-a-unique-id-where-are-they/428405/24?u=jc_rfc

eg:

Get get long lived access token (replace $TOKEN below), Open HAOS Terminal, and execute...

curl -X DELETE -H "Authorization: Bearer $TOKEN" http://yourhomeassisturl:8123/api/states/aqara_gateway.0x54xxxxxxx_alarm

JCalvi avatar Oct 02 '24 01:10 JCalvi