Closed mgartin closed 1 year ago
This is the repo for the addon, not the integration, you would need to log your issue against the Home Assistant repo as there is really nothing that can be done here.
Ok, sorry. For other landing here, there seems to already be an issue on this for the integration: https://github.com/home-assistant/core/issues/98729
Problem/Motivation
Recently, my HA installation has started having issues with the unifi integration. Tracking of devices has started to go from Home/Away to Unknown.
I believe the issue is related to a nearby Unifi device (from a neighbor) that is in Adoption mode and therefore lacks some basic metadata. Not sure.
I have checked, and currently there is one device available in Adoption mode in my Unifi web interface. The problem started in HA version 2023.8.3 I think. I upgraded today to version 2023.9.0 see if that helped, but it did not. The output below is from 2023.9.0. I'm running HA core from a rpi 4. The Unifi controller is on another rpi 4, running version 7.4.162. On port 8443.
I tried to reload, and to reconfiigure the Unifi integration after upgrading to HA version 2023.9.0, but it did not help.
Proposed changes
I believe the integration should gracefully accept that the key 'ip' is not present in the metadata.
Debug output (sensitive info removed):