Skip to content

[globals] Documentation for RTC support#6068

Open
Rapsssito wants to merge 4 commits intoesphome:nextfrom
Rapsssito:patch-11
Open

[globals] Documentation for RTC support#6068
Rapsssito wants to merge 4 commits intoesphome:nextfrom
Rapsssito:patch-11

Conversation

@Rapsssito
Copy link
Contributor

@Rapsssito Rapsssito commented Feb 12, 2026

Description:

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.

@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 277b9c5
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/698de0d72575df0008ac1be1
😎 Deploy Preview https://deploy-preview-6068--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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds/updates documentation for using globals with RTC-backed persistence, clarifying how restore_value behaves and providing an example configuration.

Changes:

  • Expanded the intro to mention retaining globals across resets/deep sleep.
  • Added a YAML example showing restore_value: RTC.
  • Updated type/restore_value option descriptions to include RTC-related constraints and behavior.
Comments suppressed due to low confidence (1)

content/components/globals.md:30

  • This YAML snippet under the example is not valid as written: then: should be indented under on_...: (and the extra leading space before on_...:/# In an automation should be removed) so users can copy/paste it successfully.
 # In an automation
 on_...:
 then:

Rapsssito and others added 3 commits February 12, 2026 15:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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