bump to next test version
This commit is contained in:
@@ -6,6 +6,7 @@ bashio::cache.flush_all
|
||||
MQTT_HOST=""
|
||||
SLUG=""
|
||||
HOSTNAME=""
|
||||
ADDONNAME=""
|
||||
if bashio::supervisor.ping; then
|
||||
bashio::log "run.sh: info: check Home Assistant bashio for config values"
|
||||
if bashio::services.available mqtt; then
|
||||
@@ -17,7 +18,8 @@ if bashio::supervisor.ping; then
|
||||
bashio::log.yellow "run.sh: info: Home Assistant MQTT service not available!"
|
||||
fi
|
||||
SLUG=$(bashio::addon.repository)
|
||||
HOSTNAME=$(bashio::addon.hostname)
|
||||
ADDONNAME=$(bashio::addon.hostname)
|
||||
HOSTNAME=$(bashio::host.hostname)
|
||||
else
|
||||
bashio::log.red "run.sh: error: Home Assistant Supervisor API not available!"
|
||||
fi
|
||||
@@ -30,12 +32,19 @@ else
|
||||
|
||||
fi
|
||||
if [ -z "$HOSTNAME" ]; then
|
||||
bashio::log.yellow "run.sh: info: addon hostname not found"
|
||||
bashio::log.yellow "run.sh: info: hostname not found"
|
||||
else
|
||||
bashio::log.green "run.sh: info: found hostname: $HOSTNAME"
|
||||
export HOSTNAME
|
||||
fi
|
||||
|
||||
if [ -z "$ADDONNAME" ]; then
|
||||
bashio::log.yellow "run.sh: info: addon name not found"
|
||||
else
|
||||
bashio::log.green "run.sh: info: found hostname: $ADDONNAME"
|
||||
export ADDONNAME
|
||||
fi
|
||||
|
||||
# if a MQTT was/not found, drop a note
|
||||
if [ -z "$MQTT_HOST" ]; then
|
||||
bashio::log.yellow "run.sh: info: MQTT config not found"
|
||||
|
||||
Reference in New Issue
Block a user