bump to next test version

This commit is contained in:
Stefan Allius
2025-06-21 12:45:11 +02:00
parent 67d6286326
commit cf803bdba0
2 changed files with 9 additions and 1 deletions

View File

@@ -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-2506211210 version: 0.15.0-dev-2506211244
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

View File

@@ -4,6 +4,7 @@ bashio::log.blue "-----------------------------------------------------------"
bashio::log.blue "run.sh: info: setup Add-on environment" bashio::log.blue "run.sh: info: setup Add-on environment"
bashio::cache.flush_all bashio::cache.flush_all
MQTT_HOST="" MQTT_HOST=""
SLUG=""
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 for Home Assistant MQTT service"
if bashio::services.available mqtt; then if bashio::services.available mqtt; then
@@ -14,6 +15,13 @@ 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
SLUG=$(bashio::addon.repository)
if [ -z "$SLUG" ]; then
bashio::log.yellow "run.sh: info: found addon slug: $SLUG"
fi
else
else 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