删除 'Dockerfile'

This commit is contained in:
2025-11-08 12:31:02 +00:00
committed by admin@cnod.net
parent d8f8c259d8
commit 8f7c0da3b7
19 changed files with 722 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/with-contenv bashio
# vim: ft=bash
# shellcheck shell=bash
# ==============================================================================
# Send matter discovery information to Home Assistant
# ==============================================================================
declare ha_config
# Prepare discovery payload
ha_config=$(\
bashio::var.json \
host "$(hostname)" \
port "^5580" \
)
if bashio::discovery "matter" "${ha_config}" > /dev/null; then
bashio::log.info "Successfully send discovery information to Home Assistant."
else
bashio::log.error "Discovery message to Home Assistant failed!"
fi