mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
Add MQTT valve subentry support (#41932)
This commit is contained in:
parent
980a3855cd
commit
9942135fd4
@ -138,6 +138,7 @@ MQTT Devices and entities can be set up through [MQTT -discovery](#mqtt-discover
|
||||
- [Siren](/integrations/siren.mqtt/)
|
||||
- [Switch](/integrations/switch.mqtt/)
|
||||
- [Text](/integrations/text.mqtt/)
|
||||
- [Valve](/integrations/valve.mqtt/)
|
||||
|
||||
To add an MQTT device via a Subentry, follow these steps:
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ A valve entity can be have the following states: `open`, `opening`, `closed` or
|
||||
|
||||
If a `state_topic` is configured, the entity's state will be updated only after an MQTT message is received on `state_topic` matching `state_open`, `state_opening`, `state_closed` or `state_closing`. Commands configured through `payload_open`, `payload_closed`, and `payload_stop` will be published to `command_topic` to control the valve.
|
||||
|
||||
To use an MQTT valve in your installation, add the following to your {% term "`configuration.yaml`" %} file.
|
||||
To use an MQTT valve in your installation, [add an MQTT device as a subentry](/integrations/mqtt/#configuration), or add the following to your {% term "`configuration.yaml`" %} file.
|
||||
{% include integrations/restart_ha_after_config_inclusion.md %}
|
||||
|
||||
```yaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user