fix: remove --power flag, not supported in FAH 8
This commit is contained in:
@@ -17,13 +17,11 @@ options:
|
||||
user: ""
|
||||
team: "247478"
|
||||
passkey: ""
|
||||
power: "medium"
|
||||
account_token: ""
|
||||
machine_name: ""
|
||||
schema:
|
||||
user: str?
|
||||
team: str
|
||||
passkey: str?
|
||||
power: list(light|medium|full)
|
||||
account_token: str?
|
||||
machine_name: str?
|
||||
|
||||
@@ -11,7 +11,6 @@ args+=(--allow "0/0")
|
||||
FAH_USER=$(bashio::config 'user')
|
||||
TEAM=$(bashio::config 'team')
|
||||
PASSKEY=$(bashio::config 'passkey')
|
||||
POWER=$(bashio::config 'power')
|
||||
ACCOUNT_TOKEN=$(bashio::config 'account_token')
|
||||
MACHINE_NAME=$(bashio::config 'machine_name')
|
||||
|
||||
@@ -27,8 +26,6 @@ if bashio::config.has_value 'passkey'; then
|
||||
args+=(--passkey "${PASSKEY}")
|
||||
fi
|
||||
|
||||
args+=(--power "${POWER}")
|
||||
|
||||
if bashio::config.has_value 'account_token'; then
|
||||
args+=(--account-token "${ACCOUNT_TOKEN}")
|
||||
if bashio::config.has_value 'machine_name'; then
|
||||
|
||||
Reference in New Issue
Block a user