diff --git a/lib/teslamate/vehicles/vehicle/summary.ex b/lib/teslamate/vehicles/vehicle/summary.ex index ccf85e574b..f111f2aa33 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 usable_battery_level + car display_name state since healthy latitude longitude heading battery_level charging_state 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 @@ -83,6 +83,7 @@ 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),