diff --git a/custom_components/remote_homeassistant/__init__.py b/custom_components/remote_homeassistant/__init__.py index 68b9d95..c83d79f 100644 --- a/custom_components/remote_homeassistant/__init__.py +++ b/custom_components/remote_homeassistant/__init__.py @@ -494,7 +494,7 @@ def resp(message): try: await asyncio.wait_for(event.wait(), HEARTBEAT_TIMEOUT) except asyncio.TimeoutError: - _LOGGER.error("heartbeat failed") + _LOGGER.warning("heartbeat failed") # Schedule closing on event loop to avoid deadlock asyncio.ensure_future(self._connection.close())