Skip to content

Commit

Permalink
feat(mqtt): Let the user decide if mqtt commands should return logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zkygr committed Jan 15, 2024
1 parent 1357881 commit 3a49f62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Available variables are listed below, along with their default values:
tasmota_mqtt_client: ''
tasmota_mqtt_topic: ''
tasmota_mqtt_fulltopic: ''
tasmota_mqtt_no_log: true

If tasmota_user and tasmota password are both non-empty, they will be included in the commands to authenticate access.

Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tasmota_mqtt_port: ''
tasmota_mqtt_client: ''
tasmota_mqtt_topic: ''
tasmota_mqtt_fulltopic: ''
tasmota_mqtt_no_log: true

tasmota_commands: []
# examples:
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
(tasmota_mqtt_user + tasmota_mqtt_password + tasmota_mqtt_host + tasmota_mqtt_port +
tasmota_mqtt_client + tasmota_mqtt_topic + tasmota_mqtt_fulltopic)
| length > 0
no_log: true
no_log: "{{ tasmota_mqtt_no_log }}"

0 comments on commit 3a49f62

Please sign in to comment.