From e878e185cfbe8a1317cd919a46cf1aa5a75faf45 Mon Sep 17 00:00:00 2001 From: Hetzi74 <141708447+Hetzi74@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:32:50 +0200 Subject: [PATCH] Export control scaling for X3-Ultra At least for my X3 Ultra 15K (H3BD15) this scaling correktion is working i guess it will be the same for the other Ultras as well. See my comment: https://github.com/wills106/homeassistant-solax-modbus/issues/998#issuecomment-2295229198 And with your help to point out where to modify the settings, i hope i found the right one for this issue. --- custom_components/solax_modbus/plugin_solax.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/custom_components/solax_modbus/plugin_solax.py b/custom_components/solax_modbus/plugin_solax.py index 35e1f3db..f626b474 100644 --- a/custom_components/solax_modbus/plugin_solax.py +++ b/custom_components/solax_modbus/plugin_solax.py @@ -445,7 +445,8 @@ def value_function_software_version_air_g4(initval, descr, datadict): ('H4372A', 1), # Issue #857 ('H4502A', 1), # Issue #857 ('H4502T', 1), # Issue #418 - ('H4602A', 1), # Issue #882 + ('H4602A', 1), # Issue #882 + ('H3BD', 10), # X3-Ultra # ('H1E', 10 ), # more specific entry comes last and wins ] @@ -7651,4 +7652,4 @@ def localDataCallback(self, hub): order16 = Endian.BIG, order32 = Endian.LITTLE, auto_block_ignore_readerror = True - ) \ No newline at end of file + )