The dashboard no longer works after upgrade to 4

I decided to update my docker install of Home Assistant and AppDaemon after nearly a year - I should have followed the old adage ;“If its not broke’ don’t fix it”.

HA core is 0.110.4 and AppDaemon is 4.0.3 the host machine is running Ubuntu Linux.
HADashboard throws “Error getting state, check Java Console for details” once on the new admin page and once per entity except for the clock added to any dashboards.

Browsers are Firefox 77.0.1, Microsoft Edge Version 83.0.478.45 (Official build) (64-bit) and Google Chrome Version 83.0.4103.97 (Official Build) (64-bit)

What have I missed?

John

Please post your appdaemon.yaml file so we can have a look.

# log:
#   main_log: STDOUT  #V4 change
#   error-log: STDERR
appdaemon:
  threads: 10
  latitude: -33
  longitude: 150
  elevation: 73
  time_zone: Australia/Sydney
  api_port: 5000
  plugins:
    HASS:
      type: hass
      ha_url: http://192.168.19.xx:8123
      token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.._DBk0P9A1BSSNnwJRuEhJsC8l2-YPP8Ph7UQRLwyzRM
http:
  url: http://192.168.19.xx:5050

admin:
  title: appdaemon admin

ok, just add

api:
hadashboard: 

at the end of the file and it should work. I think the Appdaemon docs are missing the fact that the api key is needed, and you would want the hadashboard also.

1 Like

That fixed it, thank you.

I had the hadashboard top level entry but not the api one.