Skip to content

feat(vehicle): add Cybercab (VIN 4th-char A) to model detection - #109

Merged
Bre77 merged 1 commit into
mainfrom
fm/cybercab-tfa
Aug 3, 2026
Merged

feat(vehicle): add Cybercab (VIN 4th-char A) to model detection#109
Bre77 merged 1 commit into
mainfrom
fm/cybercab-tfa

Conversation

@Bre77

@Bre77 Bre77 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Intent

  • Vehicle models are identified by the VIN's 4th character; Tesla's new Cybercab uses A.
    • Add "A": "Cybercab" to the MODELS mapping in tesla_fleet_api/tesla/vehicle/vehicle.py, the only model-derivation site in the repo.
    • No Cybercab-specific behavior invented; it gets whatever the generic model treatment provides.
    • Added tests/test_vehicle_model.py covering all MODELS letters plus Cybercab and the unknown fallback.

Pipeline skip: trivial additive one-line mapping + test, per captain directive; full suite/lint/typecheck run locally and green instead of routing through no-mistakes.

Adds the A -> Cybercab mapping to MODELS in vehicle.py, matching
the existing S/X/3/Y/C/R/T entries; no other model-derivation site
found in the repo.
@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Aug 3, 2026
@Bre77
Bre77 merged commit 2b6f56e into main Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant