diff --git a/components/deep_sleep.rst b/components/deep_sleep.rst index 9516524ab..144bb337e 100644 --- a/components/deep_sleep.rst +++ b/components/deep_sleep.rst @@ -97,9 +97,20 @@ This action makes the given deep sleep component enter deep sleep immediately. id: deep_sleep_1 sleep_duration: 20min + + # ESP32 can sleep until a specific time of day. + on_...: + then: + - deep_sleep.enter: + id: deep_sleep_1 + until: "16:00:00" + time_id: sntp_id + Configuration options: - **sleep_duration** (*Optional*, :ref:`templatable `, :ref:`config-time`): The time duration to stay in deep sleep mode. +- **until** (*Optional*, string): The time of day to wake up. Only on ESP32. +- **time_id** (*Optional*, :ref:`config-id`): The ID of the time component to use for the ``until`` option. Only on ESP32. .. _deep_sleep-prevent_action: