This commit is contained in:
Hans Karlinius
2024-11-30 07:04:32 +01:00
parent bf0e4027c5
commit b7b47346c0
2 changed files with 2 additions and 2 deletions

View File

@@ -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}'}'