Jake420GG
Jake420GG
HHASS.Agent
Created by Jake420GG on 5/15/2024 in #💬・get-help
Failure setting up integration
Hi everyone, Since the last update of the integration to 2.1.0-beta1 I get the following error message in my log in home assistant: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hass_agent/__init__.py", line 135, in async_setup_entry _logger.debug("setting up device from config entry: %s [%s]", entry.data["device"]["name"], entry.unique_id) ~~~~~~~~~~^^^^^^^^^^ KeyError: 'device' I tried fiddleing around in the script myself, when commenting/removing the line I get this error: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hass_agent/__init__.py", line 167, in async_setup_entry hass.async_create_background_task(handle_apis_changed(hass, entry, apis)) TypeError: HomeAssistant.async_create_background_task() missing 1 required positional argument: 'name' I tried reinstalling the integration, I rebooted home assistant multiple times, I restarted the the Client and the PC its running on multiple times, and I also tried changing some random setting in the client like the name, some IDs, turning on and off some of the functionalities, but nothing seems to be working and I cant find anything regarding my issue online. Any help would be appreciated. I run home assistant yellow on the newest stable version of that matters. And my client runs on the newest version of windows 11.
13 replies