diff --git a/lib/auto_api/capabilities/diagnostics_capability.ex b/lib/auto_api/capabilities/diagnostics_capability.ex index 6fdb131..b3d50dc 100644 --- a/lib/auto_api/capabilities/diagnostics_capability.ex +++ b/lib/auto_api/capabilities/diagnostics_capability.ex @@ -32,7 +32,7 @@ defmodule AutoApi.DiagnosticsCapability do iex> D.description "Diagnostics" iex> length(D.properties) - 58 + 61 iex> List.first(D.properties) {0x01, :mileage} """ diff --git a/specs/capabilities/diagnostics.json b/specs/capabilities/diagnostics.json index 440b5ed..42f773c 100644 --- a/specs/capabilities/diagnostics.json +++ b/specs/capabilities/diagnostics.json @@ -1465,6 +1465,57 @@ "description": "Estimated primary powertrain`s range is 256.0km" } ] + }, + { + "id": 58, + "name": "estimated_mixed_powertrain_range", + "name_cased": "estimatedMixedPowertrainRange", + "name_pretty": "Estimated mixed powertrain range", + "added": 13, + "type": "unit.length", + "size": 10, + "description": "Estimated distance the vehicle can travel with the current fuel level", + "examples": [ + { + "data_component": "12044070900000000000", + "value": { + "kilometers": 265 + }, + "description": "Estimated mixed powertrain range is 256.0km" + } + ] + }, + { + "id": 59, + "name": "primary_energy_level", + "name_cased": "primaryEnergyLevel", + "name_pretty": "Primary energy level", + "added": 13, + "type": "types.percentage", + "description": "Primary energy percentage between 0.0-1.0", + "examples": [ + { + "data_component": "3fe999999999999a", + "value": 0.8, + "description": "Primary energy level is at 80%" + } + ] + }, + { + "id": 60, + "name": "secondary_energy_level", + "name_cased": "secondaryEnergyLevel", + "name_pretty": "Secondary energy level", + "added": 13, + "type": "types.percentage", + "description": "Secondary energy percentage between 0.0-1.0", + "examples": [ + { + "data_component": "3fe999999999999a", + "value": 0.8, + "description": "Secondary energy level is at 80%" + } + ] } ] }