Add qos default value (0) to service mqtt.publish (#15420)

6380ebd1eb/homeassistant/components/mqtt/const.py (L25)
This commit is contained in:
Ivan Bessarabov 2020-11-07 14:16:34 +03:00 committed by GitHub
parent 2cee84a024
commit 0a5257390e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ The MQTT integration will register the service `mqtt.publish` which allows publi
| `topic` | no | Topic to publish payload to.
| `payload` | yes | Payload to publish.
| `payload_template` | yes | Template to render as payload value. Ignored if payload given.
| `qos` | yes | Quality of Service to use.
| `qos` | yes | Quality of Service to use. (default: 0)
| `retain` | yes | If message should have the retain flag set. (default: false)
<div class='note'>