ESK: add Using Secrets tutorial#782
Conversation
Adds a Tutorials subsection under ESPHome Starter Kit with a guide to using secrets.yaml beyond Wi-Fi: API encryption key, OTA password, web_server auth, MQTT broker/username/password, and fallback hotspot password, each with the secrets.yaml entry and the device YAML reference. Ends with a complete example secrets.yaml.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR adds a new tutorial documenting ESPHome Device Builder's ChangesESPHome Secrets Usage Tutorial
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Adds a new Tutorials subsection under ESPHome Starter Kit, with a first page covering
secrets.yamlbeyond Wi-Fi. The Getting Started page already introducessecrets.yamlfor Wi-Fi only; this tutorial picks up from there and covers the other values most users end up storing.The page walks through:
secrets.yamlis and why to use itesphome-device-builder-click-secrets.gifandesphome-device-builder-secrets.pngassets)!secretsyntaxsecrets.yamlline and the device YAML line side by side for: Wi-Fi, fallback hotspot password, Home Assistant API encryption key, OTA password,web_server:auth, and MQTT broker/username/passwordsecrets.yamlNav now reads:
URL slug:
/tutorials/using-secrets/.Test plan
devSummary by CodeRabbit