Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reserve85 authored Sep 17, 2024
1 parent 182ee64 commit c4d96e4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions HoymilesZeroExport.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,14 +530,6 @@ def GetMinWattFromAllBatteryInverters():
minWatt = minWatt + GetMinWatt(i)
return minWatt


minWatt = 0
for i in range(INVERTER_COUNT):
if (not AVAILABLE[i]) or (not HOY_BATTERY_MODE[i]) or (not HOY_BATTERY_GOOD_VOLTAGE[i]) or (CONFIG_PROVIDER.get_battery_priority(i) <= pPriority):
continue
minWatt = minWatt + GetMinWatt(i)
return minWatt

def GetMinWattFromAllBatteryInvertersWithSamePriority(pPriority):
minWatt = 0
for i in range(INVERTER_COUNT):
Expand Down

0 comments on commit c4d96e4

Please sign in to comment.