From 78ed8a9477d0969bc9ef20b6cbed888739cb3f8c Mon Sep 17 00:00:00 2001 From: gak Date: Wed, 30 Aug 2023 14:39:12 +1000 Subject: [PATCH] fix: #2 tesla removed this endpoint --- src/vehicles.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vehicles.rs b/src/vehicles.rs index 90b652f..dde9db7 100644 --- a/src/vehicles.rs +++ b/src/vehicles.rs @@ -9,7 +9,6 @@ use serde::{Deserialize, Serialize}; impl Api { get!(vehicles, Vec, "/vehicles"); get_arg!(vehicle_data, VehicleData, "/vehicles/{}/vehicle_data", VehicleId); - get_arg!(charge_state, ChargeState, "/vehicles/{}/data_request/charge_state", VehicleId); post_arg!(set_charge_limit, SetChargeLimit, "/vehicles/{}/command/set_charge_limit", VehicleId); post_arg!(set_charging_amps, SetChargingAmps, "/vehicles/{}/command/set_charging_amps", VehicleId); post_arg_empty!(charge_start, "/vehicles/{}/command/charge_start", VehicleId);