Add sleep duration to enter deep sleep action (#995)

This commit is contained in:
Chris Nussbaum 2021-02-15 11:32:07 -06:00 committed by GitHub
parent 1c678f4993
commit 79adb2253f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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: