From f623ac17bb7d3eb1f4e268f9764bcaae0a3d78f3 Mon Sep 17 00:00:00 2001 From: Marc Luehr Date: Tue, 9 Apr 2024 09:38:35 +0200 Subject: [PATCH] fix: Remove run mode number HA uses the field index as ids for the sensors, hence it must not occur twice. --- solax/inverters/x3_hybrid_g4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solax/inverters/x3_hybrid_g4.py b/solax/inverters/x3_hybrid_g4.py index 34048da..778f662 100644 --- a/solax/inverters/x3_hybrid_g4.py +++ b/solax/inverters/x3_hybrid_g4.py @@ -85,7 +85,7 @@ def response_decoder(cls): "Grid 1 Frequency": (16, Units.HZ, div100), "Grid 2 Frequency": (17, Units.HZ, div100), "Grid 3 Frequency": (18, Units.HZ, div100), - "Run mode": (19, Units.NONE), + #"Run mode": (19, Units.NONE), "Run mode text": (19, Units.NONE, X3HybridG4._decode_run_mode), "EPS 1 Voltage": (23, Units.V, div10), "EPS 2 Voltage": (24, Units.V, div10),