mirror of
https://github.com/home-assistant/core.git
synced 2025-06-04 13:17:06 +00:00
Fix point availability (#61144)
This commit is contained in:
parent
8ee2ca8a56
commit
c469bf2db9
@ -185,7 +185,7 @@ class MinutPointClient:
|
||||
|
||||
async def _sync(self):
|
||||
"""Update local list of devices."""
|
||||
if not await self._client.update() and self._is_available:
|
||||
if not await self._client.update():
|
||||
self._is_available = False
|
||||
_LOGGER.warning("Device is unavailable")
|
||||
async_dispatcher_send(self._hass, SIGNAL_UPDATE_ENTITY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user