chore: minor

This commit is contained in:
andig 2025-11-29 11:23:30 +01:00
parent 8fb8cee72d
commit b678f00ddd

View file

@ -25,12 +25,12 @@ func init() {
} }
func NewTessieFromConfig(ctx context.Context, other map[string]any) (api.Charger, error) { func NewTessieFromConfig(ctx context.Context, other map[string]any) (api.Charger, error) {
cc := struct { var cc struct {
Vin string Vin string
Token string Token string
Location string Location string
Maxcurrent int64 Maxcurrent int64
}{} }
if err := util.DecodeOther(other, &cc); err != nil { if err := util.DecodeOther(other, &cc); err != nil {
return nil, err return nil, err