The issue is described here: home-assistant/core#112298
- Use either SSH to connect to your Homeassistant instance or use the Addon "Advanced SSH & Web Terminal" in unprotected mode.
- run
docker exec -it homeassistant bash
- inside the container run
vi /usr/local/lib/python3.12/site-packages/pyunifiprotect/data/types.py
- use / to search and then enter "DELETE", hit enter to go to the correct line.