Update use device on/off
This commit is contained in:
@@ -25,7 +25,7 @@ if bashio::config.has_value 'usbdevices'; then
|
||||
#server_serial=$(/usr/bin/vh_server_serial_number ${deviceid%.*})
|
||||
#device2=$(/usr/bin/vh_usb_product_vendor $deviceid)
|
||||
#deviceid2="${server_serial}.${device2}"
|
||||
#bashio::log.info "GURKA-${inuse_devices}"
|
||||
bashio::log.info "GURKA-${inuse_devices}"
|
||||
|
||||
if [[ "${inuse_devices[@]}" =~ "$device" ]]; then
|
||||
if $use; then
|
||||
|
||||
Reference in New Issue
Block a user