Skip to content

Commit

Permalink
Merge pull request #597 from ngardiner/no_display
Browse files Browse the repository at this point in the history
No display name?
  • Loading branch information
ngardiner authored Dec 11, 2024
2 parents 200d9f4 + 7a7e442 commit 6776af5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/TWCManager/Vehicle/TeslaAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,8 @@ def __init__(self, json, carapi, config):
self.ID = json["id"]
self.VIN = json["vin"]
self.name = json["display_name"]
if not self.name:
self.name = self.VIN

# Launch sync monitoring thread
Thread(target=self.checkSyncNotStale).start()
Expand Down

0 comments on commit 6776af5

Please sign in to comment.