Skip to content

Add missing pressure units to the atmospheric_pressure device class - #47644

Open
Bre77 wants to merge 1 commit into
home-assistant:currentfrom
Bre77:fm/docs-pressure-units-sync
Open

Add missing pressure units to the atmospheric_pressure device class#47644
Bre77 wants to merge 1 commit into
home-assistant:currentfrom
Bre77:fm/docs-pressure-units-sync

Conversation

@Bre77

@Bre77 Bre77 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Proposed change

The documented unit list for the atmospheric_pressure device class is missing two units it accepts.

atmospheric_pressure and pressure both take their valid units from set(UnitOfPressure), so the same units are valid for both, but the atmospheric_pressure bullet omits mPa and inH₂O. This brings it into line with the pressure bullet in the same files, which already lists the full set.

Related: home-assistant/developers.home-assistant#3316

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

@home-assistant home-assistant Bot added in-progress This PR/Issue is currently being worked on needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch next This PR goes into the next branch labels Aug 27, 2026
@home-assistant

Copy link
Copy Markdown

It seems that this PR is targeted against an incorrect branch. Documentation updates which apply to our current stable release should target the current branch. Please change the target branch of this PR to current and rebase if needed. If this is documentation for a new feature, please add a link to that PR in your description.

@netlify

netlify Bot commented Aug 27, 2026

Copy link
Copy Markdown

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 47ac961
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/6a8f7e562703d1000937820d
😎 Deploy Preview https://deploy-preview-47644--home-assistant-docs.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.

@Bre77
Bre77 changed the base branch from next to current August 27, 2026 00:00
@home-assistant home-assistant Bot removed next This PR goes into the next branch needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch labels Aug 27, 2026
@home-assistant home-assistant Bot added the current This PR goes into the current branch label Aug 27, 2026
@Bre77
Bre77 changed the base branch from current to next August 27, 2026 00:00
@home-assistant home-assistant Bot removed the current This PR goes into the current branch label Aug 27, 2026
@home-assistant home-assistant Bot added needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch next This PR goes into the next branch labels Aug 27, 2026
@home-assistant

Copy link
Copy Markdown

It seems that this PR is targeted against an incorrect branch. Documentation updates which apply to our current stable release should target the current branch. Please change the target branch of this PR to current and rebase if needed. If this is documentation for a new feature, please add a link to that PR in your description.

@Bre77
Bre77 force-pushed the fm/docs-pressure-units-sync branch from cfdc3cf to 47ac961 Compare August 27, 2026 00:01
@Bre77
Bre77 changed the base branch from next to current August 27, 2026 00:01
@home-assistant home-assistant Bot removed next This PR goes into the next branch needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch labels Aug 27, 2026
@home-assistant home-assistant Bot added current This PR goes into the current branch has-parent This PR has a parent PR in another repo labels Aug 27, 2026
@Bre77
Bre77 marked this pull request as ready for review August 27, 2026 00:15
Copilot AI lite review requested due to automatic review settings August 27, 2026 00:15
@Bre77
Bre77 requested review from a team and Shulyaka as code owners August 27, 2026 00:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the sensor and number integration documentation so the atmospheric_pressure device class lists the same supported units as the underlying UnitOfPressure set (and as the already-documented pressure device class), fixing an omission in the unit list.

Changes:

  • Add the missing supported units (mPa and inH₂O) to the documented atmospheric_pressure device class unit list.
  • Align the atmospheric_pressure unit list ordering/content with the existing pressure device class unit list in the same pages.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
source/_integrations/sensor.markdown Updates the atmospheric_pressure device class bullet to include mPa and inH₂O, matching the documented pressure units.
source/_integrations/number.markdown Updates the atmospheric_pressure device class bullet to include mPa and inH₂O, matching the documented pressure units.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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

Labels

current This PR goes into the current branch has-parent This PR has a parent PR in another repo in-progress This PR/Issue is currently being worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants