Fix: GoodweReader.read() Signatur an ModbusReader angleichen
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ class GoodweReader:
|
|||||||
self.host = host
|
self.host = host
|
||||||
self.family = family
|
self.family = family
|
||||||
|
|
||||||
def read(self) -> Optional[Dict[str, float]]:
|
def read(self, inverter=None) -> Optional[Dict[str, float]]:
|
||||||
try:
|
try:
|
||||||
return asyncio.run(self._read_async())
|
return asyncio.run(self._read_async())
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user