When I reload the Unifi Integration (or any integration with lots of entities, enable a lot of entities, etc), my HA completely locks up. After ssh'ing in and running a sudo docker stats I can see that the homeassistant container is using 100% CPU.
It remains at 100% CPU for about 4-5 minutes before coming back down, and then HA is responsive again.
During this time HA's web UI is completely down and its completely deadlocked. Feels like some sort of thread locking issue.
I am running on an Intel N200 with 16GB of ram, so I have quite a bit of power behind this.
Core: 2024.12.2
Supervisor: 2024.11.4
Operating System: 14.0
The logs don't appear to be helpful. During this window I'll see a bunch of network timeouts log entries, but I know the networking is not the problem (and SSH remains responsive).