onokje / node-red-contrib-tesla

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

Fix frunk/trunk opening #35

Closed ianwitherow closed 2 years ago

ianwitherow commented 2 years ago

This fixes the calls for openFunk and openTrunk.

I think there was some confusion from the TeslaJS docs; for openTrunk it says to pass a FRUNK or TRUNK constant (set to 'front' and 'rear' respectively), but openTrunkAsync says to pass a string of "trunk" or "frunk" - I think they just messed that part up.

I've tested this with "front" and "rear" and confirmed they are working.

ianwitherow commented 2 years ago

Fixes #21

onokje commented 2 years ago

Thanks for your contribution :+1: