Kodi Config overwriting each other

Hello,

I have three Kodi boxes at home. I use the Kodi integration and all three boxes are visible in Home Assistant.

The last months I noticed that sometimes the boxes show the same on the dashboard and today I digged a bit more into this. Deleted all three boxes from HA and put them back into HA. Again, the same thing. Box 1 shows the same as box 2.

I did a search on the file system as well and noticed the following in core.config_entries:

{"created_at":"2026-03-28T17:40:28.754857+00:00","data":{"host":"192.168.0.25","name":"LibreELEC-2","password":"xxx","port":80,"ssl":false,"timeout":5,"username":"kodi","ws_port":9090},"disabled_by":null,"discovery_keys":{"zeroconf":[{"domain":"zeroconf","key":["_xbmc-jsonrpc-h._tcp.local.","LibreELEC-1 jsonrpc-http._xbmc-jsonrpc-h._tcp.local."],"version":1},{"domain":"zeroconf","key":["_xbmc-jsonrpc-h._tcp.local.","LibreELEC-2 jsonrpc-http._xbmc-jsonrpc-h._tcp.local."],"version":1},{"domain":"zeroconf","key":["_xbmc-jsonrpc-h._tcp.local.","LibreELEC-3 jsonrpc-http._xbmc-jsonrpc-h._tcp.local."],"version":1}]},"domain":"kodi","entry_id":"01KMTRGXEJ5TEV7TX2VW4Z8R3G","minor_version":1,"modified_at":"2026-03-28T20:14:27.876772+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"zeroconf","subentries":[],"title":"LibreELEC-1","unique_id":"65e7614c-538b-493d-a0f8-a1f4b69b93e6","version":1},
{"created_at":"2026-03-28T17:41:24.437055+00:00","data":{"host":"192.168.0.25","name":"LibreELEC-2","password":"xxx","port":80,"ssl":false,"timeout":5,"username":"kodi","ws_port":9090},"disabled_by":null,"discovery_keys":{"zeroconf":[{"domain":"zeroconf","key":["_xbmc-jsonrpc-h._tcp.local.","LibreELEC-2 jsonrpc-http._xbmc-jsonrpc-h._tcp.local."],"version":1}]},"domain":"kodi","entry_id":"01KMTRJKTNKZ9VBHAJJX97178M","minor_version":1,"modified_at":"2026-03-28T17:41:45.667791+00:00","options":{},"pref_disable_new_entities":false,"pref_disable_polling":false,"source":"zeroconf","subentries":[],"title":"LibreELEC-2","unique_id":null,"version":1},

host and name were changed to the value the second box has (192.168.0.25 and LibreELEC-2). There is also a second zeroconf entry for the first box.

When I delete everything again and re-add it again, it happens again.

Also when I stop HA and edit core.config_entries directly it changes back again.

What am I doing wrong here? Or is this a bug? I’m lost…

Regards

I looked a bit more into it. Played around with some parameters.

E.g. changing "source":"zeroconf" to "source":"user" and "discovery_keys":{"zeroconf"... to "discovery_keys":{} but nothing helped. The first entry always gets new "discovery_keys":{"zeroconf"... and a new IP (from box 2 or 3).

So I’m still totally lost here :thinking: and at the moment I do not have any further ideas… :pensive: