mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Add qos default value (0) to service mqtt.publish (#15420)
6380ebd1eb/homeassistant/components/mqtt/const.py (L25)
This commit is contained in:
parent
2cee84a024
commit
0a5257390e
@ -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'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user