mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Cover: Fix typos and pass payload that matches example (#965)
This commit is contained in:
parent
3d9b83d467
commit
b78348bb67
@ -33,7 +33,7 @@ cover:
|
|||||||
qos: 0
|
qos: 0
|
||||||
retain: true
|
retain: true
|
||||||
payload_open: "PAYLOAD_OPEN"
|
payload_open: "PAYLOAD_OPEN"
|
||||||
payload_close: "PAYLOD__CLOSE"
|
payload_close: "PAYLOAD_CLOSE"
|
||||||
payload_stop: "PAYLOAD_STOP"
|
payload_stop: "PAYLOAD_STOP"
|
||||||
state_open: "STATE_OPEN"
|
state_open: "STATE_OPEN"
|
||||||
state_closed: "STATE_CLOSED"
|
state_closed: "STATE_CLOSED"
|
||||||
@ -60,6 +60,6 @@ Configuration variables:
|
|||||||
For a quick check you can use the commandline tools shipped with `mosquitto` to send MQTT messages. Set the state of your sensor manually:
|
For a quick check you can use the commandline tools shipped with `mosquitto` to send MQTT messages. Set the state of your sensor manually:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mosquitto_pub -h 127.0.0.1 -t home-assistant/cover/set -m "OFF"
|
$ mosquitto_pub -h 127.0.0.1 -t home-assistant/cover/set -m "PAYLOAD_CLOSE"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user