Skip to content
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

Custom components' dependencies not installed from manifest.json when loaded in package #24954

Closed
quthla opened this issue Jul 5, 2019 · 0 comments · Fixed by #25005
Closed

Comments

@quthla
Copy link
Contributor

quthla commented Jul 5, 2019

Home Assistant release with the issue: 0.95.4

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.): Linux Venv

Component/platform: https://github.com/custom-components/hacs

Description of problem:
When component is loaded in a yaml package file, HA will not install dependencies from manifest.json and thus component fails to be set up

ERROR (MainThread) [homeassistant.config] Package hacs setup failed. Component hacs unable to import (See /root/.homeassistant/packages/hacs.yaml:0).

Loading directly from configuration.yaml will install its dependencies. When moving the config entries back to the package after, it continues to work

This does not seem to be specific to hacs but to any custom component with dependencies in manifest.json, which are not already installed

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

hacs:
  token: REDACTED

Traceback (if applicable):


Additional information:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant