bogosj / tesla

Provides a wrapper around the API to easily query and command a Telsa car.
Other
22 stars 18 forks source link

Support for setting operation mode on a Powerwall #142

Open mikecardwell opened 2 months ago

mikecardwell commented 2 months ago

Support for setting the operation mode of a Tesla Powerwall:

err := powerwall.SetOperationMode(tesla.SelfConsumption)
err := powerwall.SetOperationMode(tesla.Autonomous)