test
This commit is contained in:
@@ -27,7 +27,7 @@ for device in "${devices[@]}"; do
|
||||
|
||||
bashio::log.info "Adding to config: ${device}"
|
||||
|
||||
new_options=$(echo $options | jq -n --arg device "$device" '.usbdevices |= . + [{ device: ($device), use: false }]')
|
||||
new_options=$(echo $options | jq --arg device "$device" '.usbdevices |= . + [{ device: ($device), use: false }]')
|
||||
bashio::log.info "New options: ${new_options}"
|
||||
payload=$(bashio::var.json options "^${new_options}")
|
||||
bashio::log.info "Payload: ${payload}"
|
||||
|
||||
Reference in New Issue
Block a user