-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add a new helper in UI sometimes - seeing a loading indicator #20809
Comments
There was an issue, but that was related to the schedule helper not being able to load. That was fixed. Whenever you have this, check the javascript console for errors. If there are no errors in the javascript console, it must be the loading explained below that fails. At the point the loading indicator is shown (and never goes away), it needs to do the following:
|
Could you try safe mode first to see if that brings better times? |
In safe mode the window is displayed immediately. |
It loads the integration titles for all integrations (helpers, core integrations, custom integrations) at that point. I'm not sure if the amount of custom integrations make it slower or if there would be a specific custom integration that takes a while. |
|
|
Noticed that after HA reboot it again needs ~1 minute to show a window. |
If you're able to find out if the slowdown comes from the amount of custom integrations you have and not from a single particular one, I'll be able to change it, so it loads only the integration title translations from the helpers. |
I am thinking about finding a culprit. |
I think you should check the custom integrations that define a config flow (others said, are configurable from the UI) |
Not too many of them: Shall I disable them one by one - or delete? |
Setup a logger in your configuration yaml:
Then load the add helper and check for any late "Loaded <integration_name> from <integration_path>" |
Added these lines for logger, rebooted - and see no freezes for "add a helper". Thanks for a feedback! |
Still do not observe freezes "add a helper". |
Reopened then |
Checklist
Describe the issue you are experiencing
I think I have seen a similar issue - but cannot find it.
Experience the issue for at least a year.
May be - longer, cannot say for sure since I am not using UI for adding/editing helpers usually, only for a testing purpose.
The issue is that in 100% cases when I try to add a helper - I see this:
And this indicator may be rotating for a VERY long time (minutes at minimum).
Usually I press F5 when I see that this is a long process and try to repeat.
Sometimes the "Add a helper" dialogue is shown after a minute, sometimes - faster.
I observe a huge CPU & RAM load when this indicator is rotating.
No messages in Log.
Describe the behavior you expected
The "add a new helper" dialog is shown within a few seconds.
Steps to reproduce the issue
see above
What version of Home Assistant Core has the issue?
2024.5.3
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Chrome 124.0.6367.202
Which operating system are you using to run this browser?
Win10x64
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: