akamming / Domoticz_VolvoRecharge_Plugin

domoticz plugin for Volvo Recharge Full EV or PHEV vehicles
GNU General Public License v3.0
3 stars 1 forks source link

Error in API #3

Closed akamming closed 1 year ago

akamming commented 1 year ago

Output of API changed to

{ "status": 200, "operationId": "9805da2f-5fc6-4d76-b16d-64bc77b452d4", "data": { "carLocked": { "value": "LOCKED", "name": "carLocked", "timestamp": "2023-03-28T12:30:19Z" }, "frontLeftDoorOpen": { "value": "CLOSED", "name": "frontLeftDoorOpen", "timestamp": "2023-03-28T12:30:19Z" }, "frontRightDoorOpen": { "value": "CLOSED", "name": "frontRightDoorOpen", "timestamp": "2023-03-28T12:30:19Z" }, "rearLeftDoorOpen": { "value": "CLOSED", "name": "rearLeftDoorOpen", "timestamp": "2023-03-28T12:30:19Z" }, "rearRightDoorOpen": { "value": "CLOSED", "name": "rearRightDoorOpen", "timestamp": "2023-03-28T12:30:19Z" }, "hoodOpen": { "value": "CLOSED", "name": "hoodOpen", "timestamp": "2023-03-28T12:30:19Z" }, "tailGateOpen": { "value": "CLOSED", "name": "tailGateOpen", "timestamp": "2023-03-28T12:30:19Z" } } } causing error on plugin (e.g. Hood is now hoodOpen)

akamming commented 1 year ago

Fixed with this commit