-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
custom_components still installing into wrong folder #2441
Comments
Make sure you have read the issue guidelines and that you filled out the entire template. |
Your logs do not include the installation/update. |
Oh, I'm not quite sure where I went wrong there then. Sorry. |
`2022-01-11 09:36:20 INFO (MainThread) [custom_components.hacs]HACS (Home Assistant Community Store)
|
@ludeeus - Any better? 🤞🏻🤞🏻🤞🏻 (Literally just had another update come in. |
I do not see an issue in those logs for |
OK, great, I'll reboot and see if this one worked. Thank you!!! |
No need to reboot? |
Ah yes, that's true. Well it was in the correct location this time. Perhaps it was an issue specific to heatmiserneo, I'll reach out to the component creator and see if there's anything I can check the next time they release an update for it. Thank you for all your help - really appreciate it! 🙏🏻🙏🏻 |
No need, you can just use the downgrade option in HACS for it, restart Home Assistant, and you will be presented with an update. |
Just updated from heatmiserneo 3d80eb1 to 92126ff. 2022-01-11 09:57:01 INFO (MainThread) [custom_components.hacs]HACS (Home Assistant Community Store)
|
Interesting, seems it has issues since it's a non release repo |
Thank you! |
System Health details
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Lovelace
Checklist
Describe the issue
When installing custom_component update, it was installed into the incorrect folder location.
Today, I installed a new version of 'heatmiserneo'.
https://github.com/MindrustUK/Heatmiser-for-home-assistant
It should have installed into /config/custom_components/heatmiserneo/manifest.json
It actually created a new subfolder and installed into /config/custom_components/heatmiserneo/heatmiserneo/manifest.json
This caused the custom_components to fail to load on Home Assistant startup.
I was able to move those files into the correct folder manually, and when rebooting it started back up without issue.
I've tried deleting and reinstalling the component just in case, but the issue remained.
I've included my debug logs detailing the update this morning below.
Thanks in advance for your help!
Reproduction steps
1 - Update custom_component
2 - Reboot Home Assistant - it will fail to load the component on startup
3 - Move updated component into correct folder structure
4 - Reboot Home Assistant - it will now load the newly updated component correctly.
Debug logs
The text was updated successfully, but these errors were encountered: