This commit is contained in:
Hans Karlinius
2024-12-03 11:40:31 +01:00
parent 3822e8e9f2
commit 0c1cf83e3a
2 changed files with 3 additions and 6 deletions

View File

@@ -1,8 +1,5 @@
#!/command/with-contenv bashio
bashio::addon.option 'clientid'
bashio::addon.option 'manualhub'
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')