From 7eab5ed4229a3be09faf0053bb3027efef8cb0c5 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Tue, 18 Aug 2026 07:22:45 -0400 Subject: [PATCH] fix: adjust precision of temperatures and current --- li3/van-li3-battery | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/li3/van-li3-battery b/li3/van-li3-battery index a8bc956..2bc9ef9 100755 --- a/li3/van-li3-battery +++ b/li3/van-li3-battery @@ -59,10 +59,10 @@ SENSORS = [ ("cell2_voltage", "Cell 2 Voltage", "V", "voltage", "cell2", 2), ("cell3_voltage", "Cell 3 Voltage", "V", "voltage", "cell3", 2), ("cell4_voltage", "Cell 4 Voltage", "V", "voltage", "cell4", 2), - ("current", "Current", "A", "current", "current_a", 0), + ("current", "Current", "A", "current", "current_a", 2), ("soc", "State of Charge", "%", "battery", "soc_pct", 0), - ("bms_temperature", "BMS Temperature", "°F", "temperature", "bms_temp_f", 0), - ("battery_temperature", "Battery Temperature", "°F", "temperature", "batt_temp_f", 0), + ("bms_temperature", "BMS Temperature", "°F", "temperature", "bms_temp_f", 1), + ("battery_temperature", "Battery Temperature", "°F", "temperature", "batt_temp_f", 1), ]