This commit is contained in:
Hans Karlinius
2024-11-30 20:15:49 +01:00
parent 3bbe2412d9
commit 4839880a01
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.305"
version: "0.1.306"
slug: vhclient
description: VirtualHere Client
arch:

View File

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