mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Fix doc for template cover regarding position_action and has_position (#3762)
* Update template.rst * Update template.rst
This commit is contained in:
parent
c998495c7f
commit
9a3ed01c9b
@ -62,7 +62,6 @@ Configuration variables:
|
||||
of hiding one of them. Defaults to ``false``.
|
||||
- **has_position** (*Optional*, boolean): Whether this cover will publish its position as a floating point number.
|
||||
By default (``false``), the cover only publishes OPEN/CLOSED position.
|
||||
Parameter useless if you set the POSITION_ACTION (is set to TRUE).
|
||||
- **tilt_action** (*Optional*, :ref:`Action <config-action>`): The action that should
|
||||
be performed when the remote (like Home Assistant's frontend) requests the cover be set to a specific
|
||||
tilt position. The desired tilt is available in the lambda in the ``tilt`` variable.
|
||||
@ -71,6 +70,7 @@ Configuration variables:
|
||||
- **position_action** (*Optional*, :ref:`Action <config-action>`): The action that should
|
||||
be performed when the remote (like Home Assistant's frontend) requests the cover be set to a specific
|
||||
position. The desired position is available in the lambda in the ``pos`` variable.
|
||||
Useless if `has_position` is not set to ``true``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Cover <config-cover>`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user