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-2506211329
|
version: 0.15.0-dev-2506211338
|
||||||
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
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MQTT_HOST=""
|
|||||||
SLUG=""
|
SLUG=""
|
||||||
HOSTNAME=""
|
HOSTNAME=""
|
||||||
if bashio::supervisor.ping; then
|
if bashio::supervisor.ping; then
|
||||||
bashio::log "run.sh: info: check for Home Assistant MQTT service"
|
bashio::log "run.sh: info: check Home Assistant bashio for configuration values"
|
||||||
if bashio::services.available mqtt; then
|
if bashio::services.available mqtt; then
|
||||||
MQTT_HOST=$(bashio::services mqtt "host")
|
MQTT_HOST=$(bashio::services mqtt "host")
|
||||||
MQTT_PORT=$(bashio::services mqtt "port")
|
MQTT_PORT=$(bashio::services mqtt "port")
|
||||||
@@ -16,7 +16,6 @@ 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 "run.sh: info: check for slug and hostname"
|
|
||||||
SLUG=$(bashio::addon.repository)
|
SLUG=$(bashio::addon.repository)
|
||||||
HOSTNAME=$(bashio::addon.hostname)
|
HOSTNAME=$(bashio::addon.hostname)
|
||||||
else
|
else
|
||||||
@@ -41,7 +40,7 @@ fi
|
|||||||
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"
|
||||||
else
|
else
|
||||||
bashio::log.green "run.sh: info: MQTT config found"
|
bashio::log.green "run.sh: info: found MQTT config"
|
||||||
export MQTT_HOST
|
export MQTT_HOST
|
||||||
export MQTT_PORT
|
export MQTT_PORT
|
||||||
export MQTT_USER
|
export MQTT_USER
|
||||||
|
|||||||
Reference in New Issue
Block a user