Skip to content

Commit

Permalink
fix(USA KIA): EV Driving Distance
Browse files Browse the repository at this point in the history
Mapped to wrong location.
  • Loading branch information
cdnninja committed Jan 19, 2023
1 parent 3f87432 commit b14798f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyundai_kia_connect_api/KiaUvoAPIUSA.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def _update_vehicle_properties(self, vehicle: Vehicle, state: dict) -> None:
except:
_LOGGER.debug(f"{DOMAIN} - SOC Levels couldn't be found. May not be an EV.")

vehicle.ev_driving_distance = (
vehicle.ev_driving_range = (
get_child_value(
state,
"lastVehicleInfo.vehicleStatusRpt.vehicleStatus.evStatus.drvDistance.0.rangeByFuel.evModeRange.value",
Expand Down

0 comments on commit b14798f

Please sign in to comment.