test
This commit is contained in:
@@ -17,7 +17,7 @@ if bashio::config.has_value 'usbdevices'; then
|
||||
device=$(echo $usbdevice | jq '.device | tostring')
|
||||
deviceid=$(echo $device | sed 's/.*(\(.*\))/\1/g')
|
||||
bashio::log.info "Use: ${use}"
|
||||
if [ $use ]; then
|
||||
if $use; then
|
||||
bashio::log.info "Set AUTO USE DEVICE for ${deviceid}"
|
||||
else
|
||||
bashio::log.info "Set STOP USING for ${deviceid}"
|
||||
|
||||
Reference in New Issue
Block a user