onokje / node-red-contrib-tesla

Node red nodes to control Tesla vehicles and devices
MIT License
20 stars 11 forks source link

Fix trunk and frunk open calls #17

Closed markrietveld closed 2 years ago

markrietveld commented 3 years ago

The openTrunkAsync call in TeslaJs takes a second parameter, which determines whether the trunk or the frunk will be opened. That parameter was missing. This change adds the parameter, and adds a new method to open the frunk. See https://github.com/mseminatore/TeslaJS/blob/414d850492dc93b280f12a96da29f4ecf4e1493e/docs/DOCS.md#openTrunkAsync

I don't really know how to test this locally. I know the method is not working in the latest release, and I think this will fix it, but I haven't confirmed that.

onokje commented 2 years ago

Thanks for your contribution :)