Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 17, 2023
1 parent 52ce675 commit 8094740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/loadpoint_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (lp *Loadpoint) SetMode(mode api.ChargeMode) {
// reset timers
switch mode {
case api.ModeNow, api.ModeOff:
lp.resetPhaseTimer()
// lp.resetPhaseTimer()
lp.resetPVTimer()
lp.setPlanActive(false)
case api.ModeMinPV:
Expand Down
2 changes: 1 addition & 1 deletion core/loadpoint_phases.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (lp *Loadpoint) setPhases(phases int) {
lp.publish(phasesEnabled, lp.phases)

// reset timer to disabled state
lp.resetPhaseTimer()
// lp.resetPhaseTimer()

// measure phases after switching
lp.resetMeasuredPhases()
Expand Down

0 comments on commit 8094740

Please sign in to comment.