We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dad7bf8 + 18522a8 commit 17e2ad7Copy full SHA for 17e2ad7
custom_components/jablotron80/jablotron.py
@@ -888,6 +888,10 @@ def connect(self) -> None:
888
except serial.SerialException as ex:
889
if "timed out" in f'{ex}':
890
LOGGER.info('Timeout, retrying')
891
+ elif "Connection refused" in f'{ex}':
892
+ LOGGER.info('Connection refused by remote serial host, retrying')
893
+ elif "unreachable" in f'{ex}':
894
+ LOGGER.info('Remote serial host is currently unreachable, retrying')
895
else:
896
raise
897
0 commit comments