From 97c122904e892ece3797e54c666a5a98fdcaddf2 Mon Sep 17 00:00:00 2001 From: Martin Polehla Date: Fri, 9 Feb 2024 18:15:39 +0100 Subject: [PATCH] Update daly_can.py Fixing https://github.com/Louisvdw/dbus-serialbattery/issues/950 for DalyBMS --- etc/dbus-serialbattery/bms/daly_can.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/dbus-serialbattery/bms/daly_can.py b/etc/dbus-serialbattery/bms/daly_can.py index 5b4927ef..a13875f0 100644 --- a/etc/dbus-serialbattery/bms/daly_can.py +++ b/etc/dbus-serialbattery/bms/daly_can.py @@ -90,7 +90,7 @@ def test_connection(self): def get_settings(self): self.capacity = BATTERY_CAPACITY - self.max_battery_current = MAX_BATTERY_CHARGE_CURRENT + self.max_battery_charge_current = MAX_BATTERY_CHARGE_CURRENT self.max_battery_discharge_current = MAX_BATTERY_DISCHARGE_CURRENT return True