niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
523 stars 66 forks source link

Entity ID Conflict of two gateway #301

Open Lunmingpei opened 2 months ago

Lunmingpei commented 2 months ago
Lunmingpei commented 2 months ago

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

JCalvi commented 1 month ago

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