mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
MQTT URL Update
This commit is contained in:
@@ -53,7 +53,9 @@ if [ "${RUNMODE}" = "addon" ]; then
|
||||
MQTTUSER=$(bashio::config "mqtt_user")
|
||||
MQTTPASSWORD=$(bashio::config "mqtt_password")
|
||||
|
||||
if [ $MQTTURL = '<auto_detect>' ] || [ -z $MQTTURL ]; then
|
||||
echo $MQTTURL
|
||||
|
||||
if [ ! -v MQTTURL ] || [ $MQTTURL = '<auto_detect>' ]; then
|
||||
if [ $MQTTHOST = '<auto_detect>' ]; then
|
||||
if bashio::services.available 'mqtt'; then
|
||||
MQTTHOST=$(bashio::services mqtt "host")
|
||||
|
Reference in New Issue
Block a user