mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Added example message for publishing client (#671)
This commit is contained in:
parent
d9c0c2f9c3
commit
ee7b42ca67
@ -31,3 +31,12 @@ Configuration variables:
|
|||||||
- **devices** (*Required*): List of devices with their topic.
|
- **devices** (*Required*): List of devices with their topic.
|
||||||
- **qos** (*Optional*): The QoS level of the topic.
|
- **qos** (*Optional*): The QoS level of the topic.
|
||||||
|
|
||||||
|
|
||||||
|
Example JSON you can publish to the topic (e.g. via mqtt.publish service):
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"topic": "/location/paulus",
|
||||||
|
"payload": "home"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user