mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
Cleanup Supervisor service discovery (#73)
This commit is contained in:
parent
554a152a34
commit
7b9b33b7f5
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
|
||||||
# ==============================================================================
|
|
||||||
# Home Assistant Community Add-on: Home Panel
|
|
||||||
# Sends discovery information to Home Assistant.
|
|
||||||
# ==============================================================================
|
|
||||||
declare config
|
|
||||||
|
|
||||||
config=$(\
|
|
||||||
bashio::var.json \
|
|
||||||
host "127.0.0.1" \
|
|
||||||
port "^45158" \
|
|
||||||
)
|
|
||||||
|
|
||||||
if bashio::discovery "home_panel" "${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
|
|
Loading…
Add table
Add a link
Reference in a new issue