I have three Apple TVs. Every single one of them gives the below errors. And every single one of them regularly asks me to reconfigure the integration. But if I restart HA or reload the integration, everything works fine. Anyone else experiencing this?
Logger: pyatv.mrp.protocol
Source: /usr/local/lib/python3.8/site-packages/pyatv/mrp/protocol.py:37
First occurred: 4:02:36 PM (1 occurrences)
Last logged: 4:02:36 PMheartbeat 912 failed
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/pyatv/mrp/protocol.py”, line 32, in heartbeat_loop
await protocol.send_and_receive(message)
File “/usr/local/lib/python3.8/site-packages/pyatv/mrp/protocol.py”, line 169, in send_and_receive
return await self._receive(identifier, timeout)
File “/usr/local/lib/python3.8/site-packages/pyatv/mrp/protocol.py”, line 177, in _receive
await asyncio.wait_for(semaphore.acquire(), timeout)
File “/usr/local/lib/python3.8/asyncio/tasks.py”, line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Logger: homeassistant
Source: components/apple_tv/init.py:183
First occurred: 1:42:23 PM (1 occurrences)
Last logged: 1:42:23 PMError doing job: Exception in callback _SelectorSocketTransport._call_connection_lost(TimeoutError(…on timed out’))
Traceback (most recent call last):
File “/usr/local/lib/python3.8/asyncio/events.py”, line 81, in _run
self._context.run(self._callback, *self._args)
File “/usr/local/lib/python3.8/asyncio/selector_events.py”, line 970, in _call_connection_lost
super()._call_connection_lost(exc)
File “/usr/local/lib/python3.8/asyncio/selector_events.py”, line 728, in _call_connection_lost
self._protocol.connection_lost(exc)
File “/usr/local/lib/python3.8/site-packages/pyatv/mrp/connection.py”, line 58, in connection_lost
self.atv.listener.connection_lost(exc)
File “/usr/src/homeassistant/homeassistant/components/apple_tv/init.py”, line 183, in connection_lost
_LOGGER.warning(‘Connection lost to Apple TV “%s”’, self.atv.name)
AttributeError: ‘MrpAppleTV’ object has no attribute ‘name’