Fix: GoodweReader.read() Signatur an ModbusReader angleichen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
9a71d097db
commit
dc6ca176ff
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user