Skip to content

Commit

Permalink
Merge branch 'fix/17280_easeePhaseGetter' into nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
GrimmiMeloni committed Nov 18, 2024
2 parents a47d8d9 + c4d237d commit a6f0ff1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charger/easee.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,11 @@ var _ api.PhaseGetter = (*Easee)(nil)
func (c *Easee) GetPhases() (int, error) {
c.mux.RLock()
defer c.mux.RUnlock()
return c.outputPhase, nil
phaseMode := c.phaseMode
if phaseMode == 2 { // map automatic to 3p
phaseMode = 3
}
return phaseMode, nil
}

var _ api.Identifier = (*Easee)(nil)
Expand Down

0 comments on commit a6f0ff1

Please sign in to comment.