action enode_get_vehicle_chargestate { label: "Get Vehicle Charge State" provider: enode method: GET path: "/vehicles/{vehicleId}/charge-state" encoding: json output: { type: "object" properties: { batteryCapacity: { type: "number" description: "Vehicle's maximum physical battery capacity in kWh. This number slowly decreases/degrades over time." } batteryLevel: { type: "number" description: "Remaining battery in percent" } chargeLimit: { type: "number" description: "Charge limit, as a percent of `batteryCapacity`." } chargeRate: { type: "number" description: "The current charge rate in kW.\n\nThis property is only available when the vehicle is charging, and is `null` any other time." } chargeTimeRemaining: { type: "number" description: "Estimated time until the current charging intent is completed, in minutes.\n\nThis property is only available when the vehicle is charging, and is `null` any other time." } isCharging: { type: "boolean" description: "Current charging status of the vehicle" } isChargingReasons: { type: "array" description: "Array of string constants that explain why the car is or is not charging. May contain multiple values.\n\n**Any:**\n- DEFAULT - the car is not being controlled by Enode\n\n**Not Charging:**\n- NOT_PLUGGED_IN - because the car is not plugged into a charger\n- FULLY_CHARGED - because the car is fully charged\n- MANUALLY_STOPPED - because the car has been manually commanded to stop charging\n- SMART_CHARGING_DELAY - because Smart Charging has identified an opportunity to delay charging until prices are lower\n\n**Charging:**\n- MANUALLY_STARTED - because the car has been manually commanded to start charging\n- SMART_CHARGING_ACTIVE - because Smart Charging has identified that this is an optimal time to charge\n- SMART_CHARGING_DEADLINE - because, regardless of price, charging must be active to meet the configured deadline" items: { type: "string" enum: [{ override: true }, "DEFAULT"] } } isPluggedIn: { type: "boolean" description: "Indicates whether the vehicle is connected to a charging box (regardless of whether it is actually charging)" } range: { type: "number" description: "Estimated remaining kilometers" } } } }