fix: Remove await from synchronous Modbus client connect call

The Modbus client connect method is synchronous, not async
This commit is contained in:
openhands 2025-11-01 20:26:48 +00:00
parent 4a3db6a3fc
commit 76eb59036b
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ async def get_signals():
)
# Connect to Modbus server
if await modbus_client.connect():
if modbus_client.connect():
logger.info("using_real_modbus_data")
# Read pump data from Modbus server