Skip to content

[safe_mode] Document the storage option#6822

Open
bootc wants to merge 1 commit into
esphome:nextfrom
bootc:safe_mode-storage-option
Open

[safe_mode] Document the storage option#6822
bootc wants to merge 1 commit into
esphome:nextfrom
bootc:safe_mode-storage-option

Conversation

@bootc

@bootc bootc commented Jun 21, 2026

Copy link
Copy Markdown

Description

Documents the new storage option for the safe_mode component, which
selects where the boot-attempt counter is persisted: flash (durable, minor flash wear) or rtc (survives reboots and
deep sleep but not power loss, avoids flash wear). Defaults preserve existing behavior (flash on ESP32, rtc on
ESP8266); rtc is rejected on platforms without RTC-backed storage.

Related issue (if applicable): N/A

Pull request in esphome with YAML changes (if applicable):

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 /src/content/docs/components/index.mdx when creating new documents for new components or cookbook.

Document the new `storage` option for choosing where the safe-mode
boot-attempt counter is persisted (flash or RTC memory), matching
esphome/esphome#17073.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 21, 2026

Copy link
Copy Markdown

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit f0fea50
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/6a37f300b4fae3000890e27c
😎 Deploy Preview https://deploy-preview-6822--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant