tillsteinbach / WeConnect-python

Python API for the Volkswagen WeConnect Services
MIT License
105 stars 28 forks source link

Add new error state fail_plug_disconnected #103

Closed madd0 closed 1 year ago

madd0 commented 1 year ago

I'm using volkswagen_we_connect_id which is based on this library and recently started seeing the following error message:

/vehicles/<VIN>/domains/charging/chargingStatus/request/<Guid>/status: An unsupported status: fail_plug_disconnected was provided, known values are [successful, fail, polling_timeout, in_progress, queued, delayed, timeout, fail_vehicle_is_offline, fail_ignition_on, fail_battery_low, fail_plug_error, fail_charge_plug_not_connected, fail_no_external_power, unknown status] please report this as a bug

This PR adds this new error state being returned by the API. I chose the enum to add it to based on the list of other currently supported states.

tillsteinbach commented 1 year ago

Thank you for your contribution!