From d017cb0156fe196e38c48fa78a61e41ce66448bc Mon Sep 17 00:00:00 2001 From: Thomas Maurer Date: Mon, 18 Jul 2022 20:42:52 +0200 Subject: [PATCH] Fix battery range data mapping (#28) --- internal/app/car.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/car.go b/internal/app/car.go index cff885b..ccc774d 100644 --- a/internal/app/car.go +++ b/internal/app/car.go @@ -72,7 +72,7 @@ func updateCarAbrpData(car *Car, topic string, payload string) { case "ideal_battery_range_km": car.abrpData["ideal_battery_range"] = payload case "est_battery_range_km": - car.abrpData["battery_range"] = payload + car.abrpData["est_battery_range"] = payload case "usable_battery_level": car.abrpData["soc"] = payload case "charge_energy_added":