bump to next 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.14.0-dev-2505312055
|
version: 0.14.0-dev-2505312102
|
||||||
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
|
||||||
|
|||||||
@@ -6,17 +6,17 @@ bashio::cache.flush_all
|
|||||||
bashio::log "run.sh: info: check for Home Assistant Supervisor API"
|
bashio::log "run.sh: info: check for Home Assistant Supervisor API"
|
||||||
MQTT_HOST=""
|
MQTT_HOST=""
|
||||||
if bashio::supervisor.ping; then
|
if bashio::supervisor.ping; then
|
||||||
bashio::log "run.sh: info: check for Home Assistant MQTT"
|
bashio::log "run.sh: info: check for Home Assistant MQTT service"
|
||||||
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")
|
||||||
MQTT_USER=$(bashio::services mqtt "username")
|
MQTT_USER=$(bashio::services mqtt "username")
|
||||||
MQTT_PASSWORD=$(bashio::services mqtt "password")
|
MQTT_PASSWORD=$(bashio::services mqtt "password")
|
||||||
else
|
else
|
||||||
bashio::log.yellow "run.sh: info: Home Assistant service MQTT not available!"
|
bashio::log.yellow "run.sh: info: Home Assistant MQTT service not available!"
|
||||||
fi
|
fi
|
||||||
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
|
||||||
|
|
||||||
# if a MQTT was/not found, drop a note
|
# if a MQTT was/not found, drop a note
|
||||||
|
|||||||
Reference in New Issue
Block a user