Update run

This commit is contained in:
habuild 2022-11-27 03:38:19 +11:00 committed by GitHub
parent bf8b749805
commit d6c1a5b668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,12 +22,6 @@ bashio::log.info
bashio::log.info ${__BASHIO_COLORS_CYAN} "${message:="Hello World..."}"
bashio::log.info
# ---- Print Host BT Controller
message=$(echo "[Host Bluetooth MAC Address] $(bluetoothctl list)")
bashio::log.info
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:="Hello World..."}"
bashio::log.info
#set -x
var="$(jq --raw-output '.Sensors_HA' $CONFIG_PATH)"
@ -54,6 +48,11 @@ value=$(bashio::config 'Connection_Type')
if bashio::var.equals "${value}" "Bluetooth"; then
/usr/bin/sbfspot/genBluetoothConfig.sh /usr/bin/sbfspot/SBFspot.cfg /usr/bin/sbfspot/SBFspotUpload.cfg
bashio::log.info
# ---- Print Host BT Controller
message=$(echo "[Host Bluetooth MAC Address] $(bluetoothctl list)")
bashio::log.info
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:="Hello World..."}"
bashio::log.info
bashio::log.info
message=$(echo "|| Generating Bluetooth Configs ||")
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:=""}"