From ffb47e699bb2ca46d6faad794b82ab0ca71800cc Mon Sep 17 00:00:00 2001 From: Sven ten Raa Date: Tue, 27 Feb 2024 13:40:34 +0100 Subject: [PATCH] Change 1054 from KWH to W to reflect newly published spec sheet --- custom_components/victron/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/victron/const.py b/custom_components/victron/const.py index 3dd6115..bc4c9e1 100644 --- a/custom_components/victron/const.py +++ b/custom_components/victron/const.py @@ -555,7 +555,7 @@ class generic_position(Enum): "pvinverter_L2_energy_forward_total": RegisterInfo(1048, UINT32, UnitOfEnergy.KILO_WATT_HOUR, 100), "pvinverter_L3_energy_forward_total": RegisterInfo(1050, UINT32, UnitOfEnergy.KILO_WATT_HOUR, 100), "pvinverter_power_total": RegisterInfo(1052, INT32, UnitOfPower.WATT), - "pvinverter_power_max_capacity": RegisterInfo(1054, UINT32, UnitOfPower.KILO_WATT), + "pvinverter_power_max_capacity": RegisterInfo(1054, UINT32, UnitOfPower.WATT), "pvinverter_powerlimit": RegisterInfo(register=1056, dataType=UINT32, unit=UnitOfPower.WATT, entityType=SliderWriteType("AC", False)) }