Skip to content

Commit

Permalink
Fix specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 13, 2024
1 parent a73e9f3 commit c4bcb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tesla_fleet_api/vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ async def create(self) -> [VehicleSpecific]:
return self._parent.vehicles
return []

async def specific(self, vehicle_tag: str | int) -> VehicleSpecific:
def specific(self, vehicle_tag: str | int) -> VehicleSpecific:
"""Creates a class for each vehicle."""
return self._parent.vehicles(self, vehicle_tag)
return VehicleSpecific(self, vehicle_tag)

async def actuate_trunk(
self, vehicle_tag: str | int, which_trunk: Trunks | str
Expand Down

0 comments on commit c4bcb97

Please sign in to comment.