zabuldon / teslajsonpy

Apache License 2.0
57 stars 62 forks source link

fix: Valet mode optional argument #374

Closed InTheDaylight14 closed 1 year ago

InTheDaylight14 commented 1 year ago

I missed this paragraph about the valet mode command in Tesla JSON API.

Note: the password parameter isn't required to turn on or off Valet Mode, even with a previous PIN set. If you clear the PIN and activate Valet Mode without the parameter, you will only be able to deactivate it from your car's screen by signing into your Tesla account.

Turning valet mode on and off from the app does not require the pin. That argument is useful for setting a cleared pin. Not useful if the pin is already set.