mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-12 20:10:50 +01:00
Add sleep duration to enter deep sleep action (#995)
This commit is contained in:
parent
1c678f4993
commit
79adb2253f
@ -84,6 +84,11 @@ This action makes the given deep sleep component enter deep sleep immediately.
|
||||
on_...:
|
||||
then:
|
||||
- deep_sleep.enter: deep_sleep_1
|
||||
sleep_duration: 20min
|
||||
|
||||
Configuration options:
|
||||
|
||||
- **sleep_duration** (*Optional*, :ref:`config-time`): The time duration to stay in deep sleep mode.
|
||||
|
||||
|
||||
.. _deep_sleep-prevent_action:
|
||||
|
Loading…
Reference in New Issue
Block a user