From f63e6a8e7d7bdb8b8efbb6143aa37799526a3e36 Mon Sep 17 00:00:00 2001 From: cwanja <54645561+cwanja@users.noreply.github.com> Date: Wed, 16 Aug 2023 13:08:22 -0500 Subject: [PATCH] Update vehicle.ex Added climate overheat protection status. --- lib/teslamate/vehicles/vehicle.ex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/teslamate/vehicles/vehicle.ex b/lib/teslamate/vehicles/vehicle.ex index 147be4d8de..2ef9fd4ce8 100644 --- a/lib/teslamate/vehicles/vehicle.ex +++ b/lib/teslamate/vehicles/vehicle.ex @@ -1160,7 +1160,9 @@ defmodule TeslaMate.Vehicles.Vehicle do climate = %Climate{ outside_temp: position.outside_temp, - inside_temp: position.inside_temp + inside_temp: position.inside_temp, + cabin_overheat_protection: position.cabin_overheat_protection, + cabin_overheat_protection_actively_cooling: position.cabin_overheat_protection_actively_cooling } vehicle_state = %VehicleState{ @@ -1261,6 +1263,8 @@ defmodule TeslaMate.Vehicles.Vehicle do passenger_temp_setting: vehicle.climate_state.passenger_temp_setting, is_rear_defroster_on: vehicle.climate_state.is_rear_defroster_on, is_front_defroster_on: vehicle.climate_state.is_front_defroster_on, + cabin_overheat_protection: vehicle.climate_state.cabin_overheat_protection, + cabin_overheat_protection_actively_cooling: vehicle.climate_state.cabin_overheat_protection_actively_cooling battery_heater_on: vehicle.charge_state.battery_heater_on, battery_heater: vehicle.climate_state.battery_heater, battery_heater_no_power: vehicle.climate_state.battery_heater_no_power,