Skip to content

Commit

Permalink
Revert "Add charging_state to VehicleSummary (#3087)"
Browse files Browse the repository at this point in the history
This reverts commit 6d0405d.
  • Loading branch information
JakobLichterfeld authored Nov 20, 2023
1 parent 66e8ffd commit e61bdd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/teslamate/vehicles/vehicle/summary.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit e61bdd6

Please sign in to comment.