mirror of
https://github.com/home-assistant/core.git
synced 2025-08-17 19:41:45 +02:00
remove not that important comment and move the other
This commit is contained in:
@@ -72,8 +72,9 @@ class AutomowerDataUpdateCoordinator(DataUpdateCoordinator[dict[str, MowerAttrib
|
||||
"""Listen with the client."""
|
||||
try:
|
||||
await automower_client.auth.websocket_connect()
|
||||
await automower_client.start_listening() # Ensure we catch errors here too
|
||||
self.reconnect_time = DEFAULT_RECONNECT_TIME # Reset reconnect time after successful connection
|
||||
await automower_client.start_listening()
|
||||
# Reset reconnect time after successful connection
|
||||
self.reconnect_time = DEFAULT_RECONNECT_TIME
|
||||
except HusqvarnaWSServerHandshakeError as err:
|
||||
_LOGGER.debug(
|
||||
"Failed to connect to websocket. Trying to reconnect: %s",
|
||||
|
Reference in New Issue
Block a user