mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
deep_sleep.allow docs (#2066)
This commit is contained in:
parent
c51c935bf0
commit
9805f81b51
@ -159,6 +159,19 @@ Useful for keeping the ESP active during data transfer or OTA updating (See note
|
||||
then:
|
||||
- deep_sleep.enter: deep_sleep_1
|
||||
|
||||
.. _deep_sleep-allow_action:
|
||||
|
||||
``deep_sleep.allow`` Action
|
||||
-----------------------------
|
||||
|
||||
This action allows the given deep sleep component to enter deep sleep, after previously being prevented.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
on_...:
|
||||
then:
|
||||
- deep_sleep.allow: deep_sleep_1
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
|
@ -366,7 +366,7 @@ All Actions
|
||||
:ref:`cover.control <cover-control_action>`
|
||||
- :ref:`fan.toggle <fan-toggle_action>` / :ref:`fan.turn_off <fan-turn_off_action>` / :ref:`fan.turn_on <fan-turn_on_action>`
|
||||
- :ref:`output.turn_off <output-turn_off_action>` / :ref:`output.turn_on <output-turn_on_action>` / :ref:`output.set_level <output-set_level_action>`
|
||||
- :ref:`deep_sleep.enter <deep_sleep-enter_action>` / :ref:`deep_sleep.prevent <deep_sleep-prevent_action>`
|
||||
- :ref:`deep_sleep.enter <deep_sleep-enter_action>` / :ref:`deep_sleep.prevent <deep_sleep-prevent_action>` / :ref:`deep_sleep.allow <deep_sleep-allow_action>`
|
||||
- :ref:`sensor.template.publish <sensor-template-publish_action>` / :ref:`binary_sensor.template.publish <binary_sensor-template-publish_action>`
|
||||
/ :ref:`cover.template.publish <cover-template-publish_action>` / :ref:`switch.template.publish <switch-template-publish_action>`
|
||||
/ :ref:`text_sensor.template.publish <text_sensor-template-publish_action>`
|
||||
|
Loading…
Reference in New Issue
Block a user