mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Try to reconnect right away when disconnected from Shelly Gen2 devices (#83701)
This commit is contained in:
@@ -479,6 +479,8 @@ class ShellyRpcCoordinator(DataUpdateCoordinator):
|
||||
return
|
||||
self.connected = False
|
||||
self._async_run_disconnected_events()
|
||||
# Try to reconnect right away
|
||||
await self.async_request_refresh()
|
||||
|
||||
@callback
|
||||
def _async_run_disconnected_events(self) -> None:
|
||||
|
Reference in New Issue
Block a user