Unifi Protect cameras - all sensors unavailable

I have a several Unifi Protect cameras integrated with HA via the built-in integration. Something changed where my streams still are visible, but report “This entity is no longer being provided by the unifiprotect integration. If the entity is no longer in use, delete it in settings.” when I view the feed in HA.

Also, the devices report that all of the sensors are currently unavailable, which is breaking some of my automations that relied on those. Anyone else having this issue? I know that Unifi updated its Protect platform recently as well (I’m on 6.1.65), I’m wondering if this is related.

I have a similar thing happening, sometimes I open HA and it is working. But more often than not I open HA and it looks like this:

If I go to integrations and select Unifi Protect and reload it, it comes back fine. But then will randomly go offline again later. This is screwing up my fingerprint unlock automation because it doesn’t get the fingerprint identified notification from Unifi.

In ha logs I find this:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/unifiprotect/data.py", line 182, in async_refresh
    await self.api.update()
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 1233, in update
    bootstrap = await self.get_bootstrap()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 1871, in get_bootstrap
    data = await self.api_request_obj("bootstrap")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 733, in api_request_obj
    data = await self.api_request(
           ^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 704, in api_request
    data = await self.api_request_raw(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 638, in api_request_raw
    response = await self.request(
               ^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 574, in request
    response = await self._do_request(
               ^^^^^^^^^^^^^^^^^^^^^^^
        session, method, request_url, headers, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/uiprotect/api.py", line 530, in _do_request
    raise NvrError(
        f"Error requesting data from {self._host}: {err}",
    ) from err
uiprotect.exceptions.NvrError: Error requesting data from 192.168.1.1: Cannot connect to host 192.168.1.1:443 ssl:False [Network unreachable]

HA Version: 2026.2.3
Unifi Protect running on a UDM Pro: 6.2.88

Update for posterity: This was because I was running HA in docker and was using a bridge network to isolate it with the zwave service, while it worked, the bridge network had flaky connections to the host network to access the UDMPro gateway that was running the Protect app. Trying to add a network specifically giving HA a route to the main domain also was flaky. Ultimately I had to run in network_mode: host which doesn’t allow me to remap ports or isolate anything from the host system but the UI integration looks like it came back up properly and has better response even on the RTSP camera feeds…