Skip to content

Commit

Permalink
Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
salewis38 authored Sep 9, 2023
1 parent 9fb0050 commit 98e22b5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions palm.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,15 +603,6 @@ def balance_loads():
if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_finish):
inverter.set_mode("set_soc_winter") # Set inverter for next timed charge period

if stgs.pg.month in stgs.GE.winter and stgs.GE.boost_start != "":
if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_start):
logger.info("Enabling afternoon battery boost")
inverter.set_mode("charge_now")
if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_finish):
inverter.set_mode("set_soc_winter")



if stgs.pg.once_mode is False:
# Update carbon intensity every 15 mins as background task
if stgs.CarbonIntensity.enable is True and stgs.pg.loop_counter % 15 == 14:
Expand Down

0 comments on commit 98e22b5

Please sign in to comment.