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

No module named ‘lghorizon’ #160

Open
grewhit25 opened this issue Nov 14, 2024 · 4 comments
Open

No module named ‘lghorizon’ #160

grewhit25 opened this issue Nov 14, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@grewhit25
Copy link

Describe the bug
A clear and concise description of what the bug is.
I have followed the installation instructions and have installed the latest version using HACS.

However, when I try to add ‘LG Horizon’ home-assistant integration.
The following error is returned by the frontend:

Error
Config flow could not be loaded: {"message":"Invalid handler specified"}”

HA error log output:

2024-11-14 14:30:05.251 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration lghorizon: No module named 'lghorizon'

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version of the component
The version of the component as it is installed on your HA

v0.7.4

HA container version
2024.11.1

Logging
Enable debug logging and add your log. DO NOT SHARE SENSITIVE DATA SUCH AS PASSWORDS AND ACCOUNT INFO!
You can enable logging by setting up the logging component in HA as follows:

logger:
  default: warning
  logs:
    lghorizon: debug

Additional context
Add any other context about the problem here.

@grewhit25 grewhit25 added the bug Something isn't working label Nov 14, 2024
@nrosier
Copy link

nrosier commented Nov 25, 2024

Same issue. Anyone know how to fix?

@Sholofly
Copy link
Owner

Sholofly commented Dec 8, 2024

Sorry for this sys admin question, but did you try to uninstall and install the component again?

@grewhit25
Copy link
Author

Yes I have removed and re downloaded the component. The issue remains.
Any idea what the problem might be?

@grewhit25
Copy link
Author

Got this working with the following workaround.

I exec’d into the home-assistant container, then ran:

pip install lghorizon

I had a similar problem with a different component a little while back where I applied the above procedure; that issue was resolved in a later home-assistant build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants