tesla-fleet-api 0.2.5__tar.gz → 0.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tesla_fleet_api-0.2.5/tesla_fleet_api.egg-info → tesla_fleet_api-0.2.7}/PKG-INFO +1 -1
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/setup.py +1 -1
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/energyspecific.py +1 -1
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/vehicle.py +5 -1
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/vehiclespecific.py +7 -3
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7/tesla_fleet_api.egg-info}/PKG-INFO +1 -1
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/LICENSE +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/README.md +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/setup.cfg +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/__init__.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/charging.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/const.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/energy.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/exceptions.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/partner.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/teslafleetapi.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/teslafleetoauth.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/teslemetry.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api/user.py +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api.egg-info/SOURCES.txt +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api.egg-info/dependency_links.txt +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api.egg-info/requires.txt +0 -0
- {tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api.egg-info/top_level.txt +0 -0
@@ -99,7 +99,7 @@ class EnergySpecific:
|
|
99
99
|
|
100
100
|
async def site_info(self) -> dict[str, Any]:
|
101
101
|
"""Returns information about the site. Things like assets (has solar, etc), settings (backup reserve, etc), and features (storm_mode_capable, etc)."""
|
102
|
-
return await self._parent.site_info()
|
102
|
+
return await self._parent.site_info(self.energy_site_id)
|
103
103
|
|
104
104
|
async def storm_mode(self, enabled: bool) -> dict[str, Any]:
|
105
105
|
"""Update storm watch participation."""
|
@@ -264,12 +264,16 @@ class Vehicle:
|
|
264
264
|
)
|
265
265
|
|
266
266
|
async def remote_seat_heater_request(
|
267
|
-
self, vehicle_tag: str | int
|
267
|
+
self, vehicle_tag: str | int, seat_position: int, level: int
|
268
268
|
) -> dict[str, Any]:
|
269
269
|
"""Sets seat heating."""
|
270
270
|
return await self._request(
|
271
271
|
Methods.POST,
|
272
272
|
f"api/1/vehicles/{vehicle_tag}/command/remote_seat_heater_request",
|
273
|
+
json={
|
274
|
+
"seat_position": seat_position,
|
275
|
+
"level": level,
|
276
|
+
},
|
273
277
|
)
|
274
278
|
|
275
279
|
async def remote_start_drive(self, vehicle_tag: str | int) -> dict[str, Any]:
|
@@ -159,9 +159,13 @@ class VehicleSpecific:
|
|
159
159
|
self.vin, seat_position, seat_cooler_level
|
160
160
|
)
|
161
161
|
|
162
|
-
async def remote_seat_heater_request(
|
162
|
+
async def remote_seat_heater_request(
|
163
|
+
self, seat_position: int, level: int
|
164
|
+
) -> dict[str, Any]:
|
163
165
|
"""Sets seat heating."""
|
164
|
-
return await self._parent.remote_seat_heater_request(
|
166
|
+
return await self._parent.remote_seat_heater_request(
|
167
|
+
self.vin, seat_position, level
|
168
|
+
)
|
165
169
|
|
166
170
|
async def remote_start_drive(self) -> dict[str, Any]:
|
167
171
|
"""Starts the vehicle remotely. Requires keyless driving to be enabled."""
|
@@ -395,7 +399,7 @@ class VehicleSpecific:
|
|
395
399
|
|
396
400
|
async def vehicle_data(
|
397
401
|
self,
|
398
|
-
endpoints: VehicleDataEndpoints | str | None = None,
|
402
|
+
endpoints: list[VehicleDataEndpoints] | str | None = None,
|
399
403
|
) -> dict[str, Any]:
|
400
404
|
"""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."""
|
401
405
|
return await self._parent.vehicle_data(self.vin, endpoints)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tesla_fleet_api-0.2.5 → tesla_fleet_api-0.2.7}/tesla_fleet_api.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|