thomasfr / hass-addons

MIT License
14 stars 24 forks source link

Slug invalid #11

Open nzrf opened 1 year ago

nzrf commented 1 year ago

Was trying to get this to work with the automation and it kept giving me an invalid slug reference(even when selecting the integration through the ui).

I ended up forking it and changing a line to use underscores vs using dash as the error was eluding to looking for the addon with underscores oddly. Once the name was changed it was able to start the service and backup. Not sure if this is impacting anyone else, but figured I would pass along.

https://github.com/thomasfr/hass-addons/blob/22a05dcfc66733f57e4eeff7792c459b410c02ea/amazon-s3-backup/config.json#L4 "amazon-s3-backup" vs "amazon_s3_backup"

ebroder commented 1 year ago

It seems like this may have been a change in HA 2023.09, at least based on https://github.com/mrlt8/docker-wyze-bridge/issues/987 which seems to have experienced a similar issue.

skyb3rt75 commented 11 months ago

Great plugin! I also had an issue with slug when setting up automation. I am on HA 2023.12.0 The "backup_upload_to_s3" was not accepted as YAML. I resolved this by using the UI and configured an automation that should run 15 min over every hour, then on the action : "Call a service 'Home Assistant Supervisor: Start add-on' on" Then its just to fill in "the add-on slug" by choosing "Amazon S3 Backup" from the drop down