Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon UI converter breaks the config #26

Open
zaggash opened this issue Jan 3, 2023 · 0 comments
Open

Addon UI converter breaks the config #26

zaggash opened this issue Jan 3, 2023 · 0 comments

Comments

@zaggash
Copy link

zaggash commented Jan 3, 2023

The problem

Adding a Flag from the Addon UI editor breaks the config.

Adding the following through the Addon UI editor is not working:
ca-cert: /ssl/internal-home-ca.crt
It results in the following on the YAML editor:
flags: " ca-cert: /ssl/internal-home-ca.crt"

And produce the error below:

Failed to save add-on configuration, does not match regular expression {(('[^ ]+': *?('([^']|(?<=\\)')*'|None|False|True))(, *?'[^ ]+': *?('([^']|(?<=\\)')*'|None|False|True))*)?}. Got {'jobs': [{'name': 'Sync Backups', 'command': 'sync', 'sources': ['/backup'], 'destination': 'minio:hassio-backup'}], 'dry_run': False, 'config_path': '/config/rclone.conf', 'flags': 'ca-cert: /ssl/internal-home-ca.crt', 'extra_flags': [], 'run_once': True, 'log_level': 'info'}

However, using the following from the YAML editor:

flags:
  ca-cert: /ssl/internal-home-ca.crt

Results in the following on the UI editor:
image

And it is working.

What version of Rclone Backup has the issue?

Add-on version: 3.0.0

What version of Home Assistant are you running?

Home Assistant 2022.12.9

What type of installation are you running?

Home Assistant OS

If you're running HA OS/Supervised, what version of the Supervisor are you running?

Supervisor 2022.12.1

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant