Skip to content

Entity <entity_name> not found in the default namespace error in most apps after upgrading to 0.17.11 #465

@hugh-martin

Description

@hugh-martin

I updated the AppDaemon add-on in Home Assistant from v0.16.7 to v0.17.11. At start up, almost every app reports one of the following messages and these apps do not run:
WARNING monitor_temp_and_humidity: Entity climate.thermostat_second_floor not found in the default namespace

Obviously, the specific entity changes with each app, so this is from just one of those apps. The entities do exist in HA and all apps run as expected in v0.16.7 of the add-on.

appdaemon.log contained no errors, but the following was logged in error.log at every startup of the AppDaemon add-on:

ERROR Error: =====  Unhandled exception in waiting for all plugins to be ready  ========
ERROR Error: ValueError: Set of Tasks/Futures is empty.
ERROR Error:   File "/usr/lib/python3.12/asyncio/tasks.py", line 454, in wait
ERROR Error:     raise ValueError('Set of Tasks/Futures is empty.')

Here is the apps.yaml config for this app:

monitor_temp_and_humidity:
  module: monitor_temp_and_humidity
  class: MonitorHouseTempAndHumidity
  use_dictionary_unpacking: true
  app_h_mobile: !secret app_h_mobile
  thermostat_basement_eid: "climate.thermostat_basement"
  thermostat_first_floor_eid: "climate.thermostat_first_floor"
  thermostat_second_floor_eid: "climate.thermostat_second_floor"
  temp_high_threshold: 81
  temp_low_threshold: 65
  humidity_high_threshold: 75
  humidity_low_threshold: 25
  log: monitor_temp_humidity_log

Here is my appdaemon.yaml:

secrets: /homeassistant/secrets.yaml
appdaemon:
  latitude: !secret latitude
  longitude: !secret longitude
  elevation: !secret elevation
  time_zone: America/Chicago
  plugins:
    HASS:
      type: hass
      token: !env_var SUPERVISOR_TOKEN # Does not exist when running 0.16.7; it's dded by the v0.17.11 update.
http:
  # With the AppDaemon add-on v0.17.11 with AppDaemon v4.5.12, the url param
  # automatically gets re-written with a static value of http://0.0.0.0:5050,
  # so I am removing the secret for the url param and hard-coding it below.
  url: http://0.0.0.0:5050
  password: !secret appdaemon_password

admin:
api:
hadashboard:
logs:
  main_log:
    filename: /config/logs/appdaemon.log
  access_log:
    filename: /config/logs/access.log
  error_log:
    filename: /config/logs/error.log
  diag_log:
    filename: /config/logs/diag.log
  thermostat_monitor_for_changes:
    name: ThermostatMonitorForChanges
    filename: /config/logs/thermostat_monitor_for_changes.log
  monitor_temp_humidity_log:
    name: MonitorTempAndHumidity
    filename: /config/logs/monitor_temp_humidity.log
<etc...>

I don't know if it's related, but I also found that after the upgrade, I could no longer log into the web UI. The password prompt comes up, but it does not accept the password. I was able to login prior to the upgrade and I can login again now that I have reverted back to 0.16.7.

On HAOS, I'm running:

Core: 2025.10.3
Supervisor: 2025.10.0
Operating System: 16.2
Frontend: 20251001.4

I have discussed these issues with the AppDaemon team and they feel that they lie with the add-on. Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions