1 parent 39eacc6 commit 373c118Copy full SHA for 373c118
1 file changed
custom_components/sunspec/api.py
@@ -177,6 +177,7 @@ def check_port(self) -> bool:
177
f"Check_Port (ERROR): port not available on {self._host}:{self._port} - error: {sock_res}"
178
)
179
sock.close()
180
+ time.sleep(0.1)
181
return is_open
182
183
def modbus_connect(self, config=None):
0 commit comments