Skip to content

Document config-hash command#6412

Open
ccutrer wants to merge 1 commit intoesphome:nextfrom
ccutrer:config-hash-command
Open

Document config-hash command#6412
ccutrer wants to merge 1 commit intoesphome:nextfrom
ccutrer:config-hash-command

Conversation

@ccutrer
Copy link
Copy Markdown
Contributor

@ccutrer ccutrer commented Apr 8, 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.
    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.

Copilot AI review requested due to automatic review settings April 8, 2026 01:49
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 8, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 05166b6
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/69d5b41dbe6ccd00080f7e0f
😎 Deploy Preview https://deploy-preview-6412--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
Copy Markdown
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

Documents the new esphome config-hash CLI command so users can compute and compare a configuration hash against a running device.

Changes:

  • Added a new config-hash command section to the CLI guide.
  • Linked the comparison workflow to the Version Text Sensor documentation.

### `config-hash` Command

The `esphome config-hash <CONFIG>` loads the configuration and calculates the hash that you can compare
against the hash from the [Version Text Sensor](/components/text_sensor/version/) on a running device.
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

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

Wording here is a bit ambiguous about where the “hash from the Version Text Sensor” comes from. The version text sensor exposes the config hash as part of its state string and it can be suppressed with hide_hash; it would be clearer to mention that the value to compare is the config hash shown in the Version text sensor output (and that it won’t be present if hide_hash: true).

Suggested change
against the hash from the [Version Text Sensor](/components/text_sensor/version/) on a running device.
against the config hash shown in the output of the [Version Text Sensor](/components/text_sensor/version/)
on a running device. If the Version Text Sensor is configured with `hide_hash: true`, that hash will not
be present in the sensor output.

Copilot uses AI. Check for mistakes.
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.

2 participants