bump to next test verion
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: TSUN-Proxy (Dev)
|
||||
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
|
||||
url: https://github.com/s-allius/tsun-gen3-proxy
|
||||
slug: tsun-proxy-dev
|
||||
|
||||
@@ -2,11 +2,16 @@
|
||||
|
||||
echo "Add-on environment started"
|
||||
bashio::cache.flush_all
|
||||
echo "check for Home Assistant MQTT"
|
||||
MQTT_HOST=$(bashio::services mqtt "host")
|
||||
MQTT_PORT=$(bashio::services mqtt "port")
|
||||
MQTT_USER=$(bashio::services mqtt "username")
|
||||
MQTT_PASSWORD=$(bashio::services mqtt "password")
|
||||
echo "check for Home Assistant supervisor API"
|
||||
if bashio::supervisor.ping; then
|
||||
echo "check for Home Assistant MQTT"
|
||||
MQTT_HOST=$(bashio::services mqtt "host")
|
||||
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 [ -z "$MQTT_HOST" ]; then
|
||||
|
||||
Reference in New Issue
Block a user