diff --git a/packages/modules/devices/sungrow/sungrow/device.py b/packages/modules/devices/sungrow/sungrow/device.py index b9becf32a5..69e5ed1e3a 100644 --- a/packages/modules/devices/sungrow/sungrow/device.py +++ b/packages/modules/devices/sungrow/sungrow/device.py @@ -29,6 +29,7 @@ def create_inverter_component(component_config: SungrowInverterSetup): return SungrowInverter(component_config, device_config=device_config, client=client) def update_components(components: Iterable[Union[SungrowBat, SungrowCounter, SungrowInverter]]): + pv_power = 0 nonlocal client with client: for component in components: