Closed baylanger closed 3 months ago
Now sure if the panel will automatically show the newly added buttons/etc or if a browser refresh will be required. To be tested.
Nice addition. I will take time to read through today
I just added a check to on "send_key" result but it doesn't mean that the key was added to the car.
We could probably do better... call for tesla-control "ping" and only once we can communicate with the car that we populate the device's car panel.
I can't continue but so far, this works pretty good. Just need to decide how much logic / time we want to put.
I find it's a nice improvement to start with, might need to adjust a few more things and this PR will be ready to go.
Now that the keys are generated, currently there's no way for the addon to know if the pub was deployed successfully or not. We could drop a file ~ $vin_key.deployed
We could also rely on presence detection and/or "tesla-control ping" to show or not the all "command buttons".
"tesla-control ping" - if the car is present - could tell us if the key is valid or not.
Closing this PR, new PR #75
This PR is to try to minimize information shows in the device's HA panel.
When a new car is added:
Once the keys have been generate
Public key has been deployed (we don't have confirmation yet, WIP)