Allow promoting any vehicle config to cloud usage (#2549)
This commit is contained in:
parent
ff193a6211
commit
da94c8761f
5 changed files with 29 additions and 11 deletions
|
|
@ -10,6 +10,7 @@ import (
|
|||
|
||||
"github.com/evcc-io/evcc/api"
|
||||
"github.com/evcc-io/evcc/util"
|
||||
"github.com/evcc-io/evcc/util/sponsor"
|
||||
"github.com/evcc-io/evcc/vehicle"
|
||||
)
|
||||
|
||||
|
|
@ -49,6 +50,10 @@ func main() {
|
|||
case "action":
|
||||
action = arg
|
||||
key = ""
|
||||
case "token":
|
||||
sponsor.Subject = arg // TODO placeholder
|
||||
sponsor.Token = arg
|
||||
key = ""
|
||||
default:
|
||||
params[key] = arg
|
||||
key = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue