Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Nov 21, 2024
1 parent d53893a commit 4f3b676
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions charger/stiebel-isg.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,9 @@ func (wb *StiebelIsg) Soc() (float64, error) {

var _ api.SocLimiter = (*StiebelIsg)(nil)

func (wb *StiebelIsg) TargetSoc() (float64, error) {
// TODO soll
// soll, _, err := wb.sollIst()
// return soll, err
return 100, nil
func (wb *StiebelIsg) GetLimitSoc() (int64, error) {
soll, _, err := wb.sollIst()
return int64(soll), err
}

var _ api.Diagnosis = (*StiebelIsg)(nil)
Expand Down

0 comments on commit 4f3b676

Please sign in to comment.