diff --git a/fixtures/kamiq.yaml b/fixtures/kamiq.yaml new file mode 100755 index 00000000..d2bb1c3d --- /dev/null +++ b/fixtures/kamiq.yaml @@ -0,0 +1,492 @@ +description: null +generation_time: '2024-11-08T19:31:45.927310+00:00' +name: Kamiq +reports: +- endpoint: info + error: null + raw: '{"vin": "TMOCKAA0AA000000", "name": "Example Car", "workshopModeEnabled": + false, "licensePlate": "HH AA 1234", "state": "ACTIVATED", "devicePlatform": "MBB_ODP", + "specification": {"title": "\u0160koda Kamiq", "manufacturingDate": "2021-02-10", + "model": "Kamiq", "modelYear": "2021", "body": "Crossover", "systemCode": "UNKNOWN", + "systemModelId": "NW44KD", "engine": {"type": "TSI", "powerInKW": 110, "capacityInLiters": + 1.5}, "gearbox": {"type": "A7F"}}, "servicePartner": {"servicePartnerId": "DEU11111"}, + "renders": [{"url": "https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}, {"url": "https://ip-modcwp.azureedge.net/modcwpnw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-1920658dayvext_side1080.png?v=638625258530000000", + "viewPoint": "garage_l", "type": "REAL", "order": 1}, {"url": "https://ip-modcwp.azureedge.net/modcwpnw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-700390dayvext_front1080.png?v=637859752970000000", + "viewPoint": "main", "type": "REAL", "order": 2}], "compositeRenders": [{"layers": + [{"url": "https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}], "viewType": "UNMODIFIED_EXTERIOR_SIDE"}, + {"layers": [{"url": "https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png", + "viewPoint": "exterior_side", "type": "REAL", "order": 0}], "modifications": {"adjustSpaceInPx": + {"top": -338, "bottom": -201, "left": -187, "right": -206}, "densityIndependentHeight": + 270, "flipHorizontal": false, "anchorTo": "LEFT"}, "viewType": "HOME"}], "capabilities": + {"capabilities": [{"id": "ACCESS", "statuses": []}, {"id": "DEALER_APPOINTMENT", + "statuses": []}, {"id": "GEO_FENCE", "statuses": []}, {"id": "HONK_AND_FLASH", + "statuses": []}, {"id": "MEASUREMENTS", "statuses": []}, {"id": "NEWS", "statuses": + ["LICENSE_MISSING"]}, {"id": "PARKING_POSITION", "statuses": []}, {"id": "ROADSIDE_ASSISTANT", + "statuses": []}, {"id": "SPEED_ALERT", "statuses": []}, {"id": "STATE", "statuses": + []}, {"id": "TRIP_STATISTICS", "statuses": []}, {"id": "VEHICLE_HEALTH_INSPECTION", + "statuses": []}, {"id": "WARNING_LIGHTS", "statuses": []}, {"id": "VEHICLE_WAKE_UP", + "statuses": []}, {"id": "PAY_TO_FUEL", "statuses": []}, {"id": "CUBIC", "statuses": + []}, {"id": "SUBSCRIPTIONS", "statuses": []}, {"id": "DESTINATIONS", "statuses": + ["LICENSE_MISSING", "LICENSE_EXPIRED"]}, {"id": "ICE_VEHICLE_RTS", "statuses": + []}, {"id": "OUTSIDE_TEMPERATURE", "statuses": []}, {"id": "DIGICERT", "statuses": + []}, {"id": "VEHICLE_HEALTH_WARNINGS", "statuses": []}, {"id": "PAY_TO_PARK", + "statuses": []}, {"id": "FUEL_STATUS", "statuses": []}, {"id": "SERVICE_PARTNER", + "statuses": []}, {"id": "ROUTE_IMPORT", "statuses": []}, {"id": "MISUSE_PROTECTION", + "statuses": []}]}}' + result: + capabilities: + capabilities: + - id: ACCESS + statuses: [] + - id: DEALER_APPOINTMENT + statuses: [] + - id: GEO_FENCE + statuses: [] + - id: HONK_AND_FLASH + statuses: [] + - id: MEASUREMENTS + statuses: [] + - id: NEWS + statuses: + - LICENSE_MISSING + - id: PARKING_POSITION + statuses: [] + - id: ROADSIDE_ASSISTANT + statuses: [] + - id: SPEED_ALERT + statuses: [] + - id: STATE + statuses: [] + - id: TRIP_STATISTICS + statuses: [] + - id: VEHICLE_HEALTH_INSPECTION + statuses: [] + - id: WARNING_LIGHTS + statuses: [] + - id: VEHICLE_WAKE_UP + statuses: [] + - id: PAY_TO_FUEL + statuses: [] + - id: CUBIC + statuses: [] + - id: SUBSCRIPTIONS + statuses: [] + - id: DESTINATIONS + statuses: + - LICENSE_MISSING + - LICENSE_EXPIRED + - id: ICE_VEHICLE_RTS + statuses: [] + - id: OUTSIDE_TEMPERATURE + statuses: [] + - id: DIGICERT + statuses: [] + - id: VEHICLE_HEALTH_WARNINGS + statuses: [] + - id: PAY_TO_PARK + statuses: [] + - id: FUEL_STATUS + statuses: [] + - id: SERVICE_PARTNER + statuses: [] + - id: ROUTE_IMPORT + statuses: [] + - id: MISUSE_PROTECTION + statuses: [] + composite_renders: + - layers: + - order: 0 + type: REAL + url: https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png + view_point: exterior_side + view_type: UNMODIFIED_EXTERIOR_SIDE + - layers: + - order: 0 + type: REAL + url: https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png + view_point: exterior_side + view_type: HOME + device_platform: MBB_ODP + errors: null + license_plate: HH AA 1234 + name: Example Car + renders: + - order: 0 + type: REAL + url: https://skodavinimagecache.blob.core.windows.net/cachenw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-19201080dayvext_side1080.png + view_point: exterior_side + - order: 1 + type: REAL + url: https://ip-modcwp.azureedge.net/modcwpnw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-1920658dayvext_side1080.png?v=638625258530000000 + view_point: garage_l + - order: 2 + type: REAL + url: https://ip-modcwp.azureedge.net/modcwpnw4s21201021/0F0F.t8RiJgm-IcSa0qTEufOlvBkVdoQ-ZoU37WQvu9espcI0TxjG-epBt81ymG4_liJ-Z0Owlb.iL4rCSFKnQ8fx5-boDIdhkCTqWgnKRiZt-700390dayvext_front1080.png?v=637859752970000000 + view_point: main + service_partner: + id: DEU11111 + software_version: null + specification: + battery: null + body: Crossover + engine: + capacity_in_liters: 1.5 + power: 110 + type: TSI + manufacturing_date: '2021-02-10' + max_charging_power: null + model: Kamiq + model_year: '2021' + system_code: UNKNOWN + system_model_id: NW44KD + title: "\u0160koda Kamiq" + trim_level: null + state: ACTIVATED + vin: TMOCKAA0AA000000 + workshop_mode_enabled: false + success: true + type: get + url: /v2/garage/vehicles/TMOCKAA0AA000000?connectivityGenerations=MOD1&connectivityGenerations=MOD2&connectivityGenerations=MOD3&connectivityGenerations=MOD4 + vehicle_id: 0 +- endpoint: status + error: null + raw: '{"overall": {"doorsLocked": "UNKNOWN", "locked": "UNKNOWN", "doors": "UNKNOWN", + "windows": "UNKNOWN", "lights": "OFF"}, "detail": {"sunroof": "UNSUPPORTED", "trunk": + "UNKNOWN", "bonnet": "UNKNOWN"}, "renders": {"lightMode": {"oneX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1x&theme=LIGHT", + "oneAndHalfX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1-5x&theme=LIGHT", + "twoX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=2x&theme=LIGHT", + "threeX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=3x&theme=LIGHT"}, + "darkMode": {"oneX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1x&theme=DARK", + "oneAndHalfX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1-5x&theme=DARK", + "twoX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=2x&theme=DARK", + "threeX": "https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=3x&theme=DARK"}}}' + result: + car_captured_timestamp: null + detail: + bonnet: UNKNOWN + sunroof: UNSUPPORTED + trunk: UNKNOWN + overall: + doors: UNKNOWN + doors_locked: UNKNOWN + lights: 'OFF' + locked: UNKNOWN + windows: UNKNOWN + renders: + dark_mode: + one_and_half_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1-5x&theme=DARK + one_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1x&theme=DARK + three_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=3x&theme=DARK + two_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=2x&theme=DARK + light_mode: + one_and_half_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1-5x&theme=LIGHT + one_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=1x&theme=LIGHT + three_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=3x&theme=LIGHT + two_x: https://mysmob.api.connect.skoda-auto.cz/api/v2/vehicle-status/render?carType=SUV&vehicleState=9-9-9-9-0-0-3-3-0&lastModifiedAt=1730291332&dimension=2x&theme=LIGHT + success: true + type: get + url: /v2/vehicle-status/TMOCKAA0AA000000 + vehicle_id: 0 +- endpoint: air_conditioning + error: null + raw: '{"state": "INVALID", "runningRequests": [], "steeringWheelPosition": "LEFT", + "windowHeatingState": {"front": "INVALID", "rear": "INVALID", "unspecified": "INVALID"}, + "timers": [], "errors": [{"type": "UNAVAILABLE_VEHICLE_INFORMATION", "description": + "APIs for obtaining seat heating status are not available"}, {"type": "UNAVAILABLE_TIMERS_INFORMATION", + "description": "APIs for obtaining air conditioning timers are not available"}, + {"type": "UNAVAILABLE_CHARGING_INFORMATION", "description": "APIs for obtaining + power cable connection/lock information are not available"}]}' + result: + air_conditioning_at_unlock: null + air_conditioning_without_external_power: null + car_captured_timestamp: null + charger_connection_state: null + charger_lock_state: null + errors: + - description: APIs for obtaining seat heating status are not available + type: UNAVAILABLE_VEHICLE_INFORMATION + - description: APIs for obtaining air conditioning timers are not available + type: UNAVAILABLE_TIMERS_INFORMATION + - description: APIs for obtaining power cable connection/lock information are + not available + type: UNAVAILABLE_CHARGING_INFORMATION + estimated_date_time_to_reach_target_temperature: null + heater_source: null + seat_heating_activated: null + state: INVALID + steering_wheel_position: LEFT + target_temperature: null + timers: [] + window_heating_enabled: null + window_heating_state: + front: INVALID + rear: INVALID + unspecified: INVALID + success: true + type: get + url: /v2/air-conditioning/TMOCKAA0AA000000 + vehicle_id: 0 +- endpoint: positions + error: null + raw: '{"positions": [], "errors": [{"type": "VEHICLE_POSITION_UNAVAILABLE", "description": + "Vehicle position is not available"}]}' + result: + errors: + - description: Vehicle position is not available + type: VEHICLE_POSITION_UNAVAILABLE + positions: [] + success: true + type: get + url: /v1/maps/positions?vin=TMOCKAA0AA000000 + vehicle_id: 0 +- endpoint: health + error: "Traceback (most recent call last):\n File \"/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py\", + line 321, in generate_fixture_report\n result = await self.get_endpoint(vin, + endpoint, anonymize=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n + \ File \"/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py\", line 356, + in get_endpoint\n result = await self.rest_api.get_health(vin, anonymize=anonymize)\n + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File + \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", line 213, in + get_health\n data=await self._make_get_request(url),\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n + \ File \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", line 95, + in _make_get_request\n return await self._make_request(url=url, method=\"GET\")\n + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", + line 85, in _make_request\n response.raise_for_status()\n File \"/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py\", + line 1157, in raise_for_status\n raise ClientResponseError(\naiohttp.client_exceptions.ClientResponseError: + 500, message='Internal Server Error', url='https://mysmob.api.connect.skoda-auto.cz/api/v1/vehicle-health-report/warning-lights/TMOCKAA0AA000000'\n" + raw: null + result: null + success: false + type: get + url: null + vehicle_id: 0 +- endpoint: charging + error: null + raw: '{"isVehicleInSavedLocation": false, "settings": {"availableChargeModes": []}, + "errors": [{"type": "CARE_MODE_IS_NOT_AVAILABLE", "description": "Care mode is + not available."}, {"type": "AUTO_UNLOCK_IS_NOT_AVAILABLE", "description": "Auto + unlock is not available."}, {"type": "MAX_CHARGE_CURRENT_IS_NOT_AVAILABLE", "description": + "Maximal charge current is not available."}, {"type": "CHARGE_LIMIT_IS_NOT_AVAILABLE", + "description": "Charge limit is not available."}]}' + result: + car_captured_timestamp: null + errors: + - description: Care mode is not available. + type: CARE_MODE_IS_NOT_AVAILABLE + - description: Auto unlock is not available. + type: AUTO_UNLOCK_IS_NOT_AVAILABLE + - description: Maximal charge current is not available. + type: MAX_CHARGE_CURRENT_IS_NOT_AVAILABLE + - description: Charge limit is not available. + type: CHARGE_LIMIT_IS_NOT_AVAILABLE + is_vehicle_in_saved_location: false + settings: + auto_unlock_plug_when_charged: null + available_charge_modes: [] + battery_support: null + charging_care_mode: null + max_charge_current_ac: null + preferred_charge_mode: null + target_state_of_charge_in_percent: null + status: null + success: true + type: get + url: /v1/charging/TMOCKAA0AA000000 + vehicle_id: 0 +- endpoint: maintenance + error: null + raw: '{"maintenanceReport": {"capturedAt": "2024-11-08T17:46:17Z", "inspectionDueInDays": + 490, "inspectionDueInKm": 15500, "mileageInKm": 77040, "oilServiceDueInDays": + 490, "oilServiceDueInKm": 15500}, "preferredServicePartner": {"name": "Example + Service Partner", "brand": "C", "partnerNumber": "1111", "id": "DEU11111", "contact": + {"phone": "+49 1234 567890", "url": "https://example.com", "email": "user@example.com"}, + "address": {"city": "Example City", "street": "Example Avenue", "houseNumber": + "15", "zipCode": "54321", "countryCode": "DEU"}, "location": {"latitude": 53.470636, + "longitude": 9.689872}, "openingHours": [{"periodStart": "MONDAY", "periodEnd": + "FRIDAY", "openingTimes": [{"from": "08:00:00", "to": "17:00:00"}]}, {"periodStart": + "SATURDAY", "periodEnd": "SATURDAY", "openingTimes": [{"from": "09:00:00", "to": + "13:00:00"}]}, {"periodStart": "SUNDAY", "periodEnd": "SUNDAY", "openingTimes": + []}]}, "predictiveMaintenance": {"setting": {"serviceActivated": true, "email": + "user@example.com", "phone": "+49 1234 567890"}}, "customerService": {"activeBookings": + [], "bookingHistory": [{"creationDate": "2024-01-12T10:25:49Z", "confirmationDate": + "2024-01-12T10:30:23.431Z", "closedDate": "2024-03-13T07:37:00Z", "appointmentDate": + "2024-03-13T07:37:00Z", "contactedDate": "2024-01-15T08:22:35Z", "updateDate": + "2024-03-30T02:11:11.255Z", "servicePartner": {"name": "Garage Korterink", "brand": + "C", "partnerNumber": "00156", "id": "NLDC00156", "contact": {"phone": "0522-291206", + "email": "werkplaats@korterinkautos.nl"}, "address": {"street": "Oude Rijksweg + 512", "zipCode": "7954 GG", "city": "Rouveen", "countryCode": "NLD"}, "location": + {"latitude": 52.585976, "longitude": 6.192439}, "openingHours": []}, "bookingId": + "4b437397-9f76-4bc9-8972-bb4af0fc9d31-1705055157793", "mileageInKm": 58777, "resolution": + "APPOINTMENT", "type": "AUTO", "extras": [], "addOns": {}, "warnings": [{"iconName": + "", "messageId": "A644", "notificationId": 42564, "text": "42564"}]}, {"creationDate": + "2023-08-17T11:32:50Z", "acceptedDate": "2023-08-17T12:32:07Z", "confirmationDate": + "2023-08-17T11:35:01.656Z", "closedDate": "2023-08-18T05:58:02Z", "updateDate": + "2023-08-18T06:00:05.449Z", "servicePartner": {"name": "Garage Korterink", "brand": + "C", "partnerNumber": "00156", "id": "NLDC00156", "contact": {"phone": "0522-291206", + "email": "werkplaats@korterinkautos.nl"}, "address": {"street": "Oude Rijksweg + 512", "zipCode": "7954 GG", "city": "Rouveen", "countryCode": "NLD"}, "location": + {"latitude": 52.585976, "longitude": 6.192439}, "openingHours": []}, "bookingId": + "426ff0a7-8f11-44f9-a235-ebe259c4b52c-1692271996343", "mileageInKm": 49670, "resolution": + "REJECTED", "type": "AUTO", "extras": [], "addOns": {}, "warnings": [{"iconName": + "", "messageId": "A224", "notificationId": 41508, "text": "Please add maximum + n.a. of oil. You can continue driving."}]}]}}' + result: + maintenance_report: + captured_at: '2024-11-08T17:46:17+00:00' + inspection_due_in_days: 490 + inspection_due_in_km: 15500 + mileage_in_km: 77040 + oil_service_due_in_days: 490 + oil_service_due_in_km: 15500 + predictive_maintenance: + setting: + email: user@example.com + phone: +49 1234 567890 + preferred_channel: null + service_activated: true + preferred_service_partner: + address: + city: Example City + country: null + country_code: DEU + house_number: '15' + street: Example Avenue + zip_code: '54321' + brand: C + contact: + email: user@example.com + phone: +49 1234 567890 + url: https://example.com + id: DEU11111 + location: + latitude: 53.470636 + longitude: 9.689872 + name: Example Service Partner + opening_hours: + - opening_times: + - end: '17:00:00' + start: 08:00:00 + period_end: FRIDAY + period_start: MONDAY + - opening_times: + - end: '13:00:00' + start: 09:00:00 + period_end: SATURDAY + period_start: SATURDAY + - opening_times: [] + period_end: SUNDAY + period_start: SUNDAY + partner_number: '1111' + success: true + type: get + url: /v3/vehicle-maintenance/vehicles/TMOCKAA0AA000000 + vehicle_id: 0 +- endpoint: driving_range + error: null + raw: '{"carType": "gasoline", "totalRangeInKm": 770, "primaryEngineRange": {"engineType": + "gasoline", "currentSoCInPercent": 91, "currentFuelLevelInPercent": 91, "remainingRangeInKm": + 770}, "carCapturedTimestamp": "2024-11-08T17:46:18Z"}' + result: + ad_blue_range: null + car_captured_timestamp: '2024-11-08T17:46:18+00:00' + car_type: gasoline + primary_engine_range: + current_fuel_level_in_percent: 91 + current_soc_in_percent: 91 + engine_type: gasoline + remaining_range_in_km: 770 + secondary_engine_range: null + total_range_in_km: 770 + success: true + type: get + url: /v2/vehicle-status/TMOCKAA0AA000000/driving-range + vehicle_id: 0 +- endpoint: trip_statistics + error: "Traceback (most recent call last):\n File \"/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py\", + line 321, in generate_fixture_report\n result = await self.get_endpoint(vin, + endpoint, anonymize=True)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n + \ File \"/usr/local/lib/python3.12/site-packages/myskoda/myskoda.py\", line 364, + in get_endpoint\n result = await self.rest_api.get_trip_statistics(vin, anonymize=anonymize)\n + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n + \ File \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", line 187, + in get_trip_statistics\n data=await self._make_get_request(url),\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n + \ File \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", line 95, + in _make_get_request\n return await self._make_request(url=url, method=\"GET\")\n + \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/myskoda/rest_api.py\", + line 85, in _make_request\n response.raise_for_status()\n File \"/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py\", + line 1157, in raise_for_status\n raise ClientResponseError(\naiohttp.client_exceptions.ClientResponseError: + 500, message='Internal Server Error', url='https://mysmob.api.connect.skoda-auto.cz/api/v1/trip-statistics/TMOCKAA0AA000000?offsetType=week&offset=0&timezone=Europe/Berlin'\n" + raw: null + result: null + success: false + type: get + url: null + vehicle_id: 0 +vehicles: +- capabilities: + - id: ACCESS + statuses: [] + - id: DEALER_APPOINTMENT + statuses: [] + - id: GEO_FENCE + statuses: [] + - id: HONK_AND_FLASH + statuses: [] + - id: MEASUREMENTS + statuses: [] + - id: NEWS + statuses: + - LICENSE_MISSING + - id: PARKING_POSITION + statuses: [] + - id: ROADSIDE_ASSISTANT + statuses: [] + - id: SPEED_ALERT + statuses: [] + - id: STATE + statuses: [] + - id: TRIP_STATISTICS + statuses: [] + - id: VEHICLE_HEALTH_INSPECTION + statuses: [] + - id: WARNING_LIGHTS + statuses: [] + - id: VEHICLE_WAKE_UP + statuses: [] + - id: PAY_TO_FUEL + statuses: [] + - id: CUBIC + statuses: [] + - id: SUBSCRIPTIONS + statuses: [] + - id: DESTINATIONS + statuses: + - LICENSE_MISSING + - LICENSE_EXPIRED + - id: ICE_VEHICLE_RTS + statuses: [] + - id: OUTSIDE_TEMPERATURE + statuses: [] + - id: DIGICERT + statuses: [] + - id: VEHICLE_HEALTH_WARNINGS + statuses: [] + - id: PAY_TO_PARK + statuses: [] + - id: FUEL_STATUS + statuses: [] + - id: SERVICE_PARTNER + statuses: [] + - id: ROUTE_IMPORT + statuses: [] + - id: MISUSE_PROTECTION + statuses: [] + device_platform: MBB_ODP + id: 0 + model: Kamiq + model_year: '2021' + software_version: null + system_model_id: NW44KD + trim_level: null