From e61bdd6b1a2458baf505991d4134fa360e94c5d9 Mon Sep 17 00:00:00 2001 From: JakobLichterfeld Date: Mon, 20 Nov 2023 18:22:29 +0100 Subject: [PATCH] Revert "Add charging_state to VehicleSummary (#3087)" This reverts commit 6d0405dbff3f231fec89f18fa7635d97dda88ed9. --- lib/teslamate/vehicles/vehicle/summary.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/teslamate/vehicles/vehicle/summary.ex b/lib/teslamate/vehicles/vehicle/summary.ex index 29f8e0b846..f55aa75fc2 100644 --- a/lib/teslamate/vehicles/vehicle/summary.ex +++ b/lib/teslamate/vehicles/vehicle/summary.ex @@ -6,7 +6,7 @@ defmodule TeslaMate.Vehicles.Vehicle.Summary do alias TeslaMate.Log.Car defstruct ~w( - car display_name state since healthy latitude longitude heading battery_level charging_state usable_battery_level + car display_name state since healthy latitude longitude heading battery_level usable_battery_level ideal_battery_range_km est_battery_range_km rated_battery_range_km charge_energy_added speed outside_temp inside_temp is_climate_on is_preconditioning locked sentry_mode plugged_in scheduled_charging_start_time charge_limit_soc charger_power windows_open doors_open @@ -84,7 +84,6 @@ defmodule TeslaMate.Vehicles.Vehicle.Summary do # Charge State battery_level: charge(vehicle, :battery_level), - charging_state: charge(vehicle, :charging_state), charge_current_request: charge(vehicle, :charge_current_request), charge_current_request_max: charge(vehicle, :charge_current_request_max), charge_energy_added: charge(vehicle, :charge_energy_added),