The latest firmware for UniFi Protect devices contains changes that are incompatible with older versions of Home Assistant. To avoid disruption, upgrade to Home Assistant 2024.3.2 or later before upgrading UniFi Protect to 3.x.