From 5f42891fe1dddca0f2bef60acac30f5a6fb91db4 Mon Sep 17 00:00:00 2001 From: SeaSpotter Date: Fri, 6 Mar 2026 09:29:36 +0100 Subject: [PATCH] Correct Modbus type --- packages/modules/devices/sma/sma_sunny_boy/bat_smart_energy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/devices/sma/sma_sunny_boy/bat_smart_energy.py b/packages/modules/devices/sma/sma_sunny_boy/bat_smart_energy.py index cdb788be2e..080a2b7eb6 100644 --- a/packages/modules/devices/sma/sma_sunny_boy/bat_smart_energy.py +++ b/packages/modules/devices/sma/sma_sunny_boy/bat_smart_energy.py @@ -31,7 +31,7 @@ class SunnyBoySmartEnergyBat(AbstractBat): "Battery_DischargedEnergy": (31401, ModbusDataType.UINT_64), "Inverter_Type": (30053, ModbusDataType.UINT_32), "Externe_Steuerung": (40151, ModbusDataType.UINT_32), - "Wirkleistungsvorgabe": (40149, ModbusDataType.UINT_32), + "Wirkleistungsvorgabe": (40149, ModbusDataType.INT_32), } def __init__(self, component_config: SmaSunnyBoySmartEnergyBatSetup, **kwargs: Any) -> None: