I have installed AppDaemon via HA addons.
Runs okay but config is in /addon_configs/a0d7b954_appdaemon/
My script saves a token in /config/data/token.txt,
but somehow it ends up in /addon_configs/a0d7b954_appdaemon/data/ instead.
How can I save it in the actual /config/data directory?
Can I change the appdaemon.yaml somehow and change the dir?
Yes, I experienced a similar issue. I noticed in the AppDaemon add-on changelog that the fix is to replace /config with /homeassistant. Normally, /config is a symlink to /homeassistant, but recent changes to AppDaemon seem to have re-virtualized / sym’d the /config path. So in your case, I believe /homeassistant/data/token.txt would work.