Skip to content

Commit

Permalink
chore: update test-addon
Browse files Browse the repository at this point in the history
  • Loading branch information
t0bst4r committed Nov 28, 2024
1 parent 8dd4a64 commit 449a008
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hamh_test/build.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
args:
package_version: "3.0.0-alpha.33"
package_version: "3.0.0-alpha.40"
8 changes: 3 additions & 5 deletions hamh_test/config.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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?"
9 changes: 7 additions & 2 deletions hamh_test/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 449a008

Please sign in to comment.