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

Config flow could not be loaded: {"message":"Invalid handler specified"} #143

Open
JensTimmerman opened this issue Dec 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@JensTimmerman
Copy link

JensTimmerman commented Dec 30, 2024

Describe the bug
When trying to add this component via the Settings > Devices and Services menu in Home Assistant.I get this error:
Config flow could not be loaded: {"message":"Invalid handler specified"}

To Reproduce
Steps to reproduce the behavior:

  1. Go to HACS
  2. Click on huesyncbox, download, restart ha, after install go to settings, devices and services, click on add integration, search huesyncbox, click on Philips hue play hdmi sync box
  3. See error

Expected behavior
being able to add the integration.

Diagnostics
If possible add diagnostics data from HA. The "Download diagnostics" option can be found in the vertical 3 dots menu (⋮) of the integration.

This is not possible, I do not see the integration

Logging
Error occurred loading flow for integration huesyncbox: No module named 'aiohuesyncbox'

Environment
Provide details about the versions you are using, which helps to reproduce and find the issue quicker.

  • Home Assistant Core version: Core 2024.12.1
  • Home Assistant operating environment (OS/Container/Supervised/Core): Core
  • Huesyncbox integration version: v2.50
  • Last working version (if known): n/a

Additional info
pip install aiohuesyncbox seems to have fixed this, but I couldn't find any documentation that this was required.

@JensTimmerman JensTimmerman added the bug Something isn't working label Dec 30, 2024
@Morveus
Copy link

Morveus commented Jan 2, 2025

Hello,

Same issue there, also fixed using pip install aiohuesyncbox (thank you)

@mvdwetering
Copy link
Owner

The aiohuesyncbox package is supposed to be installed automatically by Home Assistant when it loads the integration.

Because I have only seen this being reported by people running a Core installation I suspect this happens because Home Assistant is using uv instead of pip to install packages nowadays. This was introduced in the 2024.10 October release.

Could it be that uv is not installed?
(although I would expect more issues in that case)

@Morveus
Copy link

Morveus commented Jan 8, 2025

I was using the 2024.12 Docker image but can confirm that upgrading to 2025.1 yesterday brought back the package by default

@mvdwetering
Copy link
Owner

@Morveus Cool, that is good to hear that it seems to work again.

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