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

Can't add device #16

Closed
fjfricke opened this issue Apr 5, 2022 · 2 comments
Closed

Can't add device #16

fjfricke opened this issue Apr 5, 2022 · 2 comments

Comments

@fjfricke
Copy link

fjfricke commented Apr 5, 2022

Getting this error:

Logger: custom_components.hifiberry.config_flow
Source: custom_components/hifiberry/config_flow.py:23 
Integration: hifiberry (documentation) 
First occurred: 00:15:29 (3 occurrences) 
Last logged: 00:53:34

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/hifiberry/config_flow.py", line 69, in async_step_user
    await validate_input(self.hass, user_input)
  File "/config/custom_components/hifiberry/config_flow.py", line 23, in validate_input
    await Audiocontrol2SIO.connect(host=data["host"], port=data["port"])
  File "/usr/local/lib/python3.9/site-packages/pyhifiberry/audiocontrol2sio.py", line 38, in connect
    await sio.connect(f'http:https://{host}:{port}', wait_timeout=wait_timeout)
TypeError: connect() got an unexpected keyword argument 'wait_timeout'

@fjfricke
Copy link
Author

fjfricke commented Apr 5, 2022

I think this is due to the fact that pyhifiberry version 0.0.4 is still used instead of 0.1.0.

@schnabel
Copy link
Contributor

schnabel commented Apr 6, 2022

Hi @fjfricke
unfortunately the homeassistant guys pinned the python-socketio version to an older version than pyhifiberry needs. If you are interested in details have a look at this issue. Because they will not revert this in favor of hifiberry I have to make a pyhifiberry release that includes python-socketio code as recommended here.

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