This commit is contained in:
Hans Karlinius
2024-11-26 23:39:09 +01:00
parent 591ca45089
commit 8d706b2469
2 changed files with 4 additions and 1 deletions

View File

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

View File

@@ -17,10 +17,13 @@ if bashio::config.has_value 'autouse'; then
autouse=($(bashio::config 'autouse'))
bashio::log.info "Set AUTOUSE all devices to ${autouse}"
if [ ${autouse} ]; then
bashio::log.info "AUTO USE ALL"
/usr/bin/vhclient -t "AUTO USE ALL"
else
bashio::log.info "AUTO USE CLEAR ALL"
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
sleep 5s
bashio::log.info "STOP USING ALL LOCAL"
/usr/bin/vhclient -t "STOP USING ALL LOCAL"
fi
fi