fix: adjust precision of temperatures and current

This commit is contained in:
Andreas Wrede
2026-08-18 07:22:45 -04:00
parent 7a1c47d34c
commit 7eab5ed422
+3 -3
View File
@@ -59,10 +59,10 @@ SENSORS = [
("cell2_voltage", "Cell 2 Voltage", "V", "voltage", "cell2", 2), ("cell2_voltage", "Cell 2 Voltage", "V", "voltage", "cell2", 2),
("cell3_voltage", "Cell 3 Voltage", "V", "voltage", "cell3", 2), ("cell3_voltage", "Cell 3 Voltage", "V", "voltage", "cell3", 2),
("cell4_voltage", "Cell 4 Voltage", "V", "voltage", "cell4", 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), ("soc", "State of Charge", "%", "battery", "soc_pct", 0),
("bms_temperature", "BMS Temperature", "°F", "temperature", "bms_temp_f", 0), ("bms_temperature", "BMS Temperature", "°F", "temperature", "bms_temp_f", 1),
("battery_temperature", "Battery Temperature", "°F", "temperature", "batt_temp_f", 0), ("battery_temperature", "Battery Temperature", "°F", "temperature", "batt_temp_f", 1),
] ]