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