Skip to content

Commit

Permalink
make pre2021 a prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed May 11, 2024
1 parent 4a31400 commit 3f4944c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tesla_fleet_api/vehiclespecific.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def __init__(self, parent, vin: str | int | None = None):
self._parent = parent
self.vin = vin

@property
def pre2021(self) -> bool:
"""Checks if a vehicle is pre-2021."""
return self._parent.pre2021(self.vin)
Expand Down

0 comments on commit 3f4944c

Please sign in to comment.