Entity ID Conflict of two gateway
-
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
-
remote.0x54ef44100079707a_pair and nothing
-
Strangely, I cannot see anything about AC Controller P3 in this page.
-
M2 works normally.
-
This is the system log about conflict problem.
I tried to remove the database, even reinstall HAOS from the latest official image to cleanup every possible traces , but the problem still exists.
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