Skip to content

Commit

Permalink
Dangling getSlaveTWCs() reference
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBishop committed Nov 8, 2022
1 parent caaab49 commit b67858c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TWCManager/Control/HTTPControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def do_API_GET(self):
}

avgCurrent = 0
for slave in master.getSlaveTWCs():
for slave in master.getAllEVSEs():
avgCurrent += slave.historyAvgAmps
data[endTime.isoformat(timespec="seconds")] = master.convertAmpsToWatts(
avgCurrent
Expand Down

0 comments on commit b67858c

Please sign in to comment.