Аfter restarting the integration from integration UI, the log is filled with errors.
Steps to Reproduce
Restart the integration from integration UI. Check home-assistant.log
Expected behavior
Screenshots
Traceback/Error logs
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pyShelly/loop.py", line 36, in _start_loop
self.loop()
File "/usr/local/lib/python3.8/site-packages/pyShelly/debug.py", line 89, in loop
connection, client_address = self._socket.accept()
AttributeError: 'NoneType' object has no attribute 'accept'
Environment
Describe the bug
Аfter restarting the integration from integration UI, the log is filled with errors.
Steps to Reproduce
Restart the integration from integration UI. Check home-assistant.log
Expected behavior
Screenshots
Traceback/Error logs
Additional context