test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.230"
|
||||
version: "0.1.231"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
|
||||
@@ -25,6 +25,11 @@ for device in "${devices[@]}"; do
|
||||
if [[ ! " ${options[*]} " =~ [[:space:]]${device}[[:space:]] ]]; then
|
||||
|
||||
bashio::log.info "${device}"
|
||||
|
||||
new_options=$(echo $options | jq .usbdevices += [{ device: "${device}", use: false }])
|
||||
payload=$(bashio::var.json options "^${new_options}")
|
||||
bashio::api.supervisor POST "/addons/self/options" "${payload}"
|
||||
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user