Fix: GoodweReader.read() Signatur an ModbusReader angleichen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
retr0
2026-04-28 11:37:20 +02:00
parent 9a71d097db
commit dc6ca176ff
+1 -1
View File
@@ -14,7 +14,7 @@ class GoodweReader:
self.host = host
self.family = family
def read(self) -> Optional[Dict[str, float]]:
def read(self, inverter=None) -> Optional[Dict[str, float]]:
try:
return asyncio.run(self._read_async())
except Exception as e: