Skip to content

Commit

Permalink
Change heartbeat failure to warning instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
jaym25 authored Jul 1, 2024
1 parent 08bc7e3 commit b808d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/remote_homeassistant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit b808d3b

Please sign in to comment.