Skip to content

Commit

Permalink
Update summary.ex
Browse files Browse the repository at this point in the history
Added cabin overheat protection.
  • Loading branch information
cwanja committed Aug 16, 2023
1 parent f63e6a8 commit 979054a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/teslamate/vehicles/vehicle/summary.ex
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ defmodule TeslaMate.Vehicles.Vehicle.Summary do
is_preconditioning: get_in_struct(vehicle, [:climate_state, :is_preconditioning]),
outside_temp: get_in_struct(vehicle, [:climate_state, :outside_temp]),
inside_temp: get_in_struct(vehicle, [:climate_state, :inside_temp]),
cabin_overheat_protection: get_in_struct(vehicle, [:climate_state, :cabin_overheat_protection]),
cabin_overheat_protection_actively_cooling: get_in_struct(vehicle, [:climate_state, :cabin_overheat_protection_actively_cooling]),

# Vehicle State
odometer: get_in_struct(vehicle, [:vehicle_state, :odometer]) |> miles_to_km(2),
Expand Down

0 comments on commit 979054a

Please sign in to comment.