fix: Remove await from synchronous Modbus client connect call
The Modbus client connect method is synchronous, not async
This commit is contained in:
parent
4a3db6a3fc
commit
76eb59036b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue