mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Fix MQTT cover rebase error (#18007)
This commit is contained in:
parent
110f5f8e90
commit
09c0d7cdb7
@ -567,25 +567,6 @@ cover:
|
|||||||
payload_stop: "on"
|
payload_stop: "on"
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endraw %}
|
|
||||||
The following commands can be disabled: `open`, `close`, `stop` by overriding their payloads: `payload_open`, `payload_close`, `payload_stop`
|
|
||||||
|
|
||||||
For auto discovery message the payload needs to be set to `null`, example for cover without close command:
|
|
||||||
{% raw %}
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"cover": [
|
|
||||||
{
|
|
||||||
"platform": "mqtt",
|
|
||||||
"payload_open": "on",
|
|
||||||
"payload_close": null,
|
|
||||||
"payload_stop": "on"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
### Testing your configuration
|
### Testing your configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user