Use different endpoint for add-on options (#88)

This commit is contained in:
Pascal Vizeli 2021-11-09 09:26:33 +01:00 committed by GitHub
parent ee555d9afb
commit 8aa75b069b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 1 deletions

View file

@ -45,7 +45,7 @@ function bashio::config() {
end
QUERY
options=$(bashio::addon.options)
options=$(bashio::addon.config)
result=$(bashio::jq "${options}" "${query}")
if [[ "${result}" == "null" ]] && bashio::var.has_value "${default_value}";