Skip to content

Commit

Permalink
added support for mgw lan
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed May 23, 2024
1 parent dcf2e9a commit 570cca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/eltako/esp3_tcp_com.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def run(self):
self._buffer = data
self.parse()
timeout_count = 0
timeout_count += 1

except socket.timeout as e:
pass
timeout_count += 1
if timeout_count > self.__recon_time:
timeout_count = 0
self._test_connection()
Expand Down

0 comments on commit 570cca9

Please sign in to comment.