Skip to content

Commit

Permalink
Fix endpoints type on vehicle_data
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Feb 5, 2024
1 parent 3fb323c commit d2d05be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tesla_fleet_api",
version="0.2.6",
version="0.2.7",
author="Brett Adams",
author_email="[email protected]",
description="Tesla Fleet API library for Python",
Expand Down
2 changes: 1 addition & 1 deletion tesla_fleet_api/vehiclespecific.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ async def vehicle(self) -> dict[str, Any]:

async def vehicle_data(
self,
endpoints: VehicleDataEndpoints | str | None = None,
endpoints: list[VehicleDataEndpoints] | str | None = None,
) -> dict[str, Any]:
"""Makes a live call to the vehicle. This may return cached data if the vehicle is offline. For vehicles running firmware versions 2023.38+, location_data is required to fetch vehicle location. This will result in a location sharing icon to show on the vehicle UI."""
return await self._parent.vehicle_data(self.vin, endpoints)
Expand Down

0 comments on commit d2d05be

Please sign in to comment.