bump to next test version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: TSUN-Proxy (Dev)
|
name: TSUN-Proxy (Dev)
|
||||||
description: MQTT Proxy for TSUN Photovoltaic Inverters
|
description: MQTT Proxy for TSUN Photovoltaic Inverters
|
||||||
version: 0.15.0-dev-2506211253
|
version: 0.15.0-dev-2506211258
|
||||||
image: docker.io/sallius/tsun-gen3-addon
|
image: docker.io/sallius/tsun-gen3-addon
|
||||||
url: https://github.com/s-allius/tsun-gen3-proxy
|
url: https://github.com/s-allius/tsun-gen3-proxy
|
||||||
slug: tsun-proxy-dev
|
slug: tsun-proxy-dev
|
||||||
|
|||||||
@@ -15,12 +15,8 @@ if bashio::supervisor.ping; then
|
|||||||
else
|
else
|
||||||
bashio::log.yellow "run.sh: info: Home Assistant MQTT service not available!"
|
bashio::log.yellow "run.sh: info: Home Assistant MQTT service not available!"
|
||||||
fi
|
fi
|
||||||
bashio::log.yellow "run.sh: info: check for slug"
|
bashio::log "run.sh: info: check for slug"
|
||||||
SLUG=$(bashio::addon.repository)
|
SLUG=$(bashio::addon.repository)
|
||||||
if [ -z "$SLUG" ]; then
|
|
||||||
bashio::log.yellow "run.sh: info1: found addon slug: $SLUG"
|
|
||||||
fi
|
|
||||||
bashio::log.yellow "run.sh: info2: found addon slug: $SLUG"
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
||||||
@@ -28,6 +24,13 @@ else
|
|||||||
bashio::log.red "run.sh: error: Home Assistant Supervisor API not available!"
|
bashio::log.red "run.sh: error: Home Assistant Supervisor API not available!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$SLUG" ]; then
|
||||||
|
bashio::log.yellow "run.sh: info: addon slug not found"
|
||||||
|
else
|
||||||
|
bashio::log.green "run.sh: info: found addon slug: $SLUG"
|
||||||
|
export SLUG
|
||||||
|
fi
|
||||||
|
|
||||||
# if a MQTT was/not found, drop a note
|
# if a MQTT was/not found, drop a note
|
||||||
if [ -z "$MQTT_HOST" ]; then
|
if [ -z "$MQTT_HOST" ]; then
|
||||||
bashio::log.yellow "run.sh: info: MQTT config not found"
|
bashio::log.yellow "run.sh: info: MQTT config not found"
|
||||||
|
|||||||
Reference in New Issue
Block a user