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