Skip to content

Conversation

@tomasvanpottelbergh
Copy link
Contributor

Description:

Add missing ANY_LOW option for esp32_ext1_wakeup modes in deep sleep module. See https://github.com/esphome/esphome/blob/dev/esphome/components/deep_sleep/__init__.py#L158C1-L162C2.

Checklist:

  • I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in /components/index.rst when creating new documents for new components or cookbook.

New Component Images

If you are adding a new component to ESPHome, you can automatically generate a standardized black and white component name image for the documentation.

@esphome esphome bot added the current label Sep 22, 2025
@netlify
Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 416ee10
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/68d3f276e7120600084c1231
😎 Deploy Preview https://deploy-preview-5391--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 22, 2025

Warning

Rate limit exceeded

@swoboda1337 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 15 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 3275c53 and 416ee10.

📒 Files selected for processing (1)
  • content/components/deep_sleep.md (1 hunks)

Walkthrough

Updated documentation for ESP32 EXT1 deep sleep wakeup modes: added the ANY_LOW option and expanded/clarified descriptions for ALL_LOW and ANY_HIGH, including device-specific notes.

Changes

Cohort / File(s) Summary of Changes
Documentation — Deep Sleep EXT1 modes
content/components/deep_sleep.md
Added ANY_LOW wakeup mode and expanded descriptions for ALL_LOW and ANY_HIGH, with notes on device applicability.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • jesserockz

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title accurately and concisely summarizes the primary change: updating esp32_ext1_wakeup modes in the deep_sleep documentation to include the missing ANY_LOW option.
Description Check ✅ Passed The description clearly states the addition of the ANY_LOW option for esp32_ext1_wakeup, links to the implementation reference in the esphome repo, and identifies this as a documentation fix, so it directly relates to the changes in deep_sleep.md.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
content/components/deep_sleep.md (1)

71-72: Minor copyedit: keep wording consistent (“is LOW/HIGH” vs “go/goes”).

Use consistent phrasing across the three modes (e.g., “is LOW/HIGH”) to avoid mixed grammar.

If you prefer to keep the single‑line style, this minimal tweak works:

-  - **mode** (**Required**): The mode to use for the wakeup source. Must be one of `ANY_LOW` (wake up when any
-    pin goes LOW), `ALL_LOW` (wake up when all pins go LOW) or `ANY_HIGH` (wake up when any pin goes HIGH).
+  - **mode** (**Required**): The mode to use for the wakeup source. Must be one of `ANY_LOW` (wake up when any pin is LOW), `ALL_LOW` (wake up when all pins are LOW), or `ANY_HIGH` (wake up when any pin is HIGH).
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2002df4 and 205613d.

📒 Files selected for processing (1)
  • content/components/deep_sleep.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

  • Do not generate or add any sequence diagrams

Files:

  • content/components/deep_sleep.md

@tomasvanpottelbergh tomasvanpottelbergh changed the title Update possible modes for esp32_ext1_wakeup in deep_sleep.md [deep_sleep] Update possible modes for esp32_ext1_wakeup Sep 22, 2025
@swoboda1337 swoboda1337 merged commit cfa1033 into esphome:current Sep 24, 2025
4 checks passed
SimonFischer04 pushed a commit to SimonFischer04/esphome-docs that referenced this pull request Sep 25, 2025
* Update deep_sleep.md

* Clarify modes per variant

* Clean up

---------

Co-authored-by: Jonathan Swoboda <[email protected]>
SimonFischer04 pushed a commit to SimonFischer04/esphome-docs that referenced this pull request Sep 25, 2025
* Update deep_sleep.md

* Clarify modes per variant

* Clean up

---------

Co-authored-by: Jonathan Swoboda <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants