Skip to content

Commit

Permalink
fix: removed delayed data
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed Feb 10, 2023
1 parent a56487b commit a0f1f36
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/southern_company_api/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,8 @@ async def get_hourly_data(
# costs and temps can be different lengths?
for cost in data["series"]["cost"]["data"]:
self.hourly_data[cost["name"]].cost = cost["y"]
for cost in data["series"]["costDelayed"]["data"]:
self.hourly_data[cost["name"]].cost = cost["y"]
for usage in data["series"]["usage"]["data"]:
self.hourly_data[usage["name"]].usage = usage["y"]
for usage in data["series"]["usageDelayed"]["data"]:
self.hourly_data[usage["name"]].usage = usage["y"]
for temp in data["series"]["temp"]["data"]:
self.hourly_data[temp["name"]].temp = temp["y"]
return return_dates
Expand Down

0 comments on commit a0f1f36

Please sign in to comment.