bump to next test verion

This commit is contained in:
Stefan Allius
2025-05-31 18:22:55 +02:00
parent 4c4c4e4243
commit d326a9e57d
2 changed files with 11 additions and 6 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.14.0-dev-2505311801 version: 0.14.0-dev-2505311821
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

@@ -2,11 +2,16 @@
echo "Add-on environment started" echo "Add-on environment started"
bashio::cache.flush_all bashio::cache.flush_all
echo "check for Home Assistant MQTT" echo "check for Home Assistant supervisor API"
MQTT_HOST=$(bashio::services mqtt "host") if bashio::supervisor.ping; then
MQTT_PORT=$(bashio::services mqtt "port") echo "check for Home Assistant MQTT"
MQTT_USER=$(bashio::services mqtt "username") MQTT_HOST=$(bashio::services mqtt "host")
MQTT_PASSWORD=$(bashio::services mqtt "password") MQTT_PORT=$(bashio::services mqtt "port")
MQTT_USER=$(bashio::services mqtt "username")
MQTT_PASSWORD=$(bashio::services mqtt "password")
else
echo "error Home Assistant supervisor API not available!"
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