fix: remove --power flag, not supported in FAH 8

This commit is contained in:
2026-04-05 12:31:41 +02:00
parent b52ad3bdac
commit 6ac84fa087
2 changed files with 0 additions and 5 deletions

View File

@@ -17,13 +17,11 @@ options:
user: "" user: ""
team: "247478" team: "247478"
passkey: "" passkey: ""
power: "medium"
account_token: "" account_token: ""
machine_name: "" machine_name: ""
schema: schema:
user: str? user: str?
team: str team: str
passkey: str? passkey: str?
power: list(light|medium|full)
account_token: str? account_token: str?
machine_name: str? machine_name: str?

View File

@@ -11,7 +11,6 @@ args+=(--allow "0/0")
FAH_USER=$(bashio::config 'user') FAH_USER=$(bashio::config 'user')
TEAM=$(bashio::config 'team') TEAM=$(bashio::config 'team')
PASSKEY=$(bashio::config 'passkey') PASSKEY=$(bashio::config 'passkey')
POWER=$(bashio::config 'power')
ACCOUNT_TOKEN=$(bashio::config 'account_token') ACCOUNT_TOKEN=$(bashio::config 'account_token')
MACHINE_NAME=$(bashio::config 'machine_name') MACHINE_NAME=$(bashio::config 'machine_name')
@@ -27,8 +26,6 @@ if bashio::config.has_value 'passkey'; then
args+=(--passkey "${PASSKEY}") args+=(--passkey "${PASSKEY}")
fi fi
args+=(--power "${POWER}")
if bashio::config.has_value 'account_token'; then if bashio::config.has_value 'account_token'; then
args+=(--account-token "${ACCOUNT_TOKEN}") args+=(--account-token "${ACCOUNT_TOKEN}")
if bashio::config.has_value 'machine_name'; then if bashio::config.has_value 'machine_name'; then