fix: adjust precision of temperatures and current
This commit is contained in:
+3
-3
@@ -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),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user