Comments (8)
Hello
This seems indeed to be related to constant_modifier which loads very early during startup. Its not really an integration, but a custom component that I use to modify some hard coded ZHA device timeouts for Aqara sensors since I did not get that to work with ZHA quirks.
I disabled the component and had no further errors on 2 restarts. Since that component is not maintained anymore, I'll have to see what to do with it and need to start research again how to reduce the ZHA device sensor timeouts otherwise...
Thanks for you assistance, I think this HACS issue can then be closed.
from integration.
Make sure you have read the issue guidelines and that you filled out the entire template.
If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍
from integration.
Post a diagnostics bump file for any integration
from integration.
Here is the HACS diagnostic dump file
config_entry-hacs-efd0e4f2507410ebd7f65292d2d6b0ba.json
from integration.
I really think it is a timing problem during restart. Today there was no problem during one restart, but again on another restart. The HACS reload once all is started never failed.
I assume the hass object has not created the hass.data['integrations'] entry yet when HACS is querying it?
File "/usr/src/homeassistant/homeassistant/loader.py", line 1307, in async_get_loaded_integration
cache = hass.data[DATA_INTEGRATIONS]
~~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'integrations'
So maybe a delay must be introduced, or proper error handling when hass.data.get(DATA_INTEGRATIONS) is None
from integration.
It is not HACS that is requesting it, that is core.
And hass.data['integrations']
is initialized before any integration is loaded.
The current suspicion is that you have some custom integration that is messing with that.
https://github.com/emontnemery/home-assistant/blob/04072cb3c1a2447200b322043a89c89e7e39d8ac/homeassistant/bootstrap.py#L262
https://github.com/emontnemery/home-assistant/blob/04072cb3c1a2447200b322043a89c89e7e39d8ac/homeassistant/loader.py#L241
from integration.
Can you try to remove constant_modifier
and then restart to see if that helps?
from integration.
If it still is not working without that, can you post your logs from startup with debug enabled for custom_components.hacs
?
from integration.
Related Issues (20)
- New installation stuck in "Waiting for device activation" HOT 3
- Startup tasks from HACS blocking HA startup HOT 6
- HACS not starting due to failed `securesystemslib` import HOT 2
- Detected that custom integration 'hacs' accesses hass.components.frontend. HOT 1
- Cannot setup integration using IP address, password and MAC address HOT 1
- Deprecation Warnings in Home Assistant for HACS Integration HOT 1
- I can't load any of the custom integrations HOT 4
- Request for removal of websylv/homeassistant-meteoswiss HOT 1
- Back in time after Re-Enabling experimental mode HOT 3
- Request for removal of wlcrs/huawei_solar HOT 1
- Handle None response in async_github_get_hacs_default_file method
- [2024.6.0b0]: Detected blocking call to open inside the event loop by custom integration 'hacs' HOT 2
- Request for removal of oziee/ha-solcast-solar HOT 33
- Request for removal of oziee/ha-solcast-solar HOT 1
- FileNotFoundError in scripts/remove_repository HOT 3
- Request for removal of georgezhao2010/midea_ac_lan HOT 2
- Detected that custom integration 'hacs' accesses hass.components.frontend HOT 3
- Request for removal of oziee/ha-solcast-solar HOT 1
- Hacsfiles path for theme images resulting in 404 HOT 5
- Request for removal of oziee/ha-solcast-solar 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 integration.