diff --git a/appdaemon/rootfs/etc/s6-overlay/s6-rc.d/init-appdaemon/run b/appdaemon/rootfs/etc/s6-overlay/s6-rc.d/init-appdaemon/run index dd8003b..40c80d6 100755 --- a/appdaemon/rootfs/etc/s6-overlay/s6-rc.d/init-appdaemon/run +++ b/appdaemon/rootfs/etc/s6-overlay/s6-rc.d/init-appdaemon/run @@ -7,7 +7,7 @@ # Migrate add-on data from the Home Assistant config folder, # to the add-on configuration folder. -if ! bashio::fs.directory_exists '/config/appdaemon.yaml' \ +if ! bashio::fs.file_exists '/config/appdaemon.yaml' \ && bashio::fs.file_exists '/homeassistant/appdaemon/appdaemon.yaml'; then shopt -s dotglob mv /homeassistant/appdaemon/* /config/ \