From a2727e77f4cf0241d0874f8f258e59061e7f3130 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Tue, 19 Dec 2023 02:28:02 +0100 Subject: [PATCH] Update deep_sleep instructions Based on changes introduced by esphome/esphome#5666 --- docs/customization.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/customization.md b/docs/customization.md index 8c033a8..e837e49 100644 --- a/docs/customization.md +++ b/docs/customization.md @@ -267,9 +267,16 @@ During this time, nothing will be shown, the screen will be off and therefore no ```yaml # Define the wake-up button. Use pin 14 for left button or pin 27 for right button deep_sleep: - wakeup_pin: 14 + wakeup_pin: + number: 14 + allow_other_uses: true wakeup_pin_mode: INVERT_WAKEUP +binary_sensor: + - id: !extend left_button + pin: + allow_other_uses: true + time: - id: !extend time_provider on_time: