Skip to content

Commit d7326fa

Browse files
committed
Annotate clear_pin_to_drive_admin return type
1 parent 3453f31 commit d7326fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tesla_fleet_api/tesla/vehicle/fleet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async def charge_stop(self) -> dict[str, Any]:
109109
Method.POST, f"api/1/vehicles/{self.vin}/command/charge_stop"
110110
)
111111

112-
async def clear_pin_to_drive_admin(self, pin: str | None = None):
112+
async def clear_pin_to_drive_admin(self, pin: str | None = None) -> dict[str, Any]:
113113
"""Deactivates PIN to Drive and resets the associated PIN for vehicles running firmware versions 2023.44+. This command is only accessible to fleet managers or owners."""
114114
return await self._request(
115115
Method.POST,

0 commit comments

Comments
 (0)