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

Pairing fails with error "unexpected keyword argument 'auto_reconnect'" #119074

Closed
noniq opened this issue Jun 7, 2024 · 1 comment · Fixed by #119247
Closed

Pairing fails with error "unexpected keyword argument 'auto_reconnect'" #119074

noniq opened this issue Jun 7, 2024 · 1 comment · Fixed by #119247

Comments

@noniq
Copy link

noniq commented Jun 7, 2024

The problem

Error message:

2024-06-07 01:46:25.632 ERROR (MainThread) [homeassistant.components.idasen_desk.config_flow] Unexpected error
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/idasen_desk/config_flow.py", line 67, in async_step_user
    await desk.connect(discovery_info.device, auto_reconnect=False)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Desk.connect() got an unexpected keyword argument 'auto_reconnect'

This seems to have been caused by 486b8ca where idasen-ha was updated to 2.5.3 – in this version the connect method no longer accepts the auto_reconnect argument: abmantis/idasen-ha@2.5.2...2.5.3#diff-3fa1fdf27910b29544a3f872105f51eb850fcd16aadc32175281b182649566dcR42

What version of Home Assistant Core has the issue?

core-2024.6.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

IKEA Idasen Desk

Link to integration documentation on our website

https://www.home-assistant.io/integrations/idasen_desk

@home-assistant
Copy link

home-assistant bot commented Jun 7, 2024

Hey there @abmantis, mind taking a look at this issue as it has been labeled with an integration (idasen_desk) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of idasen_desk can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign idasen_desk Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


idasen_desk documentation
idasen_desk source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant