Skip to content

Commit

Permalink
Merge branch 'vehicle-name' into framboos
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieB2B committed Dec 28, 2024
2 parents 80c76c9 + b33bafa commit f6cf8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TWCManager/Vehicle/TeslaAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ def __init__(self, json, carapi, config):
self.verifyCert = config["config"].get("teslaProxyCert", True)
self.ID = json["id"]
self.VIN = json["vin"]
self.name = json["display_name"]
self.name = json["display_name"] or json["vin"]
if not self.name:
self.name = self.VIN

Expand Down

0 comments on commit f6cf8f2

Please sign in to comment.