Help identifying error with android tv remote integration

First all the info: |Version|core-2024.12.0
|| — | — |
|Installation type|Home Assistant OS|
|Development|false|
|Supervisor|true|
|Docker|true|
|User|root|
|Virtual environment|false|
|Python version|3.13.0|
|Operating system family|Linux|
|Operating system version|6.6.51-haos-raspi|

Host operating system Home Assistant OS 14.0
Update channel stable
Supervisor version supervisor-2024.11.4
Agent version 1.6.0
Docker version 27.2.0
Disk total 233.7 GB
Disk used 10.3 GB
Healthy true
Supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
Board yellow
Supervisor API ok
Version API ok

The error is below.
PROBLEM:Not understanding why I am getting this since I had ignored the integration and did not install it.

WHAT I AM LOOKING FOR: explanation of what is going on and how to correct.

LOG ENTRY:
Logger: homeassistant
Source: components/androidtv_remote/config_flow.py:160
First occurred: 12:28:20 PM (1 occurrences)
Last logged: 12:28:20 PM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py”, line 137, in async_start
await gather_with_limited_concurrency(FLOW_INIT_LIMIT, *init_coros)
File "/usr/src/homeassistant/homeassistant/util/async
.py", line 114, in gather_with_limited_concurrency
return await gather(
^^^^^^^^^^^^^
…<2 lines>…
)
^
File “/usr/src/homeassistant/homeassistant/util/async_.py”, line 112, in sem_task
return await task
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 1315, in async_init
flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 1350, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 517, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/androidtv_remote/config_flow.py”, line 160, in async_step_zeroconf
existing_host = existing_config_entry.data[CONF_HOST]
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: ‘host’

Thanks for any help.

What is it you do that generates the error?

Nothing…that I am aware of. I was just checking the logs to see if a unrelated google home error was still showing and it was in the log.

Thanks Balucanb for flagging this, as I have exactly the same error and I also don’t use the integration.
@Jack the error is logged at startup, so I guess Home Assistant is looking for new devices each time again. I do have a Google Chromecast with a remote in my home network, but no intention to use it with Home Assistant.

all suggestions appreciated,
tx,
tim

1 Like

The exact same error here , I’m ignoring this integration too . I have an android TV on the network, I guess it is found by HA at each startup , and it generates this error .
Any help will be appreciated :slight_smile:


I am getting this same error on startup.