home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.99k stars 29.64k forks source link

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

Closed noniq closed 2 months ago

noniq commented 2 months ago

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 https://github.com/home-assistant/core/commit/486b8ca7c4f7c82dc3d5b3a1cf6866624de3d198 where idasen-ha was updated to 2.5.3 – in this version the connect method no longer accepts the auto_reconnect argument: https://github.com/abmantis/idasen-ha/compare/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[bot] commented 2 months ago

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)