From 3440f660c11841e285eaf77fffce9ba28a294058 Mon Sep 17 00:00:00 2001 From: rolfcoder <81416658+rolfcoder@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:37:20 +0100 Subject: [PATCH] Update const.py Added EvChargerStatus(Enum) statuses which among resolves issue #296 (evcharger status isn't a decodable value #296) --- custom_components/victron/const.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/custom_components/victron/const.py b/custom_components/victron/const.py index e6c3ea3..a69b2ae 100644 --- a/custom_components/victron/const.py +++ b/custom_components/victron/const.py @@ -1883,7 +1883,16 @@ class evcharger_status(Enum): UNDER_VOLTAGE_DETECTED = 12 OVERVOLTAGE_DETECTED = 13 OVERHEATING_DETECTED = 14 - + RESERVED15 = 15 + RESERVED16 = 16 + RESERVED17 = 17 + RESERVED18 = 18 + RESERVED19 = 19 + CHARGING_LIMIT = 20 + START_CHARGING = 21 + SWITCHING_TO_3_PHASE = 22 + SWITCHING_TO_1_PHASE = 23 + STOP_CHARGING = 24 evcharger_registers = { "evcharger_firmwareversion": RegisterInfo(3802, UINT32),