From 07994230b5fcbc144c934ff2eec43e78fcb808de Mon Sep 17 00:00:00 2001 From: Marcus K <36983163+MK-2001@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:42:16 +0100 Subject: [PATCH] Handle Issue #203 (#5) --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index bd52568..65e08f0 100644 --- a/main.js +++ b/main.js @@ -323,8 +323,8 @@ function setObjects() { ["State.VoltMin", "state", "Min Cell Voltage", "number", "value.voltage", true, false, "V"], ["State.SOH", "state", "SOH", "number", "value.battery", true, false, "%"], ["State.Current", "state", "Charge / Discharge Current", "number", "value.current", true, false, "A"], - ["State.Power_Consumption", "state", "Discharge Power", "number", "value.power", true, false, "W"], - ["State.Power_Delivery", "state", "Charge Power", "number", "value.power", true, false, "W"], + ["State.Power_Consumption", "state", "Charge Power", "number", "value.power", true, false, "W"], + ["State.Power_Delivery", "state", "Discharge Power", "number", "value.power", true, false, "W"], ["State.VoltBatt", "state", "Battery Voltage", "number", "value.voltage", true, false, "V"], ["State.TempMax", "state", "Max Cell Temp", "number", "value.temperature", true, false, "°C"], ["State.TempMin", "state", "Min Cell Temp", "number", "value.temperature", true, false, "°C"],