mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-28 03:41:57 +01:00
Wait until timeout (#1470)
This commit is contained in:
parent
a3854b52da
commit
44a5b1ea8b
@ -578,7 +578,10 @@ a shorthand way of writing a ``while`` action with an empty ``then`` block.)
|
||||
binary_sensor.is_on: some_binary_sensor
|
||||
- logger.log: "Binary sensor is ready"
|
||||
|
||||
Configuration option: A :ref:`Condition <config-condition>`.
|
||||
Configuration variables:
|
||||
|
||||
- **condition** (**Required**): The condition to wait to become true. See :ref:`Conditions <config-condition>`.
|
||||
- **timeout** (*Optional*, :ref:`config-time`): Time to wait before timing out. Defaults to never timing out.
|
||||
|
||||
.. _component-update_action:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user