From df20fc5b56650cad2ab6330b7ea819677099899a Mon Sep 17 00:00:00 2001 From: Marc Luehr Date: Mon, 29 Apr 2024 19:46:22 +0200 Subject: [PATCH] fix: Integrate suggested change for battery storage --- solax/inverters/x3_ultra.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/solax/inverters/x3_ultra.py b/solax/inverters/x3_ultra.py index 43488dd..438dfb9 100644 --- a/solax/inverters/x3_ultra.py +++ b/solax/inverters/x3_ultra.py @@ -127,7 +127,11 @@ def response_decoder(cls): div100, ), "Battery Remaining Capacity": (158, Units.PERCENT), - "Battery Remaining Energy": (106, Measurement(Units.KWH), div10), + "Battery Remaining Energy": ( + 106, + Measurement(Units.KWH, storage=True), + div10, + ), "Inverter Power": (159, Units.W, div10), }