Update index.rst to provide missing information on the on_value behavior (#3652)

* Update index.rst to provide missing information on the on_value behavior

The on_value behavior was unclear about what happens when the selected-value is set to the same value as it already was.

* Update components/select/index.rst

Co-authored-by: guillempages <guillempages@users.noreply.github.com>

---------

Co-authored-by: guillempages <guillempages@users.noreply.github.com>
Co-authored-by: H. Árkosi Róbert <robreg@zsurob.hu>
This commit is contained in:
Zynth-dev 2024-03-13 21:16:09 +01:00 committed by GitHub
parent 69dd4c41ee
commit 7696f6e6f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ For more information on using lambdas with select, see :ref:`select-lambda_calls
``on_value``
************
This automation will be triggered when a new value is published. In :ref:`Lambdas <config-lambda>`
This automation will be triggered whenever a value is set/published, even if the value is the same as before. In :ref:`Lambdas <config-lambda>`
you can get the value from the trigger with ``x`` and the index offset of the selected value with ``i``.
.. code-block:: yaml