bump to next test version

This commit is contained in:
Stefan Allius
2025-05-31 18:33:33 +02:00
parent 0686718ea8
commit f06bc093d8
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
name: TSUN-Proxy (Dev)
description: MQTT Proxy for TSUN Photovoltaic Inverters
version: 0.14.0-dev-2505311826
version: 0.14.0-dev-2505311831
image: docker.io/sallius/tsun-gen3-addon
url: https://github.com/s-allius/tsun-gen3-proxy
slug: tsun-proxy-dev

View File

@@ -3,6 +3,7 @@
echo "Add-on environment started"
bashio::cache.flush_all
echo "check for Home Assistant supervisor API"
MQTT_HOST=""
if bashio::supervisor.ping; then
echo "check for Home Assistant MQTT"
if bashio::services mqtt; then
@@ -10,6 +11,8 @@ if bashio::supervisor.ping; then
MQTT_PORT=$(bashio::services mqtt "port")
MQTT_USER=$(bashio::services mqtt "username")
MQTT_PASSWORD=$(bashio::services mqtt "password")
else
echo "error Home Assistant service MQTT not available!"
fi
else
echo "error Home Assistant supervisor API not available!"