Capitalised name(s) (#1421)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
David Martin 2021-08-25 16:21:15 +01:00 committed by GitHub
parent 1fd0f6bc48
commit f4ca78519c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -2,10 +2,10 @@ Template Select
===============
.. seo::
:description: Instructions for setting up template selects with ESPHome.
:description: Instructions for setting up Template Select(s) with ESPHome.
:image: description.png
The ``template`` select platform allows you to create a select with templated values
The ``template`` Select platform allows you to create a Select with templated values
using :ref:`lambdas <config-lambda>`.
.. code-block:: yaml
@ -25,16 +25,16 @@ using :ref:`lambdas <config-lambda>`.
Configuration variables:
------------------------
- **name** (**Required**, string): The name of the select.
- **options** (**Required**, list): The list of options this select has.
- **name** (**Required**, string): The name of the Select.
- **options** (**Required**, list): The list of options this Select has.
- **lambda** (*Optional*, :ref:`lambda <config-lambda>`):
Lambda to be evaluated every update interval to get the new option of the select.
Lambda to be evaluated every update interval to get the new option of the Select.
- **set_action** (*Optional*, :ref:`Action <config-action>`): The action that should
be performed when the remote (like Home Assistant's frontend) requests to set the select option.
be performed when the remote (like Home Assistant's frontend) requests to set the Select option.
- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the
select ``lambda``. Defaults to ``60s``.
Select ``lambda``. Defaults to ``60s``.
- **optimistic** (*Optional*, boolean): Whether to operate in optimistic mode - when in this mode,
any command sent to the template select will immediately update the reported state.
any command sent to the Template Select will immediately update the reported state.
Cannot be used with ``lambda``. Defaults to ``false``.
- **restore_value** (*Optional*, boolean): Saves and loads the state to RTC/Flash.
Cannot be used with ``lambda``. Defaults to ``false``.
@ -47,7 +47,7 @@ Configuration variables:
``select.set`` Action
----------------------------------
You can also set an option to a template select from elsewhere in your YAML file
You can also set an option to a Template Select from elsewhere in your YAML file
with the :ref:`select-set_action`.
See Also