myPV: fix current calculation by enforcing 1p config (#18235)
This commit is contained in:
parent
516993bf50
commit
e6e8aa1cad
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue