Skip to content

Take vehicle_id first in send_location_to_vehicle - #243

Merged
natekspencer merged 1 commit into
mainfrom
cleanup-before-2.4.0
Nov 11, 2026
Merged

natekspencer merged 1 commit into
mainfrom
cleanup-before-2.4.0

Conversation

@natekspencer

Copy link
Copy Markdown
Collaborator

Cleanup before releasing 2.4.0.

Changes

  • send_location_to_vehicle now takes vehicle_id first: send_location_to_vehicle(vehicle_id, location). Every other method that takes a vehicle id takes it first (only the older send_vehicle_command leads with the command). It was added in Add send_location_to_vehicle #230 and hasn't been released, so changing it now isn't a breaking change.
  • The rivian.parallax docstring lists the LOCK_RVM/encode_lock() and UNLOCK_RVM/encode_unlock() exports from Add signed Parallax lock/unlock commands #229, and its layout list is realigned.

Testing

pytest (286 passed), ruff check, ruff format --check and mypy src/rivian are clean.

Note

bretterer/home-assistant-rivian#322 calls send_location_to_vehicle(message, vehicle_id) and will need its arguments swapped when it bumps the client pin.

🤖 Generated with Claude Code

Every other method that takes a vehicle id takes it first, and this one
hasn't been released yet, so match them now. Also list the lock and
unlock exports in the parallax package docstring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@natekspencer
natekspencer merged commit cbca063 into main Nov 11, 2026
6 checks passed
@natekspencer
natekspencer deleted the cleanup-before-2.4.0 branch November 11, 2026 06:25
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

Successfully merging this pull request may close these issues.

1 participant