Skip to content

Commit

Permalink
Named parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Feb 8, 2024
1 parent 23ee851 commit 3283081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tesla_fleet_api/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def charge_history(
return await self._request(
Methods.GET,
f"api/1/energy_sites/{energy_site_id}/telemetry_history",
{
query={
"kind": kind,
"start_date": start_date,
"end_date": end_date,
Expand All @@ -78,7 +78,7 @@ async def energy_history(
return await self._request(
Methods.GET,
f"api/1/energy_sites/{energy_site_id}/calendar_history",
{
query={
"kind": kind,
"start_date": start_date,
"end_date": end_date,
Expand Down

0 comments on commit 3283081

Please sign in to comment.