Latest version
This commit is contained in:
@@ -121,7 +121,7 @@ class ReconnectingClient:
|
||||
except (OSError, asyncio.TimeoutError):
|
||||
if self._connection_last_state != 'FAILED':
|
||||
notification_text = f"{self._connection_name} connection to {self._host}:{self._port} failed"
|
||||
self.hass.components.persistent_notification.async_create(notification_text, title="No connection")
|
||||
#self.hass.components.persistent_notification.async_create(notification_text, title="No connection")
|
||||
_LOGGER.error(f"Connection to {self._connection_name} failed {self._host}:{self._port}")
|
||||
await self._connection_status_changed_callback('disconnected')
|
||||
if self._connected_sensor:
|
||||
|
||||
Reference in New Issue
Block a user