Skip to content

Commit

Permalink
Merge branch 'next' of github.com:pbkhrv/rtl_433-hass-addons into next
Browse files Browse the repository at this point in the history
  • Loading branch information
unverbraucht committed Jul 29, 2023
2 parents 326c099 + 4b30bc6 commit dbe9433
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rtl_433/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [unreleased] - YYYY-MM-DD

* Fix wrong retain value when setting in mqtt connection string #149 by @cserem

## [0.4.0] - 2023-02-08

* Update rtl_433 to the 22.11 release.
Expand Down
3 changes: 3 additions & 0 deletions rtl_433/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ if bashio::services.available "mqtt"; then
port=$(bashio::services "mqtt" "port")
username=$(bashio::services "mqtt" "username")
retain=$(bashio::config "retain")
if [ "$retain" = "true" ] ; then
retain=1
fi
else
bashio::log.info "The mqtt addon is not available."
bashio::log.info "Manually update the output line in the configuration file with mqtt connection settings, and restart the addon."
Expand Down

0 comments on commit dbe9433

Please sign in to comment.