skodaconnect / myskoda

Python library for interacting with MySkoda APIs.
MIT License
9 stars 22 forks source link

DoorLockedState not limited to LOCKED / UNLOCKED #18

Closed dvx76 closed 2 months ago

dvx76 commented 2 months ago
pydantic.error_wrappers.ValidationError: 1 validation error for Status
overall -> doorsLocked
  value is not a valid enumeration member; permitted: 'YES', 'NO' (type=type_error.enum; enum_values=[<DoorLockedState.LOCKED: 'YES'>, <DoorLockedState.UNLOCKED: 'NO'>])

response trace:

{
  "overall": {
    "doorsLocked": "TRUNK_OPENED",
    "locked": "NO",
    "doors": "CLOSED",
    "windows": "CLOSED",
    "lights": "OFF"
  },
  "detail": {
    "sunroof": "CLOSED",
    "trunk": "OPEN",
    "bonnet": "CLOSED"
  },