Add interior and exterior image entities #62

This commit is contained in:
Linus Dietz
2023-07-09 16:06:13 +02:00
parent 10c3e7bd97
commit 96805d439d
5 changed files with 50 additions and 4 deletions
+1
View File
@@ -125,6 +125,7 @@ def get_vehicle_details(vin):
"model": data['descriptions']['model'],
"name": f"{data['descriptions']['model']} ({data['modelYear']}) - {vin}",
}
mqtt.send_car_images(vin, data, device)
elif response.status_code == 500 and not settings.volvoData["vin"]:
# Workaround for some cars that are not returning vehicle details
device = {