apwelsh / hubitat

MIT License
26 stars 12 forks source link

Tesla device app - expecting ')', found '}' @ line 98, column 13. #11

Closed 4rsfed closed 4 years ago

4rsfed commented 4 years ago

Hubitat will not accept the driver code for tesla.groovy

expecting ')', found '}' @ line 98, column 13.

apwelsh commented 4 years ago

This has not been released. The driver is being co-developed by a friend of mine and myself, as I do not own a Tesla to test with. I know there are bugs which i will upload the fixes for. I just need to get the other changes to be merged with my changes. Since you found this, I will try to get it done quickly.

4rsfed commented 4 years ago

I have a tesla, and am happy to help :) Trent's version did work, but I deleted it since yours was newer.

apwelsh commented 4 years ago

My version was created to solve a few specific things: when the car leaves a certain distance from hone, it enters away mode (as a presence sensor) and the update get less aggressive the further from home you are, based on travel speed. This is used to auto-close a garage door as one leaves home, and auto-open as one approaches home. But is also used to schedule charging for off peak hours or when batteries go below a certain threshold.