This commit is contained in:
Hans Karlinius
2024-11-30 01:54:54 +01:00
parent 9c0aff3f98
commit 32e527065a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.246"
version: "0.1.247"
slug: vhclient
description: VirtualHere Client
arch:
@@ -21,7 +21,8 @@
#mapfile -t devices < <(/usr/bin/vhclient -t LIST)
mapfile -t devices < <(/usr/bin/vh_list_devices)
for device in "${devices[@]}"; do
options=$(bashio::addon.options)
#options=$(bashio::addon.options)
options=bashio::api.supervisor GET "/addons/self/options"
bashio::log.info "Options: ${options}"
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then