This commit is contained in:
Hans Karlinius
2024-12-04 02:57:36 +01:00
parent 16aaeedaae
commit 7deb594967
2 changed files with 2 additions and 3 deletions

View File

@@ -3,8 +3,7 @@
options=$(bashio::api.supervisor GET "/addons/self/options/config")
autofind=$(echo $options | jq '. | if .autofind then true else false end')
autouse=$(echo $options | jq '. | if .autouse then true else false end')
clientid=$(echo $options | jq -r '.clientid | tostring')
#manualhub=$(echo $options | jq -r '.manualhub | tostring')
clientid=$(echo $options | jq '.clientid | select(. != null)')
manualhub=$(echo $options | jq '.manualhub | select(. != null)')
if $autofind; then