Snap Automation Mode: 1/32 Note
Set the grid to 1/32 notes. Automation points will snap to the nearest 1/32 note.
Snap to grid in the Piano Roll Editor in Logic Pro — Apple Support
Smart: Edit operations snap to the nearest bar, beat, sub-beat, and so on, depending on the current ruler division value and the zoom level.