mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Add cover topics configuration (#1518)
This commit is contained in:
parent
5f0f796387
commit
f551da1b6d
@ -40,7 +40,19 @@ Advanced options:
|
||||
- **disabled_by_default** (*Optional*, boolean): If true, then this entity should not be added to any client's frontend,
|
||||
(usually Home Assistant) without the user manually enabling it (via the Home Assistant UI).
|
||||
Requires Home Assistant 2021.9 or newer. Defaults to ``false``.
|
||||
- If MQTT enabled, all other options from :ref:`MQTT Component <config-mqtt-component>`.
|
||||
|
||||
MQTT options:
|
||||
|
||||
- **position_state_topic** (*Optional*, string): The topic to publish
|
||||
cover position changes to.
|
||||
- **position_command_topic** (*Optional*, string): The topic to receive
|
||||
cover position commands on.
|
||||
- **tilt_state_topic** (*Optional*, string): The topic to publish cover
|
||||
cover tilt state changes to.
|
||||
- **tilt_command_topic** (*Optional*, string): The topic to receive
|
||||
cover tilt commands on.
|
||||
- All other options from :ref:`MQTT Component <config-mqtt-component>`.
|
||||
|
||||
|
||||
.. _cover-open_action:
|
||||
|
||||
@ -195,7 +207,7 @@ fields are read-only, if you want to act on the cover, use the ``make_call()`` m
|
||||
} else {
|
||||
// Cover is in-between open and closed
|
||||
}
|
||||
|
||||
|
||||
- ``tilt``: Retrieve the current tilt position of the cover, as a value between ``0.0`` and ``1.0``.
|
||||
|
||||
- ``current_operation``: The operation the cover is currently performing:
|
||||
|
Loading…
Reference in New Issue
Block a user