Skip to content

Commit

Permalink
patch it
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <mbuchleitner@infralovers.com>
  • Loading branch information
mabunixda committed Oct 16, 2024
1 parent f0d851a commit 436ecf2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions charger/ocpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/evcc-io/evcc/charger/ocpp"
"github.com/evcc-io/evcc/core/loadpoint"
"github.com/evcc-io/evcc/util"
"github.com/evcc-io/evcc/util/sponsor"
"github.com/lorenzodonini/ocpp-go/ocpp1.6/core"
"github.com/lorenzodonini/ocpp-go/ocpp1.6/types"
"github.com/samber/lo"
Expand Down Expand Up @@ -92,9 +91,9 @@ func NewOCPPFromConfig(other map[string]interface{}) (api.Charger, error) {
return c, err
}

if !sponsor.IsAuthorized() {
return nil, api.ErrSponsorRequired
}
// if !sponsor.IsAuthorized() {
// return nil, api.ErrSponsorRequired
// }

var (
powerG, totalEnergyG, socG func() (float64, error)
Expand Down

0 comments on commit 436ecf2

Please sign in to comment.