meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

Unable to add integration in Home Assistant #114

Open day1118 opened 1 day ago

day1118 commented 1 day ago

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!

meichthys commented 1 day ago

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 commented 1 day ago

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.