Skip to content

Commit d3a27bf

Browse files
committed
v1.0.7
1 parent 94392c1 commit d3a27bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="tesla_fleet_api",
8-
version="1.0.6",
8+
version="1.0.7",
99
author="Brett Adams",
1010
author_email="[email protected]",
1111
description="Tesla Fleet API library for Python",

tesla_fleet_api/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from enum import Enum
44
import logging
55

6-
VERSION = "1.0.6"
6+
VERSION = "1.0.7"
77
LOGGER = logging.getLogger(__package__)
88
SERVERS = {
99
"na": "https://fleet-api.prd.na.vn.cloud.tesla.com",

tesla_fleet_api/tesla/vehicle/vehicle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Vehicle:
2222
def __init__(self, parent: Tesla, vin: str):
2323
self.vin = vin
2424

25-
25+
@property
2626
def pre2021(self) -> bool:
2727
"""Checks if a vehicle is a pre-2021 model S or X."""
2828
return self.vin[3] in ["S", "X"] and (self.vin[9] <= "L" or (self.vin[9] == "M" and self.vin[7] in ['1', '2', '3', '4']))

0 commit comments

Comments
 (0)