From 449a008a6675879bc84d9325edb4cc2923b75065 Mon Sep 17 00:00:00 2001 From: Tobias Glatthar Date: Thu, 28 Nov 2024 20:46:56 +0100 Subject: [PATCH] chore: update test-addon --- hamh_test/build.yaml | 2 +- hamh_test/config.yaml | 8 +++----- hamh_test/docker-entrypoint.sh | 9 +++++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/hamh_test/build.yaml b/hamh_test/build.yaml index eaf072f..83b3132 100644 --- a/hamh_test/build.yaml +++ b/hamh_test/build.yaml @@ -1,2 +1,2 @@ args: - package_version: "3.0.0-alpha.33" + package_version: "3.0.0-alpha.40" diff --git a/hamh_test/config.yaml b/hamh_test/config.yaml index 5bc5af8..2224159 100644 --- a/hamh_test/config.yaml +++ b/hamh_test/config.yaml @@ -1,4 +1,4 @@ -version: "3.0.0-alpha.33" +version: "3.0.0-alpha.40" slug: hamh_test name: Home-Assistant-Matter-Hub (Test Addon // DO NOT USE) description: THIS IS FOR TESTING PURPOSE. DO NOT USE THIS ADDON. @@ -13,15 +13,13 @@ arch: - armv7 ingress: true ingress_port: 0 -panel_icon: mdi:bridge -panel_title: Matter bridges map: - addon_config:rw options: - log_level: info + app_log_level: info disable_log_colors: false mdns_network_interface: "" schema: - log_level: list(silly|debug|info|warn|error) + app_log_level: list(silly|debug|info|warn|error) disable_log_colors: bool mdns_network_interface: "str?" diff --git a/hamh_test/docker-entrypoint.sh b/hamh_test/docker-entrypoint.sh index 51712a8..cb97052 100644 --- a/hamh_test/docker-entrypoint.sh +++ b/hamh_test/docker-entrypoint.sh @@ -1,9 +1,14 @@ #!/usr/bin/with-contenv bashio +bashio::addon.config +echo "" +bashio::addon.ingress_port +echo "" + home-assistant-matter-hub start \ - --log-level=$(bashio::config 'log_level') \ + --log-level=$(bashio::config 'app_log_level') \ --disable-log-colors=$(bashio::config 'disable_log_colors') \ --storage-location=/config/data \ - --web-port="$(bashio::addon.ingress_port)" \ + --web-port=$(bashio::addon.ingress_port) \ --home-assistant-url='http://supervisor/core' \ --home-assistant-access-token="$SUPERVISOR_TOKEN"