Skip to content

Commit

Permalink
HA log level to uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
dianlight committed Jan 10, 2024
1 parent 6b9d945 commit d97868a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sambanas/rootfs/etc/s6-overlay/s6-rc.d/mqtt-handler/run
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ -f /root/.config/mosquitto_pub ]; then

log_level=$(bashio::string.lower "$(bashio::config log_level info)")

exec /usr/bin/python /usr/local/bin/mqtt_daemon.py -b $host -p $port -u $username -P $password -t $topic -v $(bashio::addon.version) -L $log_level
exec /usr/bin/python /usr/local/bin/mqtt_daemon.py -b $host -p $port -u $username -P $password -t $topic -v $(bashio::addon.version) -L ${log_level^^}
else
bashio::log.info "MQTT integration"

Expand Down

0 comments on commit d97868a

Please sign in to comment.