Skip to content

Commit e6e8aa1

Browse files
authored
myPV: fix current calculation by enforcing 1p config (evcc-io#18235)
1 parent 516993b commit e6e8aa1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

charger/mypv.go

+7
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,10 @@ func (wb *MyPv) GetLimitSoc() (int64, error) {
236236

237237
return int64(binary.BigEndian.Uint16(b)) / 10, nil
238238
}
239+
240+
var _ api.PhaseDescriber = (*MyPv)(nil)
241+
242+
// Phases implements the api.PhasesDescriber interface
243+
func (wb *MyPv) Phases() int {
244+
return 1
245+
}

0 commit comments

Comments
 (0)