myPV: fix current calculation by enforcing 1p config (#18235)

This commit is contained in:
andig 2025-01-15 16:45:45 +01:00 • committed by GitHub
parent 516993bf50
commit e6e8aa1cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -236,3 +236,10 @@ func (wb *MyPv) GetLimitSoc() (int64, error) {
return int64(binary.BigEndian.Uint16(b)) / 10, nil
}
var _ api.PhaseDescriber = (*MyPv)(nil)
// Phases implements the api.PhasesDescriber interface
func (wb *MyPv) Phases() int {
return 1
}