Can't find apple_tv - timeout error

Hello together,

I would like to add my apple_tv to homeassistant. Reading the docs I did:

  1. add apple_tv: to configuration
  2. restart and run the service apple_tv.apple_tv_scan

In the logs I find:

Logger: homeassistant
Source: components/apple_tv/__init__.py:118
First occurred: 21:53:12 (5 occurrences)
Last logged: 22:05:03

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/apple_tv/__init__.py", line 118, in scan_apple_tvs
    atvs = await scan_for_apple_tvs(hass.loop, timeout=3)
  File "/usr/local/lib/python3.8/site-packages/pyatv/__init__.py", line 96, in scan_for_apple_tvs
    yield from asyncio.wait_for(semaphore.acquire(), timeout, loop=loop)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

Any help appreciated,
Bernd

See:

1 Like

Thank you @postlund
it works really great for me - running tvOS 14.0.2 now.