I’m trying to save token and domain in DuckDNS addon config but it does not get saved. It does not say anything when I click on ‘Save’ but when I reload page, I always see the default config. Here’s what I’m trying to set:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:109
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 12:50:51 (1 occurrences)
Last logged: 12:50:51
Failed to to call /addons/core_duckdns/options - not a valid value for dictionary value @ data['options']. Got {'lets_encrypt': {'accept_terms': True, 'certfile': 'fullchain.pem', 'keyfile': 'privkey.pem'}, 'token': 'ad0beec9-f47b-431e-99c3-a969534f6654', 'domains': ['miralhome.duckdns.com'], 'aliases': [], 'seconds': 300}
To me it seems like the issue is with capital T in 'accept_terms': True. I’m saving it as small true, not sure how it gets converted to True. Still trying to figure out.
Fixed this by copying the config from their documentation. It’s strange because the config I was adding was exactly the same. I suspect there might be some hidden character in their default configuration which is causing the validation to fail.
Just copy the following configuration and try to save it, it should work:
New to HA, i had an issue using your config here after I initially had issues with the default config that duckdns add-on give me. I used yours but still had an error. Found another thread that helped me fix it - add algo: secp384r1