Slow GUI - Actions Editor/Developer Tools States Filter

Hi,

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.

1Untitled-ezgif.com-video-to-gif-converter

Note - In this video the timer starts when I start typing “test”.

Thanks! Happy 4th day of Christmas!

Hello Cake1468,

Running a pi?
How many entities?
Disk size?
Size of your database?

Good morning @Sir_Goodenough,

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.

Thank you.

That has to be parsed and sorted when open the entities tab in the editor.
I have a pretty bug set-up, but 1900 entities, small compares to yours.

I’ll start with disabling excess entities, thanks.

I checked, I’m using the default DB engine. MariaDB is running in the background.

Would you be willing to share the YAML for that dash?

It’s a bunch of template sensors.

The spook integration gives those stats and more

1 Like

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.

Still getting a similar amount of lag though.