Comments (14)
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:
- Load the possible helpers from the backend (there will be a network request to /api/config/config_entries/flow_handlers?type=helper that should present you the different helpers
- Load the backend translations for the different integrations on the websocket
from frontend.
check the javascript console for errors. If there are no errors in the javascript console, it must be the loading explained below that fails.
Took a minute from this:
to this:
Can you suggest me what shall I do next?
from frontend.
Could you try safe mode first to see if that brings better times?
from frontend.
In safe mode the window is displayed immediately.
Does this mean that some custom integration prevents to show the window fast?
from frontend.
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.
from frontend.
- I believed that "Add a helper" window allows to create a helper for STOCK integrations, not custom ones. Checked a content of this window- yes, only stock integrations. Then what is a reason of loading titles for ALL integrations then?
- On the run right after that test "safe mode" run - the window is shown immediately. How can a "safe mode" run fix (may be for a while) this problem?
from frontend.
- It's not really know what the helpers are when the integration title translations are fetched.
- Once the integrations title translations are fetched, they are kept in memory until you refresh the whole application.
from frontend.
Noticed that after HA reboot it again needs ~1 minute to show a window.
from frontend.
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.
from frontend.
I am thinking about finding a culprit.
I have some custom integrations - some are defined in yaml, some in UI.
Shall I check for both types?
from frontend.
I think you should check the custom integrations that define a config flow (others said, are configurable from the UI)
I should mention that it would be good to find the culprit as that would help towards the general performance of your home assistant as well.
from frontend.
custom integrations that define a config flow (others said, are configurable from the UI)
Not too many of them:
fontawesome
gismeteo
iPhone device tracker
places
ha-composite-tracker
Shall I disable them one by one - or delete?
from frontend.
Setup a logger in your configuration yaml:
logger:
default: info
logs:
homeassistant.config_entries: debug # add this
Then load the add helper and check for any late "Loaded <integration_name> from <integration_path>"
from frontend.
Added these lines for logger, rebooted - and see no freezes for "add a helper".
Will keep observing within these days.
Thanks for a feedback!
from frontend.
Related Issues (20)
- homeassistant.components.climate - Does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. HOT 1
- Button Card "call service" tap action links to old entity ID for scripts HOT 1
- Option 'All entities' in helper 'light group' isn't showing. HOT 3
- Text Overlapping Image in Energy Distribution Dashboard
- Wrong translation assigned to template binary sensor device class. HOT 4
- Error entering trigger value
- Energy Dashboard reports to high battery import values HOT 1
- hui-root doesn't update scrolled attribute after visibility change HOT 1
- Order of (translated) Yaml integrations is according to Untranslated string
- Template time_since is not translated HOT 1
- Different dashboards generated between remote and local on different devices with the same strategy file HOT 2
- Markdown card templates using stricter rendering than developer-tools HOT 8
- Sidebar size issue with a statistic graph card on a Sidebar view HOT 1
- Integration startup time dialog still uses rounded icons (unlike elsewhere) HOT 1
- Selection Should be unselected once assigned to a category HOT 1
- Syntax highlighting in markdown card not working in example
- Energy-Dashboard - first entry is reporting exorbitant value despite korrect value in the sensor data HOT 1
- Energy Dashboard not showing the correct data after restarting HA HOT 1
- YAML code formatter removes comments
- Hold action hard to achieve HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontend.