Closed lumichele closed 1 year ago
Another API change! Thanks for reporting. I will fix this tomorrow.
Yes, I suppose that fix is in volvo.py
elif sensor_id == "distance_to_empty": if util.keys_exists(data, "distanceToEmpty"):
ID is changed from distanceToEmpty to distanceToEmptyTank
By..
Jep, this is the fix. Nothing special
Please test v1.8.14 :)
Perfect, it works Thanks
Describe the bug Hi, I'm testing volvo2mqtt on my XC60 2024 PHEV. Integration works correctly except field distance to empy. In volvo2mqtt log there is : INFO : Failed, Distance to Empty is unfortnately not supported by you vehicle. Other fileds (fuel level, eletric range, etc..) are supported (and I receive correct data)
Expected behavior I tested Volvo API https://api.volvocars.com/connected-vehicle/v2/vehicles/VIN/statistics and I receive correct data in field distanceToEmptyTank (that represents distance to empy value) : "distanceToEmptyTank": { "value": 550, "unit": "km",
Version info:
v1.8.13