Lately I’ve noticed the GUI lags for 4-5 seconds when typing into the Add Actions box when writing an automation or script. Additionally the states filter in Developer Tools has a similar lag.
Is this normal, or is there something I can do to streamline it? I do have a ton of entities, however they filter in under a second when in the “integrations > entities” tab.
Note - In this video the timer starts when I start typing “test”.
HA is running on a middle aged laptop running Proxmox.
4x Intel(R) Core™ i7-7500U CPU @ 2.70GHz (1 Socket)
2 cores are assigned to HAOS, along with 6gb Ram, and 32gb of SSD
After I shut down Studio Code Server (turns out that’s a resource hog), the CPU is idling at ~3%, and bumps up to ~5% when filtering actions. There’s still a similar lag though.
4828 entities are enabled - I’m not totally stoked on this as most don’t need to be interacted with. Would disabling those extras help?
My DB size is 794mb per checking the file at /config/home-assistant_v2.db. ooph, that seems moderately large after glancing at this to figure out how to check DB size.
Databases aren’t something I understand well. I believe I’m using the MariaDB add-on as IIRC it was needed for Traccar, however I’m not actually sure if HA is using that DB too.
I’m going to work through my entities list to see if that helps.
I’m down to 2453 enabled, 1130 of which are from 3 Zwave locks being managed via keymaster. I’m not sure how to reduce those further as I’ve already turned off extra code_slots.