Skip to content

Commit

Permalink
fix: Re-add usable_battery_level from mqtt (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagstuan committed Nov 5, 2023
1 parent cd55138 commit 23928a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/tesla_custom/teslamate.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def cast_car_state(state: str, car: TeslaCar) -> (str, str):
"rated_battery_range_km": ("battery_range", cast_km_to_miles),
"est_battery_range_km": ("est_battery_range", cast_km_to_miles),
"ideal_battery_range_km": ("ideal_battery_range", cast_km_to_miles),
"usable_battery_level": ("usable_battery_level", float),
"charge_energy_added": ("charge_energy_added", float),
"charger_actual_current": ("charger_actual_current", int),
"charger_power": ("charger_power", int),
Expand Down

0 comments on commit 23928a0

Please sign in to comment.