From f7ae51ae72bbbb86abe7518e4bbdad9e0f3b8566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20T=C5=99e=C5=A1t=C3=ADk?= Date: Mon, 23 Dec 2024 13:57:35 +0100 Subject: [PATCH] New modes for SolaX Modbus control --- custom_components/solax_modbus/plugin_solax.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom_components/solax_modbus/plugin_solax.py b/custom_components/solax_modbus/plugin_solax.py index 6665f564..ed168c87 100644 --- a/custom_components/solax_modbus/plugin_solax.py +++ b/custom_components/solax_modbus/plugin_solax.py @@ -5642,6 +5642,10 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict): 1: "Enabled Power Control", 2: "Enabled Quantity Control", 3: "Enabled SOC Target Control", + 4: "Push Power - P/N Mode", + 5: "Push Power - Zero Mode", + 6: "Self Consume - C/D Mode", + 7: "Self Consume - Charge Only Mode", }, icon="mdi:dip-switch", allowedtypes=AC | HYBRID | GEN4 | GEN5,