Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openTrunkAsync has the wrong string constant #52

Open
thevalyreangroup opened this issue Jul 9, 2022 · 2 comments
Open

openTrunkAsync has the wrong string constant #52

thevalyreangroup opened this issue Jul 9, 2022 · 2 comments

Comments

@thevalyreangroup
Copy link

            case 'openFrunk':
                return tjs.openTrunkAsync({authToken, vehicleID}, "front");
            case 'openTrunk':
                return tjs.openTrunkAsync({authToken, vehicleID}, "rear");

Those two string should be "TRUNK" and "FRUNK". See TeslaJS openFrunkASYNC

@thevalyreangroup
Copy link
Author

Well, scratch that. It appears "front" and "rear" is correct. This was fixed in commit Dec 28

But the version in NPM still contains the bug. Perhaps the NPM package hasn't been updated correctly?

@lunix80
Copy link

lunix80 commented May 10, 2023

Just change in the src/testla.js file "frunk" => "front" and "trunk" => "rear". Then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants