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

Unable to add integration in Home Assistant #114

Open
day1118 opened this issue Oct 18, 2024 · 4 comments
Open

Unable to add integration in Home Assistant #114

day1118 opened this issue Oct 18, 2024 · 4 comments

Comments

@day1118
Copy link

day1118 commented Oct 18, 2024

I have successfully installed the integration using HACS, but when I try to add the integration from settings, I get the error:
Config flow could not be loaded: {"message":"Invalid handler specified"}

Checking the HASS logs shows:
[homeassistant.config_entries] Error occurred loading flow for integration uptime_kuma: No module named 'pyuptimekuma'

I have seen similar github issues, that all look to be resolved by a new integration release.

Details:
HASS Core: v2024.10.1
HACS: v2.0.1
Uptime-Kuma integration: v2.3.0

Thanks for your help!

@day1118 day1118 changed the title Unable to configure HACS integration Unable to add integration in Home Assistant Oct 18, 2024
@meichthys
Copy link
Owner

Uninstall the integration and re-install. If the integration is needing pyuptimekuma, then you're on an old version.
The latest version requires pytupmtimekuma-hass which is a separate dependency.

@day1118
Copy link
Author

day1118 commented Oct 18, 2024

Thanks @meichthys - I have tried this, and confirmed that the directory is deleted and replaced when I install again. I still face the same issue.

I eventually manually installed pyuptimekuma-hass on the server and it began working. I'm not clear why this was required.

@day1118
Copy link
Author

day1118 commented Oct 25, 2024

@meichthys - I am running HASS in a docker container. Every time the container restarts pyuptimekuma-hass is lost. Any suggestions on how I can investigate why it is not being installed automatically as part of startup?
Thanks

@meichthys
Copy link
Owner

From the official Home Assistant docs, you should be able to see dependency installation logs in home-assistant.log

https://www.home-assistant.io/faq/problems-with-dependencies/

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

No branches or pull requests

3 participants
@day1118 @meichthys and others