Skip to content

Commit

Permalink
Fix wrong arg name in Idasen Desk config flow (#119247)
Browse files Browse the repository at this point in the history
  • Loading branch information
abmantis committed Jun 10, 2024
1 parent d657fea commit be22214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/idasen_desk/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def async_step_user(

desk = Desk(None, monitor_height=False)
try:
await desk.connect(discovery_info.device, auto_reconnect=False)
await desk.connect(discovery_info.device, retry=False)
except AuthFailedError:
errors["base"] = "auth_failed"
except TimeoutError:
Expand Down
2 changes: 1 addition & 1 deletion tests/components/idasen_desk/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ async def test_bluetooth_step_success(hass: HomeAssistant) -> None:
}
assert result2["result"].unique_id == IDASEN_DISCOVERY_INFO.address
assert len(mock_setup_entry.mock_calls) == 1
desk_connect.assert_called_with(ANY, auto_reconnect=False)
desk_connect.assert_called_with(ANY, retry=False)

0 comments on commit be22214

Please sign in to comment.