diff --git a/packages/modules/devices/sma/sma_sunny_boy/inverter.py b/packages/modules/devices/sma/sma_sunny_boy/inverter.py index 5d7d095343..c391d9aabf 100644 --- a/packages/modules/devices/sma/sma_sunny_boy/inverter.py +++ b/packages/modules/devices/sma/sma_sunny_boy/inverter.py @@ -90,8 +90,9 @@ def read(self) -> InverterState: else: raise ValueError("Unbekannte Version "+str(self.component_config.configuration.version)) if power_total == self.SMA_INT32_NAN or power_total == self.SMA_NAN: - raise ValueError(f'Wechselrichter lieferte nicht plausiblen Leistungswert: {power_total}.') - + power_total = 0 + # WR geht nachts in Standby und gibt einen NaN-Wert für die Leistung aus. + currents = [0, 0, 0] if energy == self.SMA_UINT32_NAN: raise ValueError( f'Wechselrichter lieferte nicht plausiblen Zählerstand: {energy}. '