test
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.290"
|
||||
version: "0.1.291"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
@@ -13,7 +13,7 @@ startup: services
|
||||
boot: manual
|
||||
host_network: true
|
||||
hassio_api: true
|
||||
hassio_role: manager
|
||||
#hassio_role: manager
|
||||
homeassistant_api: true
|
||||
#supervisor_api: true
|
||||
#ingress: true
|
||||
|
||||
@@ -15,5 +15,3 @@ for device in "${devices[@]}"; do
|
||||
bashio::api.supervisor POST "/addons/self/options" "${options_payload}"
|
||||
fi
|
||||
done
|
||||
bashio::addons.reload
|
||||
bashio::cache.flush_all
|
||||
|
||||
@@ -1,2 +1,8 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
bashio::log.info "Adding selected devices"
|
||||
|
||||
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
||||
for device in "${options}.usbdevices[@]}"; do
|
||||
bashio::log.info "Set AUTO USE DEVICE ${device}"
|
||||
|
||||
done
|
||||
Reference in New Issue
Block a user