mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Do not try to reconnect shelly on disconnected if Home Assistant is stopping (#83805)
This commit is contained in:
parent
80a8d5443d
commit
d91e44485c
@ -479,7 +479,8 @@ class ShellyRpcCoordinator(DataUpdateCoordinator):
|
||||
return
|
||||
self.connected = False
|
||||
self._async_run_disconnected_events()
|
||||
# Try to reconnect right away
|
||||
# Try to reconnect right away if hass is not stopping
|
||||
if not self.hass.is_stopping:
|
||||
await self.async_request_refresh()
|
||||
|
||||
@callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user